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.skinpackage. - 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 AWTEventListenerprivate StringThe name of this look-and-feel instance.private RadianceSkinThe skin of this look-and-feel instance. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new skin-based Radiance look-and-feel. -
Method Summary
Modifier and TypeMethodDescriptiongetDisabledIcon(JComponent component, Icon icon) getID()getName()booleanprotected voidinitClassDefaults(UIDefaults table) protected voidinitComponentDefaults(UIDefaults table) voidbooleanbooleanvoidMethods inherited from class BasicLookAndFeel
createAudioAction, getAudioActionMap, initSystemColorDefaults, loadSystemColors, playSoundMethods inherited from class 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:
getDescriptionin classLookAndFeel
-
getID
- Specified by:
getIDin classLookAndFeel
-
getName
- Specified by:
getNamein classLookAndFeel
-
isNativeLookAndFeel
public boolean isNativeLookAndFeel()- Specified by:
isNativeLookAndFeelin classLookAndFeel
-
isSupportedLookAndFeel
public boolean isSupportedLookAndFeel()- Specified by:
isSupportedLookAndFeelin classLookAndFeel
-
initClassDefaults
- Overrides:
initClassDefaultsin classBasicLookAndFeel
-
initComponentDefaults
- Overrides:
initComponentDefaultsin classBasicLookAndFeel
-
getDefaults
- Overrides:
getDefaultsin classBasicLookAndFeel
-
initialize
public void initialize()- Overrides:
initializein classBasicLookAndFeel
-
uninitialize
public void uninitialize()- Overrides:
uninitializein classBasicLookAndFeel
-
getSupportsWindowDecorations
public boolean getSupportsWindowDecorations()- Overrides:
getSupportsWindowDecorationsin classLookAndFeel
-
getDisabledIcon
- Overrides:
getDisabledIconin classLookAndFeel
-