Package generic.theme
Class SystemThemeIds
java.lang.Object
generic.theme.SystemThemeIds
This class provides a set of IDs that can be used in the application, regardless of which Look
and Feel (LaF) is being used.
Various LaFs have different names for common concepts and even define additional concepts not
listed here. The values in this class are those the application uses use regardless of the LaF
being used. When we load a specific LaF, a UiDefaultsMapper
specific to that LaF is used
to map its common LaF ids to these standard system ids. The GThemeDefaults
uses these
system ids to define colors that can be used throughout the application without using these ids
directly.
The ids are assigned to categories as follows:
- CONTROL- these ids are used for colors and fonts for general system components such as Buttons, Checkboxes, or anything that doesn't fit into one of the other areas
- VIEW - these ids are used for the colors and fonts used for widgets that display data such as Trees, Tables, TextFieds, and Lists
- MENU - these ids are used by menu components such as Menus and MenuItems.
- TOOLTIP - these ids are used just by the tooltip component
For each of those categories the ids specify a specific property for those components.
- BG - the background color
- FG - the foreground color
- BG_SELECTED - the background color when the component is selected
- FG_SELECTED - the foreground color when the component is selected
- FG_DISABLED - the foreground color when the component is disabled
- BG_BORDER - the border color
- FONT - the font
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
FONT_CONTROL_ID
- See Also:
-
FONT_VIEW_ID
- See Also:
-
FONT_MENU_ID
- See Also:
-
BG_CONTROL_ID
- See Also:
-
BG_VIEW_ID
- See Also:
-
BG_TOOLTIP_ID
- See Also:
-
BG_VIEW_SELECTED_ID
- See Also:
-
BG_BORDER_ID
- See Also:
-
FG_CONTROL_ID
- See Also:
-
FG_VIEW_ID
- See Also:
-
FG_TOOLTIP_ID
- See Also:
-
FG_VIEW_SELECTED_ID
- See Also:
-
FG_DISABLED_ID
- See Also:
-
-
Constructor Details
-
SystemThemeIds
public SystemThemeIds()
-