|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
javax.swing.plaf.metal.MetalLookAndFeel
com.jgoodies.looks.plastic.PlasticLookAndFeel
com.jgoodies.looks.plastic.Plastic3DLookAndFeel
org.adempiere.plaf.AdempiereLookAndFeel
public class AdempiereLookAndFeel
Adempiere Look & Feel, based on JGoodies look and feel
| Field Summary | |
|---|---|
static String |
HIDE_IF_ONE_TAB
|
static String |
NAME
The name |
protected static boolean |
ROUND
Paint Round Corners |
static String |
TABLEVEL
|
| Fields inherited from class com.jgoodies.looks.plastic.PlasticLookAndFeel |
|---|
BORDER_STYLE_KEY, DEFAULT_THEME_KEY, HIGH_CONTRAST_FOCUS_ENABLED_KEY, IS_3D_KEY, TAB_STYLE_DEFAULT_VALUE, TAB_STYLE_KEY, TAB_STYLE_METAL_VALUE, useHighContrastFocusColors |
| Constructor Summary | |
|---|---|
AdempiereLookAndFeel()
Constructor |
|
| Method Summary | |
|---|---|
static com.jgoodies.looks.plastic.PlasticTheme |
getCurrentTheme()
Get Current Theme |
UIDefaults |
getDefaults()
Get/Create Defaults |
static com.jgoodies.looks.plastic.PlasticTheme |
getDefaultTheme()
Get default adempiere theme |
String |
getDescription()
The Description |
String |
getID()
The ID |
String |
getName()
The Name |
protected void |
initClassDefaults(UIDefaults table)
Creates the mapping from UI class IDs to ComponentUI classes,
putting the ID-ComponentUI pairs in the passed-in defaults table. |
protected void |
initComponentDefaults(UIDefaults table)
For overwriting Component defaults |
protected void |
initSystemColorDefaults(UIDefaults table)
For overwriting Component defaults |
void |
provideErrorFeedback(Component component)
Error Feedback. |
static void |
setCurrentTheme(com.jgoodies.looks.plastic.PlasticTheme theme)
Set Current Theme |
| Methods inherited from class com.jgoodies.looks.plastic.Plastic3DLookAndFeel |
|---|
installDefaultThemes, is3DEnabled |
| Methods inherited from class com.jgoodies.looks.plastic.PlasticLookAndFeel |
|---|
createButtonMargin, createMyDefaultTheme, createTheme, getControl, getControlDarkShadow, getControlHighlight, getFocusColor, getFontPolicy, getHighContrastFocusColorsEnabled, getInstalledThemes, getInternalFrameBorder, getMenuItemBackground, getMenuItemSelectedBackground, getMenuItemSelectedForeground, getMyCurrentTheme, getPaletteBorder, getPlasticTheme, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSimpleInternalFrameBackground, getSimpleInternalFrameForeground, getTabStyle, getTitleTextColor, getTitleTextFont, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground, initialize, installTheme, set3DEnabled, setFontPolicy, setHighContrastFocusColorsEnabled, setMyCurrentTheme, setPlasticTheme, setTabStyle, uninitialize |
| Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel |
|---|
createAudioAction, getAudioActionMap, loadSystemColors, playSound |
| Methods inherited from class javax.swing.LookAndFeel |
|---|
getDesktopPropertyValue, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninstallBorder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
protected static boolean ROUND
public static final String TABLEVEL
public static final String HIDE_IF_ONE_TAB
| Constructor Detail |
|---|
public AdempiereLookAndFeel()
| Method Detail |
|---|
public String getName()
getName in class com.jgoodies.looks.plastic.Plastic3DLookAndFeelpublic String getID()
getID in class com.jgoodies.looks.plastic.Plastic3DLookAndFeelpublic String getDescription()
getDescription in class com.jgoodies.looks.plastic.Plastic3DLookAndFeelpublic UIDefaults getDefaults()
getDefaults in class MetalLookAndFeelprotected void initClassDefaults(UIDefaults table)
ComponentUI classes,
putting the ID-ComponentUI pairs in the passed-in defaults table.
Each JComponent class specifies its own UI class ID string.
initClassDefaults in class com.jgoodies.looks.plastic.PlasticLookAndFeeltable - UI Defaultsprotected void initSystemColorDefaults(UIDefaults table)
initSystemColorDefaults in class com.jgoodies.looks.plastic.PlasticLookAndFeeltable - protected void initComponentDefaults(UIDefaults table)
initComponentDefaults in class com.jgoodies.looks.plastic.Plastic3DLookAndFeeltable - public static void setCurrentTheme(com.jgoodies.looks.plastic.PlasticTheme theme)
theme - metal themepublic static com.jgoodies.looks.plastic.PlasticTheme getCurrentTheme()
public static com.jgoodies.looks.plastic.PlasticTheme getDefaultTheme()
public void provideErrorFeedback(Component component)
Invoked when the user attempts an invalid operation,
such as pasting into an uneditable JTextField
that has focus.
If the user has enabled visual error indication on the desktop, this method will flash the caption bar of the active window. The user can also set the property awt.visualbell=true to achieve the same results.
provideErrorFeedback in class MetalLookAndFeelcomponent - Component the error occured in, may be
null indicating the error condition is
not directly associated with a
Component.
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||