Lines Matching refs:State
224 public static enum State {
301 private static EnumMap<Part, State[]> stateMap;
304 stateMap = new EnumMap<Part, State[]>(Part.class);
307 new State[] {
312 new State[] { NORMAL, HOT, PRESSED, DISABLED, DEFAULTED });
315 new State[] {
321 new State[] {
327 State[] comboBoxStates = new State[] { NORMAL, HOT, PRESSED, DISABLED };
338 stateMap.put(Part.HP_HEADERITEM, new State[] { NORMAL, HOT, PRESSED,
344 new State[] {SORTEDDOWN, SORTEDUP});
346 State[] scrollBarStates = new State[] { NORMAL, HOT, PRESSED, DISABLED, HOVER };
354 new State[] {
363 State[] spinnerStates = new State[] { NORMAL, HOT, PRESSED, DISABLED };
367 stateMap.put(Part.TVP_GLYPH, new State[] { CLOSED, OPENED });
369 State[] frameButtonStates = new State[] {
380 frameButtonStates = new State[] {
392 stateMap.put(Part.TKP_TRACK, new State[] { NORMAL });
393 stateMap.put(Part.TKP_TRACKVERT, new State[] { NORMAL });
395 State[] sliderThumbStates =
396 new State[] { NORMAL, HOT, PRESSED, FOCUSED, DISABLED };
404 State[] tabStates = new State[] { NORMAL, HOT, SELECTED, DISABLED, FOCUSED };
411 new State[] {
415 State[] frameStates = new State[] { ACTIVE, INACTIVE };
421 State[] captionStates = new State[] { ACTIVE, INACTIVE, DISABLED };
427 new State[] { ACTIVE, INACTIVE });
429 new State[] { NORMAL, HOT, PUSHED,
432 new State[] { CHECKMARKNORMAL, CHECKMARKDISABLED,
435 new State[] { DISABLEDPUSHED, NORMAL, BITMAP });
437 new State[] { NORMAL, HOT, DISABLED, DISABLEDHOT });
439 new State[] { NORMAL, DISABLED });
444 public static synchronized int getValue(Part part, State state) {
458 if (state == null || state == State.NORMAL) {