69 public class InputMethodHighlight { |
69 public class InputMethodHighlight { |
70 |
70 |
71 /** |
71 /** |
72 * Constant for the raw text state. |
72 * Constant for the raw text state. |
73 */ |
73 */ |
74 public final static int RAW_TEXT = 0; |
74 public static final int RAW_TEXT = 0; |
75 |
75 |
76 /** |
76 /** |
77 * Constant for the converted text state. |
77 * Constant for the converted text state. |
78 */ |
78 */ |
79 public final static int CONVERTED_TEXT = 1; |
79 public static final int CONVERTED_TEXT = 1; |
80 |
80 |
81 |
81 |
82 /** |
82 /** |
83 * Constant for the default highlight for unselected raw text. |
83 * Constant for the default highlight for unselected raw text. |
84 */ |
84 */ |
85 public final static InputMethodHighlight UNSELECTED_RAW_TEXT_HIGHLIGHT = |
85 public static final InputMethodHighlight UNSELECTED_RAW_TEXT_HIGHLIGHT = |
86 new InputMethodHighlight(false, RAW_TEXT); |
86 new InputMethodHighlight(false, RAW_TEXT); |
87 |
87 |
88 /** |
88 /** |
89 * Constant for the default highlight for selected raw text. |
89 * Constant for the default highlight for selected raw text. |
90 */ |
90 */ |
91 public final static InputMethodHighlight SELECTED_RAW_TEXT_HIGHLIGHT = |
91 public static final InputMethodHighlight SELECTED_RAW_TEXT_HIGHLIGHT = |
92 new InputMethodHighlight(true, RAW_TEXT); |
92 new InputMethodHighlight(true, RAW_TEXT); |
93 |
93 |
94 /** |
94 /** |
95 * Constant for the default highlight for unselected converted text. |
95 * Constant for the default highlight for unselected converted text. |
96 */ |
96 */ |
97 public final static InputMethodHighlight UNSELECTED_CONVERTED_TEXT_HIGHLIGHT = |
97 public static final InputMethodHighlight UNSELECTED_CONVERTED_TEXT_HIGHLIGHT = |
98 new InputMethodHighlight(false, CONVERTED_TEXT); |
98 new InputMethodHighlight(false, CONVERTED_TEXT); |
99 |
99 |
100 /** |
100 /** |
101 * Constant for the default highlight for selected converted text. |
101 * Constant for the default highlight for selected converted text. |
102 */ |
102 */ |
103 public final static InputMethodHighlight SELECTED_CONVERTED_TEXT_HIGHLIGHT = |
103 public static final InputMethodHighlight SELECTED_CONVERTED_TEXT_HIGHLIGHT = |
104 new InputMethodHighlight(true, CONVERTED_TEXT); |
104 new InputMethodHighlight(true, CONVERTED_TEXT); |
105 |
105 |
106 |
106 |
107 /** |
107 /** |
108 * Constructs an input method highlight record. |
108 * Constructs an input method highlight record. |