Package com.myscript.iink
Enum Class TransformError
- All Implemented Interfaces:
Serializable
,Comparable<TransformError>
,Constable
Error code returned by Editor getTransformStatus
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe transform is allowed.The transform has a bad numeric value (infinite or NaN).The content selection contains beautified blocks.The content selection contains drawing blocks.The content selection has guides.The transform has a negative scale component.The transform has a rotation component.The transform has a scale component.The transform has a shear component.The transform has a translation component.The transform is invalid (cannot be decomposed).The content selection contains math blocks.The content selection contains multiple blocks.The transform is non invertible.The content selection isnull
.The content selection contains blocks partially selected.The content selection contains text blocks.The transform is not supported on this content selection (internal error). -
Method Summary
Modifier and TypeMethodDescriptionstatic TransformError
Returns the enum constant of this class with the specified name.static TransformError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALLOWED
The transform is allowed. -
UNSUPPORTED
The transform is not supported on this content selection (internal error). -
NULL_SELECTION
The content selection isnull
. -
PARTIAL_BLOCKS
The content selection contains blocks partially selected. -
MULTIPLE_BLOCKS
The content selection contains multiple blocks. -
BEAUTIFIED_BLOCKS
The content selection contains beautified blocks. -
TEXT_BLOCKS
The content selection contains text blocks. -
MATH_BLOCKS
The content selection contains math blocks. -
DRAWING_BLOCKS
The content selection contains drawing blocks. -
GUIDES
The content selection has guides. -
INVALID
The transform is invalid (cannot be decomposed). -
NON_INVERTIBLE
The transform is non invertible. -
BAD_NUMERIC
The transform has a bad numeric value (infinite or NaN). -
HAS_ROTATION
The transform has a rotation component. -
HAS_SCALE
The transform has a scale component. -
HAS_NEGATIVE_SCALE
The transform has a negative scale component. -
HAS_SHEAR
The transform has a shear component. -
HAS_TRANSLATION
The transform has a translation component.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-