Lines Matching defs:State
51 * <p>This class, State, is intended to be used for such situations.
61 * public final class IndeterminateState extends State<JProgressBar> {
73 public abstract class State<T extends JComponent>{
75 static final State<JComponent> Enabled = new StandardState(SynthConstants.ENABLED);
76 static final State<JComponent> MouseOver = new StandardState(SynthConstants.MOUSE_OVER);
77 static final State<JComponent> Pressed = new StandardState(SynthConstants.PRESSED);
78 static final State<JComponent> Disabled = new StandardState(SynthConstants.DISABLED);
79 static final State<JComponent> Focused = new StandardState(SynthConstants.FOCUSED);
80 static final State<JComponent> Selected = new StandardState(SynthConstants.SELECTED);
81 static final State<JComponent> Default = new StandardState(SynthConstants.DEFAULT);
86 * <p>Create a new custom State. Specify the name for the state. The name should
100 protected State(String name) {
113 * will then take this state, and query each State instance in the style
119 * <li>NimbusStyle calls State.isInState(c, s)</li>
120 * <li>State.isInState(c, s) simply delegates to State.isInState(c)</li>
121 * <li><em>EXCEPT</em>, StandardState overrides State.isInState(c, s) and
136 * in. For example, a custom State could exist for JProgressBar such that
144 * this <code>State</code> instance
158 static final class StandardState extends State<JComponent> {