Lines Matching refs:stateMap
301 private static EnumMap<Part, State[]> stateMap;
304 stateMap = new EnumMap<Part, State[]>(Part.class);
306 stateMap.put(Part.EP_EDITTEXT,
311 stateMap.put(Part.BP_PUSHBUTTON,
314 stateMap.put(Part.BP_RADIOBUTTON,
320 stateMap.put(Part.BP_CHECKBOX,
328 stateMap.put(Part.CP_COMBOBOX, comboBoxStates);
329 stateMap.put(Part.CP_DROPDOWNBUTTON, comboBoxStates);
330 stateMap.put(Part.CP_BACKGROUND, comboBoxStates);
331 stateMap.put(Part.CP_TRANSPARENTBACKGROUND, comboBoxStates);
332 stateMap.put(Part.CP_BORDER, comboBoxStates);
333 stateMap.put(Part.CP_READONLY, comboBoxStates);
334 stateMap.put(Part.CP_DROPDOWNBUTTONRIGHT, comboBoxStates);
335 stateMap.put(Part.CP_DROPDOWNBUTTONLEFT, comboBoxStates);
336 stateMap.put(Part.CP_CUEBANNER, comboBoxStates);
338 stateMap.put(Part.HP_HEADERITEM, new State[] { NORMAL, HOT, PRESSED,
343 stateMap.put(Part.HP_HEADERSORTARROW,
347 stateMap.put(Part.SBP_SCROLLBAR, scrollBarStates);
348 stateMap.put(Part.SBP_THUMBBTNVERT, scrollBarStates);
349 stateMap.put(Part.SBP_THUMBBTNHORZ, scrollBarStates);
350 stateMap.put(Part.SBP_GRIPPERVERT, scrollBarStates);
351 stateMap.put(Part.SBP_GRIPPERHORZ, scrollBarStates);
353 stateMap.put(Part.SBP_ARROWBTN,
364 stateMap.put(Part.SPNP_UP, spinnerStates);
365 stateMap.put(Part.SPNP_DOWN, spinnerStates);
367 stateMap.put(Part.TVP_GLYPH, new State[] { CLOSED, OPENED });
386 stateMap.put(Part.WP_MINBUTTON, frameButtonStates);
387 stateMap.put(Part.WP_MAXBUTTON, frameButtonStates);
388 stateMap.put(Part.WP_RESTOREBUTTON, frameButtonStates);
389 stateMap.put(Part.WP_CLOSEBUTTON, frameButtonStates);
392 stateMap.put(Part.TKP_TRACK, new State[] { NORMAL });
393 stateMap.put(Part.TKP_TRACKVERT, new State[] { NORMAL });
397 stateMap.put(Part.TKP_THUMB, sliderThumbStates);
398 stateMap.put(Part.TKP_THUMBBOTTOM, sliderThumbStates);
399 stateMap.put(Part.TKP_THUMBTOP, sliderThumbStates);
400 stateMap.put(Part.TKP_THUMBVERT, sliderThumbStates);
401 stateMap.put(Part.TKP_THUMBRIGHT, sliderThumbStates);
405 stateMap.put(Part.TABP_TABITEM, tabStates);
406 stateMap.put(Part.TABP_TABITEMLEFTEDGE, tabStates);
407 stateMap.put(Part.TABP_TABITEMRIGHTEDGE, tabStates);
410 stateMap.put(Part.TP_BUTTON,
416 stateMap.put(Part.WP_WINDOW, frameStates);
417 stateMap.put(Part.WP_FRAMELEFT, frameStates);
418 stateMap.put(Part.WP_FRAMERIGHT, frameStates);
419 stateMap.put(Part.WP_FRAMEBOTTOM, frameStates);
422 stateMap.put(Part.WP_CAPTION, captionStates);
423 stateMap.put(Part.WP_MINCAPTION, captionStates);
424 stateMap.put(Part.WP_MAXCAPTION, captionStates);
426 stateMap.put(Part.MP_BARBACKGROUND,
428 stateMap.put(Part.MP_BARITEM,
431 stateMap.put(Part.MP_POPUPCHECK,
434 stateMap.put(Part.MP_POPUPCHECKBACKGROUND,
436 stateMap.put(Part.MP_POPUPITEM,
438 stateMap.put(Part.MP_POPUPSUBMENU,
445 if (stateMap == null) {
449 Enum[] states = stateMap.get(part);