|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Central access point for all layout styles. Each style has one method for the default style, and one for looking up styles by name. None of these methods should return null. Every method of every returned style should fall back on a sane default value if the requested property is not defined.
| Method Summary | |
java.awt.Color |
findColor(java.lang.String colorName)
Returns a Color object corresponding to the given name. |
AreaStyle |
getAreaStyle(java.lang.String styleName)
Returns the named area style from this map. |
AreaStyle |
getDefaultAreaStyle()
Returns the default area style from this map. |
FontStyle |
getDefaultFontStyle()
Returns the default font style from this map. |
TextStyle |
getDefaultTextStyle()
Returns the default text style from this map. |
FontStyle |
getFontStyle(java.lang.String styleName)
Returns the named font style from this map. |
TextStyle |
getTextStyle(java.lang.String styleName)
Returns the named text style from this map. |
| Method Detail |
public FontStyle getDefaultFontStyle()
public FontStyle getFontStyle(java.lang.String styleName)
styleName - the name of the style
public TextStyle getDefaultTextStyle()
public TextStyle getTextStyle(java.lang.String styleName)
styleName - the name of the style
public AreaStyle getDefaultAreaStyle()
public AreaStyle getAreaStyle(java.lang.String styleName)
styleName - the name of the style
public java.awt.Color findColor(java.lang.String colorName)
colorName - the name of the color
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||