|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.l2fprod.common.swing.DefaultFontChooserModel
public class DefaultFontChooserModel
Default implementation of the FontChooserModel. It returns all available fonts and commonly used font sizes.
| Field Summary | |
|---|---|
static int[] |
DEFAULT_FONT_SIZES
|
protected java.lang.String[] |
fontFamilies
|
| Constructor Summary | |
|---|---|
DefaultFontChooserModel()
|
|
| 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. |
void |
setCharSets(java.lang.String[] charSets)
|
void |
setDefaultFontSizes(int[] defaultFontSizes)
|
void |
setFontFamilies(java.lang.String[] fontFamilies)
|
void |
setPreviewMessage(java.lang.String previewMessage)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int[] DEFAULT_FONT_SIZES
protected java.lang.String[] fontFamilies
| Constructor Detail |
|---|
public DefaultFontChooserModel()
| Method Detail |
|---|
public void setFontFamilies(java.lang.String[] fontFamilies)
public java.lang.String[] getFontFamilies(java.lang.String charSetName)
FontChooserModel
getFontFamilies in interface FontChooserModelcharSetName - not used yetpublic void setDefaultFontSizes(int[] defaultFontSizes)
public int[] getDefaultSizes()
FontChooserModel
getDefaultSizes in interface FontChooserModelpublic void setCharSets(java.lang.String[] charSets)
public java.lang.String[] getCharSets()
FontChooserModelCharset.
getCharSets in interface FontChooserModelpublic void setPreviewMessage(java.lang.String previewMessage)
public java.lang.String getPreviewMessage(java.lang.String charSetName)
FontChooserModel
getPreviewMessage in interface FontChooserModel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||