Class RadianceLookAndFeel
java.lang.Object
javax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
org.pushingpixels.radiance.theming.api.RadianceLookAndFeel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RadianceAutumnLookAndFeel
,RadianceBusinessBlackSteelLookAndFeel
,RadianceBusinessBlueSteelLookAndFeel
,RadianceBusinessLookAndFeel
,RadianceCeruleanLookAndFeel
,RadianceCremeCoffeeLookAndFeel
,RadianceCremeLookAndFeel
,RadianceDustCoffeeLookAndFeel
,RadianceDustLookAndFeel
,RadianceFieldOfWheatLookAndFeel
,RadianceGeminiLookAndFeel
,RadianceGraphiteAquaLookAndFeel
,RadianceGraphiteChalkLookAndFeel
,RadianceGraphiteElectricLookAndFeel
,RadianceGraphiteGlassLookAndFeel
,RadianceGraphiteGoldLookAndFeel
,RadianceGraphiteLookAndFeel
,RadianceGraphiteSiennaLookAndFeel
,RadianceGraphiteSunsetLookAndFeel
,RadianceGreenMagicLookAndFeel
,RadianceHarvestLookAndFeel
,RadianceMagellanLookAndFeel
,RadianceMagmaLookAndFeel
,RadianceMarinerLookAndFeel
,RadianceMistAquaLookAndFeel
,RadianceMistSilverLookAndFeel
,RadianceModerateLookAndFeel
,RadianceNebulaAmethystLookAndFeel
,RadianceNebulaBrickWallLookAndFeel
,RadianceNebulaLookAndFeel
,RadianceNightShadeLookAndFeel
,RadianceOfficeBlack2007LookAndFeel
,RadianceOfficeBlue2007LookAndFeel
,RadianceOfficeSilver2007LookAndFeel
,RadianceRavenLookAndFeel
,RadianceSaharaLookAndFeel
,RadianceSentinelLookAndFeel
,RadianceStreetlightsLookAndFeel
,RadianceTwilightLookAndFeel
Base class for Radiance look and feel. There are three options to use Radiance in your application:
- Use
UIManager.setLookAndFeel(javax.swing.LookAndFeel)
orUIManager.setLookAndFeel(String)
passing one of the core skin-based look-and-feels in theorg.pushingpixels.radiance.theming.api.skin
package. - Extend this class, pass a skin instance to the
RadianceLookAndFeel(RadianceSkin)
constructor, and then useUIManager.setLookAndFeel(javax.swing.LookAndFeel)
. - Call
RadianceThemingCortex.GlobalScope.setSkin(String)
orRadianceThemingCortex.GlobalScope.setSkin(RadianceSkin)
static methods. These methods do not require Radiance to be the current look-and-feel.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AWTEventListener
private String
The name of this look-and-feel instance.private RadianceSkin
The skin of this look-and-feel instance. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Creates a new skin-based Radiance look-and-feel. -
Method Summary
Modifier and TypeMethodDescriptiongetDisabledIcon
(JComponent component, Icon icon) getID()
getName()
boolean
protected void
initClassDefaults
(UIDefaults table) protected void
initComponentDefaults
(UIDefaults table) void
boolean
boolean
void
Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel
createAudioAction, getAudioActionMap, initSystemColorDefaults, loadSystemColors, playSound
Methods inherited from class javax.swing.LookAndFeel
getDesktopPropertyValue, getDisabledSelectedIcon, getLayoutStyle, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, provideErrorFeedback, toString, uninstallBorder
-
Field Details
-
skin
The skin of this look-and-feel instance. -
name
The name of this look-and-feel instance. -
awtEventListener
-
-
Constructor Details
-
RadianceLookAndFeel
Creates a new skin-based Radiance look-and-feel.- Parameters:
skin
- Skin.
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in classLookAndFeel
-
getID
- Specified by:
getID
in classLookAndFeel
-
getName
- Specified by:
getName
in classLookAndFeel
-
isNativeLookAndFeel
public boolean isNativeLookAndFeel()- Specified by:
isNativeLookAndFeel
in classLookAndFeel
-
isSupportedLookAndFeel
public boolean isSupportedLookAndFeel()- Specified by:
isSupportedLookAndFeel
in classLookAndFeel
-
initClassDefaults
- Overrides:
initClassDefaults
in classBasicLookAndFeel
-
initComponentDefaults
- Overrides:
initComponentDefaults
in classBasicLookAndFeel
-
getDefaults
- Overrides:
getDefaults
in classBasicLookAndFeel
-
initialize
public void initialize()- Overrides:
initialize
in classBasicLookAndFeel
-
uninitialize
public void uninitialize()- Overrides:
uninitialize
in classBasicLookAndFeel
-
getSupportsWindowDecorations
public boolean getSupportsWindowDecorations()- Overrides:
getSupportsWindowDecorations
in classLookAndFeel
-
getDisabledIcon
- Overrides:
getDisabledIcon
in classLookAndFeel
-