com.l2fprod.common.swing
Interface FontChooserModel

All Known Implementing Classes:
DefaultFontChooserModel, MonospacedFontChooserModel

public interface FontChooserModel

Data model used by FontChooser.


Method Summary
 java.lang.String[] getCharSets()
          Gets the available CharSet names Charset.
 int[] getDefaultSizes()
          Gets the default sizes to propose to the end-user
 java.lang.String[] getFontFamilies(java.lang.String charSetName)
          Gets the available fonts for the given charset
 java.lang.String getPreviewMessage(java.lang.String charSetName)
          Gets the localized message to use in the Preview area for the given charset.
 

Method Detail

getFontFamilies

java.lang.String[] getFontFamilies(java.lang.String charSetName)
Gets the available fonts for the given charset

Parameters:
charSetName - not used yet

getDefaultSizes

int[] getDefaultSizes()
Gets the default sizes to propose to the end-user


getCharSets

java.lang.String[] getCharSets()
Gets the available CharSet names Charset.

Returns:
the available CharSet names

getPreviewMessage

java.lang.String getPreviewMessage(java.lang.String charSetName)
Gets the localized message to use in the Preview area for the given charset.

Parameters:
charSetName -
Returns:
a localized message for the Preview area.