|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.swingx.plaf.AbstractComponentAddon
org.jdesktop.swingx.plaf.UIColorHighlighterAddon
public class UIColorHighlighterAddon
Loads LF specific background striping colors. The colors are based on the LF selection colors for certain LFs and themes, for unknown LFs/themes a generic grey is used.
Constructor Summary | |
---|---|
UIColorHighlighterAddon()
|
Method Summary | |
---|---|
protected ColorUIResource |
getGenericStriping()
Creates and returns a generic striping color. |
protected ColorUIResource |
getMacStripingColor(LookAndFeelAddons addon)
Creates and returns a the MacX specific striping color, may be null. |
protected ColorUIResource |
getMetalStripingColor(LookAndFeelAddons addon)
Creates and returns a the Metal specific striping color, may be null. |
protected ColorUIResource |
getMotifStripingColor(LookAndFeelAddons addon)
Creates and returns a the motif specific striping color, may be null. |
protected ColorUIResource |
getWindowStripingColor(LookAndFeelAddons addon)
Creates and returns a the Windows specific striping color, may be null. |
void |
initialize(LookAndFeelAddons addon)
Loads the LF-specific striping background color for usage in UIColorHighlighter. |
Methods inherited from class org.jdesktop.swingx.plaf.AbstractComponentAddon |
---|
addBasicDefaults, addMacDefaults, addMetalDefaults, addMotifDefaults, addResource, addWindowsDefaults, getName, isMac, isMetal, isMotif, isPlastic, isSynth, isWindows, uninitialize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UIColorHighlighterAddon()
name
- Method Detail |
---|
public void initialize(LookAndFeelAddons addon)
initialize
in interface ComponentAddon
initialize
in class AbstractComponentAddon
addon
- the current addonprotected ColorUIResource getGenericStriping()
protected ColorUIResource getMacStripingColor(LookAndFeelAddons addon)
addon
- the AddOn to create the color for
protected ColorUIResource getMetalStripingColor(LookAndFeelAddons addon)
addon
- the AddOn to create the color for
protected ColorUIResource getWindowStripingColor(LookAndFeelAddons addon)
PENDING: Vista?
addon
- the AddOn to create the color for
protected ColorUIResource getMotifStripingColor(LookAndFeelAddons addon)
addon
- the AddOn to create the color for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |