Package org.jdesktop.swingx.plaf.windows
Class WindowsLookAndFeelAddons
- java.lang.Object
-
- org.jdesktop.swingx.plaf.LookAndFeelAddons
-
- org.jdesktop.swingx.plaf.basic.BasicLookAndFeelAddons
-
- org.jdesktop.swingx.plaf.windows.WindowsLookAndFeelAddons
-
- Direct Known Subclasses:
WindowsClassicLookAndFeelAddons
@MetaInfServices(LookAndFeelAddons.class) public class WindowsLookAndFeelAddons extends BasicLookAndFeelAddons
Adds new pluggable UI following the Windows XP look and feel.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
HOMESTEAD_VISUAL_STYLE
static java.lang.String
SILVER_VISUAL_STYLE
static java.lang.String
VISTA_VISUAL_STYLE
-
Constructor Summary
Constructors Constructor Description WindowsLookAndFeelAddons()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isSystemAddon()
Determines if the addon is a match for the system Look and Feel.protected boolean
matches()
Determines if the addon is a match for thecurrent Look and Feel
.-
Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicLookAndFeelAddons
initialize, uninitialize
-
Methods inherited from class org.jdesktop.swingx.plaf.LookAndFeelAddons
contribute, getAddon, getBestMatchAddonClassName, getCrossPlatformAddonClassName, getSystemAddonClassName, getUI, installBackgroundPainter, isTrackingLookAndFeelChanges, loadDefaults, setAddon, setAddon, setAddon, setTrackingLookAndFeelChanges, uncontribute, uninstallBackgroundPainter, unloadDefaults
-
-
-
-
Field Detail
-
HOMESTEAD_VISUAL_STYLE
public static final java.lang.String HOMESTEAD_VISUAL_STYLE
- See Also:
- Constant Field Values
-
SILVER_VISUAL_STYLE
public static final java.lang.String SILVER_VISUAL_STYLE
- See Also:
- Constant Field Values
-
VISTA_VISUAL_STYLE
public static final java.lang.String VISTA_VISUAL_STYLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
matches
protected boolean matches()
Determines if the addon is a match for thecurrent Look and Feel
.- Overrides:
matches
in classLookAndFeelAddons
- Returns:
true
if this addon matches (is compatible);false
otherwise
-
isSystemAddon
protected boolean isSystemAddon()
Determines if the addon is a match for the system Look and Feel.- Overrides:
isSystemAddon
in classLookAndFeelAddons
- Returns:
true
if this addon matches (is compatible with) the system Look and Feel;false
otherwise
-
-