Package org.zkoss.zk.ui
Enum Class HtmlShadowElement.Direction
- All Implemented Interfaces:
Serializable,Comparable<HtmlShadowElement.Direction>,Constable
- Enclosing class:
- HtmlShadowElement
A help class for an insertion direction.
- Author:
- jumperchen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIt indicates the direction of the target is inserted after the next insertionIt indicates the direction of the target is inserted before the previous insertionIt indicates the direction of the target is the same as the first insertionIt indicates the direction of the target is inserted in its descendant insertion rangeIt indicates the direction of the target is the same as the last insertionIt indicates the direction of the target is the same as the next insertionIt indicates the direction of the target is the same as the previous insertionIt cannot indicate the direction of the target where it should be inserted. -
Method Summary
Modifier and TypeMethodDescriptionstatic HtmlShadowElement.DirectionReturns the enum constant of this class with the specified name.static HtmlShadowElement.Direction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEFORE_PREVIOUS
It indicates the direction of the target is inserted before the previous insertion -
PREVIOUS
It indicates the direction of the target is the same as the previous insertion -
FIRST
It indicates the direction of the target is the same as the first insertion -
IN_RANGE
It indicates the direction of the target is inserted in its descendant insertion range -
LAST
It indicates the direction of the target is the same as the last insertion -
NEXT
It indicates the direction of the target is the same as the next insertion -
AFTER_NEXT
It indicates the direction of the target is inserted after the next insertion -
UNKNOWN
It cannot indicate the direction of the target where it should be inserted.
-
-
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
-