API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.im. InputMethodHighlight View Source
Author(s)
Since
1.2
Version
1.22, 11/17/05
Serial
Hierarchy
 Object
      InputMethodHighlight
Implements
Subclasses
Description
public class InputMethodHighlight
  An InputMethodHighlight is used to describe the highlight attributes of text being composed.
Constructors
public InputMethodHighlight (boolean selected, int state)
  Constructs an input method highlight record.
public InputMethodHighlight (boolean selected, int state, int variation)
  Constructs an input method highlight record.
public InputMethodHighlight (boolean selected, int state, int variation, Map<TextAttribute, Object> style)
  Constructs an input method highlight record.
Methods
Hide/Show inherited methods
public int getState ()
  Returns the conversion state of the text range.
public Map<TextAttribute, Object> getStyle ()
  Returns the rendering style attributes for the text range, or null.
public int getVariation ()
Returns the variation of the text range.
public boolean isSelected ()
Returns whether the text range is selected.
Fields
Hide/Show inherited fields
publicfinalstatic int CONVERTED_TEXT = "1"
Constant for the converted text state.
publicfinalstatic int RAW_TEXT = "0"
Constant for the raw text state.
publicfinalstatic InputMethodHighlight SELECTED_CONVERTED_TEXT_HIGHLIGHT
Constant for the default highlight for selected converted text.
publicfinalstatic InputMethodHighlight SELECTED_RAW_TEXT_HIGHLIGHT
Constant for the default highlight for selected raw text.
publicfinalstatic InputMethodHighlight UNSELECTED_CONVERTED_TEXT_HIGHLIGHT
Constant for the default highlight for unselected converted text.
publicfinalstatic InputMethodHighlight UNSELECTED_RAW_TEXT_HIGHLIGHT
Constant for the default highlight for unselected raw text.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar