Class RadianceThemingSlices.ComponentStateFacet
java.lang.Object
org.pushingpixels.radiance.theming.api.RadianceThemingSlices.ComponentStateFacet
- Enclosing class:
RadianceThemingSlices
Defines a single facet of core and custom
ComponentState
s. See Javadocs of the
ComponentState
class for more information on state facets.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RadianceThemingSlices.ComponentStateFacet
Facet that describes the arm bit.static final RadianceThemingSlices.ComponentStateFacet
Facet that describes the default bit.static final RadianceThemingSlices.ComponentStateFacet
Facet that describes the determinate bit.static final RadianceThemingSlices.ComponentStateFacet
Facet that describes the enabled bit.static final RadianceThemingSlices.ComponentStateFacet
Facet that describes the determinate bit.static final RadianceThemingSlices.ComponentStateFacet
Facet that describes the determinate bit.(package private) String
static final RadianceThemingSlices.ComponentStateFacet
Facet that describes the press bit.static final RadianceThemingSlices.ComponentStateFacet
Facet that describes the rollover bit.static final RadianceThemingSlices.ComponentStateFacet
Facet that describes the selection bit.(package private) int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
int value -
name
String name -
ENABLE
Facet that describes the enabled bit. -
ROLLOVER
Facet that describes the rollover bit. -
SELECTION
Facet that describes the selection bit. -
PRESS
Facet that describes the press bit. -
ARM
Facet that describes the arm bit. This is relevant for menu items. -
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
Facet that describes the determinate bit. -
INDETERMINATE
Facet that describes the determinate bit. -
MIX
Facet that describes the determinate bit.
-
-
Constructor Details
-
ComponentStateFacet
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.
-
-
Method Details