Package com.myscript.iink
Enum TransformError
- java.lang.Object
-
- java.lang.Enum<TransformError>
-
- com.myscript.iink.TransformError
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TransformError>
public enum TransformError extends java.lang.Enum<TransformError>
Error code returned by Editor getTransformStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOWED
The transform is allowed.BAD_NUMERIC
The transform has a bad numeric value (infinite or NaN).BEAUTIFIED_BLOCKS
The content selection contains beautified blocks.DRAWING_BLOCKS
The content selection contains drawing blocks.GUIDES
The content selection has guides.HAS_NEGATIVE_SCALE
The transform has a negative scale component.HAS_ROTATION
The transform has a rotation component.HAS_SCALE
The transform has a scale component.HAS_SHEAR
The transform has a shear component.HAS_TRANSLATION
The transform has a translation component.INVALID
The transform is invalid (cannot be decomposed).MATH_BLOCKS
The content selection contains math blocks.MULTIPLE_BLOCKS
The content selection contains multiple blocks.NON_INVERTIBLE
The transform is non invertible.NULL_SELECTION
The content selection isnull
.PARTIAL_BLOCKS
The content selection contains blocks partially selected.TEXT_BLOCKS
The content selection contains text blocks.UNSUPPORTED
The transform is not supported on this content selection (internal error).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransformError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TransformError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOWED
public static final TransformError ALLOWED
The transform is allowed.
-
UNSUPPORTED
public static final TransformError UNSUPPORTED
The transform is not supported on this content selection (internal error).
-
NULL_SELECTION
public static final TransformError NULL_SELECTION
The content selection isnull
.
-
PARTIAL_BLOCKS
public static final TransformError PARTIAL_BLOCKS
The content selection contains blocks partially selected.
-
MULTIPLE_BLOCKS
public static final TransformError MULTIPLE_BLOCKS
The content selection contains multiple blocks.
-
BEAUTIFIED_BLOCKS
public static final TransformError BEAUTIFIED_BLOCKS
The content selection contains beautified blocks.
-
TEXT_BLOCKS
public static final TransformError TEXT_BLOCKS
The content selection contains text blocks.
-
MATH_BLOCKS
public static final TransformError MATH_BLOCKS
The content selection contains math blocks.
-
DRAWING_BLOCKS
public static final TransformError DRAWING_BLOCKS
The content selection contains drawing blocks.
-
GUIDES
public static final TransformError GUIDES
The content selection has guides.
-
INVALID
public static final TransformError INVALID
The transform is invalid (cannot be decomposed).
-
NON_INVERTIBLE
public static final TransformError NON_INVERTIBLE
The transform is non invertible.
-
BAD_NUMERIC
public static final TransformError BAD_NUMERIC
The transform has a bad numeric value (infinite or NaN).
-
HAS_ROTATION
public static final TransformError HAS_ROTATION
The transform has a rotation component.
-
HAS_SCALE
public static final TransformError HAS_SCALE
The transform has a scale component.
-
HAS_NEGATIVE_SCALE
public static final TransformError HAS_NEGATIVE_SCALE
The transform has a negative scale component.
-
HAS_SHEAR
public static final TransformError HAS_SHEAR
The transform has a shear component.
-
HAS_TRANSLATION
public static final TransformError HAS_TRANSLATION
The transform has a translation component.
-
-
Method Detail
-
values
public static TransformError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TransformError c : TransformError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransformError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-