FileDocCategorySizeDatePackage
InputMethodHighlight.javaAPI DocAndroid 1.5 API3033Wed May 06 22:41:54 BST 2009java.awt.im

InputMethodHighlight

public class InputMethodHighlight extends Object
This class is not supported in Android 1.0. It is merely provided to maintain interface compatibility with desktop Java implementations.
since
Android 1.0

Fields Summary
public static final int
RAW_TEXT
public static final int
CONVERTED_TEXT
public static final InputMethodHighlight
UNSELECTED_RAW_TEXT_HIGHLIGHT
public static final InputMethodHighlight
SELECTED_RAW_TEXT_HIGHLIGHT
public static final InputMethodHighlight
UNSELECTED_CONVERTED_TEXT_HIGHLIGHT
public static final InputMethodHighlight
SELECTED_CONVERTED_TEXT_HIGHLIGHT
private boolean
selected
private int
state
private int
variation
private Map
style
Constructors Summary
public InputMethodHighlight(boolean selected, int state, int variation)


           
        this(selected, state, variation, null);
    
public InputMethodHighlight(boolean selected, int state, int variation, Map style)

        if ((state != RAW_TEXT) && (state != CONVERTED_TEXT)) {
            // awt.20B=unknown input method highlight state
            throw new IllegalArgumentException(Messages.getString("awt.20B")); //$NON-NLS-1$
        }
        this.selected = selected;
        this.state = state;
        this.variation = variation;
        this.style = style;
    
public InputMethodHighlight(boolean selected, int state)

        this(selected, state, 0, null);
    
Methods Summary
public intgetState()

        return state;
    
public java.util.MapgetStyle()

        return style;
    
public intgetVariation()

        return variation;
    
public booleanisSelected()

        return selected;