|
|||||||||
| 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
net.beeger.squareness.SquarenessLookAndFeel
public class SquarenessLookAndFeel
This is the core class of the Squareness Look And Feel.
It sets up the colors, fonts, ui delegates as well as other resources and defaults used by this look and feel.
| Constructor Summary | |
|---|---|
SquarenessLookAndFeel()
|
|
| Method Summary | |
|---|---|
static SquarenessTheme |
getCurrentSquarenessTheme()
|
java.lang.String |
getDescription()
Return the description of the look and feel. |
java.lang.String |
getID()
Return the id of the look and feel. |
java.lang.String |
getName()
Return the name of the look and feel. |
void |
initialize()
|
boolean |
isNativeLookAndFeel()
Is the look and feel a native look and feel? |
boolean |
isSupportedLookAndFeel()
Is this look and feel supported on the underlying plattform? |
static void |
loadThemePackageTheme()
|
static void |
setCurrentSquarenessTheme(SquarenessTheme theme)
|
void |
uninitialize()
|
| Methods inherited from class javax.swing.plaf.metal.MetalLookAndFeel |
|---|
getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getControlTextFont, getCurrentTheme, getDefaults, getDesktopColor, getDisabledIcon, getDisabledSelectedIcon, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getLayoutStyle, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getMenuTextFont, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSubTextFont, getSupportsWindowDecorations, getSystemTextColor, getSystemTextFont, getTextHighlightColor, getUserTextColor, getUserTextFont, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleFont, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground, provideErrorFeedback, setCurrentTheme |
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SquarenessLookAndFeel()
| Method Detail |
|---|
public static void setCurrentSquarenessTheme(SquarenessTheme theme)
public static SquarenessTheme getCurrentSquarenessTheme()
public static void loadThemePackageTheme()
public boolean isNativeLookAndFeel()
isNativeLookAndFeel in class javax.swing.plaf.metal.MetalLookAndFeelpublic boolean isSupportedLookAndFeel()
Is this look and feel supported on the underlying plattform?
Note: The Squareness look and feel is supported on any available plattform. So this method always returns true.
isSupportedLookAndFeel in class javax.swing.plaf.metal.MetalLookAndFeelpublic java.lang.String getDescription()
getDescription in class javax.swing.plaf.metal.MetalLookAndFeelpublic java.lang.String getID()
getID in class javax.swing.plaf.metal.MetalLookAndFeelpublic java.lang.String getName()
getName in class javax.swing.plaf.metal.MetalLookAndFeelpublic void initialize()
initialize in class javax.swing.plaf.basic.BasicLookAndFeelpublic void uninitialize()
uninitialize in class javax.swing.plaf.basic.BasicLookAndFeel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||