Class RadianceThemingSlices.ComponentStateFacet
- java.lang.Object
-
- org.pushingpixels.radiance.theming.api.RadianceThemingSlices.ComponentStateFacet
-
- Enclosing class:
- RadianceThemingSlices
public static final class RadianceThemingSlices.ComponentStateFacet extends java.lang.ObjectDefines a single facet of core and customComponentStates. See Javadocs of theComponentStateclass for more information on state facets.
-
-
Field Summary
Fields Modifier and Type Field Description static RadianceThemingSlices.ComponentStateFacetARMFacet that describes the arm bit.static RadianceThemingSlices.ComponentStateFacetDEFAULTFacet that describes the default bit.static RadianceThemingSlices.ComponentStateFacetDETERMINATEFacet that describes the determinate bit.static RadianceThemingSlices.ComponentStateFacetENABLEFacet that describes the enabled bit.static RadianceThemingSlices.ComponentStateFacetINDETERMINATEFacet that describes the determinate bit.static RadianceThemingSlices.ComponentStateFacetMIXFacet that describes the determinate bit.static RadianceThemingSlices.ComponentStateFacetPRESSFacet that describes the press bit.static RadianceThemingSlices.ComponentStateFacetROLLOVERFacet that describes the rollover bit.static RadianceThemingSlices.ComponentStateFacetSELECTIONFacet that describes the selection bit.
-
Constructor Summary
Constructors Constructor Description ComponentStateFacet(java.lang.String name, int value)Creates a new facet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Field Detail
-
ENABLE
public static final RadianceThemingSlices.ComponentStateFacet ENABLE
Facet that describes the enabled bit.
-
ROLLOVER
public static final RadianceThemingSlices.ComponentStateFacet ROLLOVER
Facet that describes the rollover bit.
-
SELECTION
public static final RadianceThemingSlices.ComponentStateFacet SELECTION
Facet that describes the selection bit.
-
PRESS
public static final RadianceThemingSlices.ComponentStateFacet PRESS
Facet that describes the press bit.
-
ARM
public static final RadianceThemingSlices.ComponentStateFacet ARM
Facet that describes the arm bit. This is relevant for menu items.
-
DEFAULT
public static final RadianceThemingSlices.ComponentStateFacet DEFAULT
Facet that describes the default bit. This is relevant for buttons which can be set as default with theJRootPane.setDefaultButton(javax.swing.JButton)API.
-
DETERMINATE
public static final RadianceThemingSlices.ComponentStateFacet DETERMINATE
Facet that describes the determinate bit.
-
INDETERMINATE
public static final RadianceThemingSlices.ComponentStateFacet INDETERMINATE
Facet that describes the determinate bit.
-
MIX
public static final RadianceThemingSlices.ComponentStateFacet MIX
Facet that describes the determinate bit.
-
-
Constructor Detail
-
ComponentStateFacet
public ComponentStateFacet(java.lang.String name, int value)Creates a new facet.- Parameters:
name- Facet name.value- Facet value. This is used in the matching algorithm described in the javadocs ofComponentState. The larger the value, the more importance is given to the specific facet.
-
-