Package org.zkoss.stateless.sul
Enum Class ICoachmark.Position
- All Implemented Interfaces:
Serializable,Comparable<ICoachmark.Position>,Constable
- Enclosing interface:
- ICoachmark<I extends IAnyGroup>
Specify a popup's position when attaching to a component.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe component appears below the anchor, aligned to the centerThe component appears below the anchor, aligned to the rightThe component appears with the top aligned with the bottom of the mouse cursor, with the left side of the component at the horizontal position of the mouse cursor.The component appears below the anchor, aligned to the leftThe component appears with the upper-left aligned with the mouse cursorThe component appears above the anchor, aligned to the centerThe component appears above the anchor, aligned to the rightThe component appears above the anchor, aligned to the leftThe component overlaps the anchor, with anchor and component aligned at bottom-centerThe component overlaps the anchor, with anchor and component aligned at bottom-leftThe component overlaps the anchor, with anchor and component aligned at bottom-rightThe component appears to the right of the anchor, aligned to the bottomThe component appears to the right of the anchor, aligned to the topThe component appears to the right of the anchor, aligned to the middleThe component overlaps the anchor, with anchor and component aligned at middle-centerThe component overlaps the anchor, with anchor and component aligned at middle-leftThe component overlaps the anchor, with anchor and component aligned at middle-rightThe component appears to the left of the anchor, aligned to the bottomThe component appears to the left of the anchor, aligned to the topThe component appears to the left of the anchor, aligned to the middleThe component overlaps the anchor, with anchor and component aligned at top-centerThe component overlaps the anchor, with anchor and component aligned at top-leftThe component overlaps the anchor, with anchor and component aligned at top-right -
Method Summary
Modifier and TypeMethodDescriptionstatic ICoachmark.PositionReturns the enum constant of this class with the specified name.static ICoachmark.Position[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEFORE_START
The component appears above the anchor, aligned to the left -
BEFORE_CENTER
The component appears above the anchor, aligned to the center -
BEFORE_END
The component appears above the anchor, aligned to the right -
AFTER_START
The component appears below the anchor, aligned to the left -
AFTER_CENTER
The component appears below the anchor, aligned to the center -
AFTER_END
The component appears below the anchor, aligned to the right -
START_BEFORE
The component appears to the left of the anchor, aligned to the top -
START_CENTER
The component appears to the left of the anchor, aligned to the middle -
START_AFTER
The component appears to the left of the anchor, aligned to the bottom -
END_BEFORE
The component appears to the right of the anchor, aligned to the top -
END_CENTER
The component appears to the right of the anchor, aligned to the middle -
END_AFTER
The component appears to the right of the anchor, aligned to the bottom -
TOP_LEFT
The component overlaps the anchor, with anchor and component aligned at top-left -
TOP_CENTER
The component overlaps the anchor, with anchor and component aligned at top-center -
TOP_RIGHT
The component overlaps the anchor, with anchor and component aligned at top-right -
MIDDLE_LEFT
The component overlaps the anchor, with anchor and component aligned at middle-left -
MIDDLE_CENTER
The component overlaps the anchor, with anchor and component aligned at middle-center -
MIDDLE_RIGHT
The component overlaps the anchor, with anchor and component aligned at middle-right -
BOTTOM_LEFT
The component overlaps the anchor, with anchor and component aligned at bottom-left -
BOTTOM_CENTER
The component overlaps the anchor, with anchor and component aligned at bottom-center -
BOTTOM_RIGHT
The component overlaps the anchor, with anchor and component aligned at bottom-right -
AT_POINTER
The component appears with the upper-left aligned with the mouse cursor -
AFTER_POINTER
The component appears with the top aligned with the bottom of the mouse cursor, with the left side of the component at the horizontal position of the mouse cursor.
-
-
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
-