|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.gui.core.ThemeManager
This class is responsible for handling the installment of the look and feel selection as well as the creation of the Rcom default themes (mostly font and color schemes).
Retek Inc. Copyright (c) 2002
Constructor Summary | |
ThemeManager()
Returns new ThemeManager object. |
Method Summary | |
void |
setLookAndFeel(java.lang.String plafName)
Assigns the look and feel based on the plaf input name (pluggable look and feel name). |
void |
setTheme(java.lang.String filename)
Assigns the font and color scheme based on the input filename of the properties file containing the scheme information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ThemeManager()
Method Detail |
public void setLookAndFeel(java.lang.String plafName) throws UiThemeException
plafName
- The name of the look and feel to install.
UiThemeException
- Thrown if the method fails to install the look and feel.public void setTheme(java.lang.String filename) throws UiBundleException
Fonts = "font"
Dimension = "Dimension"
Insets = "margin", "Margin", "insets", or "Insets"
Colors = "background", "Background", "Foreground", "Shadow", "shadow", "highlight", "Highlight", "Color" *
filename
- The name of the theme properties file.
UiBundleException
- Thrown if the method fails to install the theme.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |