Enum Class WrapType
- All Implemented Interfaces:
Serializable,Comparable<WrapType>,Constable
Represents how text is displayed around a frame or graphic object.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionText may wrap around the shape where the difference to the left or right page or column border is largest.Text may wrap around both sides of the shape.Text wraps around the left side of the shape.No text wraps.None.Text wraps around both sides of the shape.Text wraps around the right side of the shape.Text runs through the shape. -
Method Summary
-
Enum Constant Details
-
LEFT
Text wraps around the left side of the shape. -
RIGHT
Text wraps around the right side of the shape. -
PARALLEL
Text wraps around both sides of the shape. -
DYNAMIC
Text may wrap around both sides of the shape. -
RUN_THROUGH
Text runs through the shape. -
BIGGEST
Text may wrap around the shape where the difference to the left or right page or column border is largest. -
NO_WRAP
No text wraps. -
NONE
None.
-
-
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
-