- All Implemented Interfaces:
Serializable,Comparable<MoveComponent.Destination>,Constable
- Enclosing class:
- MoveComponent
Destination of component to be moved by
MoveComponent.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionComponent is added as the first child of the target component, any other children will have their index increased by 1.Component is added as the last child of the target component, any other children will stay at their original location.Component is moved right after target component, i.e. as a sibling with an index that's 1 position higher.Component is moved right before target component, i.e. as a sibling with an index that's 1 position lower.A Behavior will be moved to the behavior section of the target component.Component will be moved to the facet section of the target component under the name denoted by "facet". -
Method Summary
Modifier and TypeMethodDescriptionstatic MoveComponent.DestinationReturns the enum constant of this class with the specified name.static MoveComponent.Destination[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEFORE
Component is moved right before target component, i.e. as a sibling with an index that's 1 position lower. -
ADD_FIRST
Component is added as the first child of the target component, any other children will have their index increased by 1. -
ADD_LAST
Component is added as the last child of the target component, any other children will stay at their original location. -
FACET
Component will be moved to the facet section of the target component under the name denoted by "facet". -
BEHAVIOR
A Behavior will be moved to the behavior section of the target component. -
AFTER
Component is moved right after target component, i.e. as a sibling with an index that's 1 position higher.
-
-
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
-