public enum TextEditChangeType extends java.lang.Enum<TextEditChangeType> implements INativeEnum
Enum Constant and Description |
---|
AutoComplete
no doc @ microsoft
|
AutoCorrect
Change is from an auto-correct action performed by a control.
|
Composition
Change is from an IME active composition within a control.
|
CompositionFinalized
Change is from an IME composition going from active to finalized state within a control.
|
None
Not related to a specific change type.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<TextEditChangeType> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static TextEditChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextEditChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextEditChangeType None
public static final TextEditChangeType AutoCorrect
public static final TextEditChangeType Composition
public static final TextEditChangeType CompositionFinalized
Note The finalized string may be empty if composition was canceled or deleted.
public static final TextEditChangeType AutoComplete
public static TextEditChangeType[] values()
for (TextEditChangeType c : TextEditChangeType.values()) System.out.println(c);
public static TextEditChangeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getNativeValue()
getNativeValue
in interface INativeEnum
public java.lang.String getConstantName()
getConstantName
in interface INativeEnum
public static java.util.Optional<TextEditChangeType> fromNativeValue(int nativeValue)