public static final class SubstanceSlices.ComponentStateFacet
extends java.lang.Object
ComponentStates. See Javadocs of the
ComponentState class for more information on state facets.| Modifier and Type | Field | Description |
|---|---|---|
static SubstanceSlices.ComponentStateFacet |
ARM |
Facet that describes the arm bit.
|
static SubstanceSlices.ComponentStateFacet |
DEFAULT |
Facet that describes the default bit.
|
static SubstanceSlices.ComponentStateFacet |
DETERMINATE |
Facet that describes the determinate bit.
|
static SubstanceSlices.ComponentStateFacet |
EDITABLE |
Facet that describes the editable bit.
|
static SubstanceSlices.ComponentStateFacet |
ENABLE |
Facet that describes the enabled bit.
|
static SubstanceSlices.ComponentStateFacet |
PRESS |
Facet that describes the press bit.
|
static SubstanceSlices.ComponentStateFacet |
ROLLOVER |
Facet that describes the rollover bit.
|
static SubstanceSlices.ComponentStateFacet |
SELECTION |
Facet that describes the selection bit.
|
| Constructor | Description |
|---|---|
ComponentStateFacet(java.lang.String name,
int value) |
Creates a new facet.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
toString() |
public static final SubstanceSlices.ComponentStateFacet ENABLE
public static final SubstanceSlices.ComponentStateFacet ROLLOVER
public static final SubstanceSlices.ComponentStateFacet SELECTION
public static final SubstanceSlices.ComponentStateFacet PRESS
public static final SubstanceSlices.ComponentStateFacet ARM
public static final SubstanceSlices.ComponentStateFacet DEFAULT
JRootPane.setDefaultButton(javax.swing.JButton) API.public static final SubstanceSlices.ComponentStateFacet DETERMINATE
JProgressBar
control and its JProgressBar.setIndeterminate(boolean) API.public static final SubstanceSlices.ComponentStateFacet EDITABLE
JTextComponent
derived controls and its JTextComponent.setEditable(boolean) API.public ComponentStateFacet(java.lang.String name,
int value)
name - Facet name.value - Facet value. This is used in the matching algorithm described in the
javadocs of ComponentState. The larger the value, the more importance is
given to the specific facet.