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.Object
Defines a single facet of core and customComponentState
s. See Javadocs of theComponentState
class for more information on state facets.
-
-
Field Summary
Fields Modifier and Type Field Description static RadianceThemingSlices.ComponentStateFacet
ARM
Facet that describes the arm bit.static RadianceThemingSlices.ComponentStateFacet
DEFAULT
Facet that describes the default bit.static RadianceThemingSlices.ComponentStateFacet
DETERMINATE
Facet that describes the determinate bit.static RadianceThemingSlices.ComponentStateFacet
ENABLE
Facet that describes the enabled bit.static RadianceThemingSlices.ComponentStateFacet
INDETERMINATE
Facet that describes the determinate bit.static RadianceThemingSlices.ComponentStateFacet
MIX
Facet that describes the determinate bit.(package private) java.lang.String
name
static RadianceThemingSlices.ComponentStateFacet
PRESS
Facet that describes the press bit.static RadianceThemingSlices.ComponentStateFacet
ROLLOVER
Facet that describes the rollover bit.static RadianceThemingSlices.ComponentStateFacet
SELECTION
Facet that describes the selection bit.(package private) int
value
-
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.String
toString()
-
-
-
Field Detail
-
value
int value
-
name
java.lang.String name
-
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.
-
-