Lines Matching refs:state

35 * at the abstract level it specifies the conversion state and whether the
45 * <code>state</code>, and <code>variation</code>.
49 * <code>state</code> represents the conversion state. State values are defined
51 * mappings from abstract to concrete styles. Currently defined state values
53 * These state values are recommended for use before and after the
72 * Constant for the raw text state.
77 * Constant for the converted text state.
111 * @param state The conversion state for the text range - RAW_TEXT or CONVERTED_TEXT
114 * @exception IllegalArgumentException if a state other than RAW_TEXT or CONVERTED_TEXT is given
116 public InputMethodHighlight(boolean selected, int state) {
117 this(selected, state, 0, null);
124 * @param state The conversion state for the text range - RAW_TEXT or CONVERTED_TEXT
128 * @exception IllegalArgumentException if a state other than RAW_TEXT or CONVERTED_TEXT is given
130 public InputMethodHighlight(boolean selected, int state, int variation) {
131 this(selected, state, variation, null);
138 * @param state the conversion state for the text range - RAW_TEXT or CONVERTED_TEXT
143 * @exception IllegalArgumentException if a state other than RAW_TEXT or CONVERTED_TEXT is given
146 public InputMethodHighlight(boolean selected, int state, int variation,
150 if (!(state == RAW_TEXT || state == CONVERTED_TEXT)) {
151 throw new IllegalArgumentException("unknown input method highlight state");
153 this.state = state;
166 * Returns the conversion state of the text range.
167 * @return The conversion state for the text range - RAW_TEXT or CONVERTED_TEXT.
172 return state;
191 private int state;