Lines Matching refs:State
37 import com.sun.java.swing.plaf.windows.TMSchema.State;
60 public State getState(JMenuItem menu) {
61 State state = menu.isEnabled() ? State.NORMAL
62 : State.DISABLED;
65 state = (menu.isEnabled()) ? State.PUSHED
66 : State.DISABLEDPUSHED;
73 State stateTmp = state;
74 state = (menu.isEnabled()) ? State.HOT
75 : State.DISABLEDHOT;
87 if (state == State.PUSHED) {
88 state = State.HOT;
89 } else if (state == State.DISABLEDPUSHED) {
90 state = State.DISABLEDHOT;
99 state = State.DISABLED;