|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tentackle.plaf.PlafGlobal
public class PlafGlobal
Plaf globals.
| Field Summary | |
|---|---|
static Color |
alarmBackgroundColor
|
static Color |
alarmColor
system colors |
static Color |
dropFieldActiveColor
|
static Color |
dropFieldInactiveColor
|
static Color |
listSelectedDisabledForegroundColor
|
static Color |
listSelectedForegroundColor
|
static Color |
listUnselectedDisabledForegroundColor
|
static Color |
listUnselectedForegroundColor
|
static Logger |
logger
Default logger for the appworx-package |
static Color |
tableBackgroundColor
|
static Color |
tableEditCellBorderColor
|
static Color |
tableFocusCellBackgroundColor
|
static Color |
tableFocusCellForegroundColor
|
static Color |
tableForegroundColor
|
static Color |
tableSelectionBackgroundColor
|
static Color |
tableSelectionForegroundColor
|
static String |
TENTACKLE_ICONREALM
The namespace of the icons for tentackle (can be used by apps) |
static Color |
textFieldBackgroundColor
|
static Color |
textFieldInactiveBackgroundColor
|
| Constructor Summary | |
|---|---|
PlafGlobal()
|
|
| Method Summary | |
|---|---|
static IconProvider |
addIconProvider(IconProvider iconProvider)
Registers an IconProvider. |
static ImageIcon |
getIcon(String name)
Gets the icon for the tentackle default realm. |
static ImageIcon |
getIcon(String realm,
String name)
Gets an icon for the current look-and-feel, a given realm and icon name. |
static UIManager.LookAndFeelInfo[] |
getInstalledTentackleLookAndFeels()
Gets all installed tentackle Look and Feels |
static void |
installTentackleLookAndFeels()
Installs all Tentackle Look and Feels |
static boolean |
isFocusAnimated()
Retrievs the current setting for the focus animation. |
static IconProvider |
removeIconProvider(String realm)
Unregisters an IconProvider for a given realm. |
static void |
setFocusAnimated(boolean flag)
Configures the animated keyboard focus for non-text components that can grab the keyboard focus, such as comboboxes, radio buttons or check boxes. |
static void |
triggerLookAndFeelUpdated()
Invoke this method whenever the plaf has changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static Logger logger
public static Color alarmColor
public static Color alarmBackgroundColor
public static Color listSelectedForegroundColor
public static Color listUnselectedForegroundColor
public static Color listSelectedDisabledForegroundColor
public static Color listUnselectedDisabledForegroundColor
public static Color tableForegroundColor
public static Color tableBackgroundColor
public static Color tableFocusCellForegroundColor
public static Color tableFocusCellBackgroundColor
public static Color tableSelectionForegroundColor
public static Color tableSelectionBackgroundColor
public static Color dropFieldActiveColor
public static Color dropFieldInactiveColor
public static Color tableEditCellBorderColor
public static Color textFieldBackgroundColor
public static Color textFieldInactiveBackgroundColor
public static final String TENTACKLE_ICONREALM
| Constructor Detail |
|---|
public PlafGlobal()
| Method Detail |
|---|
public static void installTentackleLookAndFeels()
public static UIManager.LookAndFeelInfo[] getInstalledTentackleLookAndFeels()
public static void setFocusAnimated(boolean flag)
flag - the boolean value which is true to enable the animation, false to turn it offpublic static boolean isFocusAnimated()
public static IconProvider addIconProvider(IconProvider iconProvider)
iconProvider - the provider to register
public static IconProvider removeIconProvider(String realm)
realm - the realm to remove the provider for
public static ImageIcon getIcon(String realm,
String name)
throws MissingResourceException
realm - the icon's namespacename - the name if the icon
MissingResourceException - if no such icon
public static ImageIcon getIcon(String name)
throws MissingResourceException
name - the name if the icon
MissingResourceException - if no such iconpublic static void triggerLookAndFeelUpdated()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||