Enum TreeNode.InsertionPoint
- java.lang.Object
-
- java.lang.Enum<TreeNode.InsertionPoint>
-
- net.ssehub.easy.producer.ui.productline_editor.instantiator.TreeNode.InsertionPoint
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TreeNode.InsertionPoint>
- Enclosing class:
- TreeNode
static enum TreeNode.InsertionPoint extends java.lang.Enum<TreeNode.InsertionPoint>
Denotes insertion points around this node.- Author:
- Holger Eichelberger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER_THISDirectly after.AROUND_SIBLINGSDirectly before or after the last child, before next sibling.AROUND_THISDirectly before/after.BEFORE_THISDirectly before.NONENot at all.
-
Constructor Summary
Constructors Modifier Constructor Description privateInsertionPoint()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TreeNode.InsertionPointvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TreeNode.InsertionPoint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE_THIS
public static final TreeNode.InsertionPoint BEFORE_THIS
Directly before.
-
AFTER_THIS
public static final TreeNode.InsertionPoint AFTER_THIS
Directly after.
-
AROUND_THIS
public static final TreeNode.InsertionPoint AROUND_THIS
Directly before/after.
-
AROUND_SIBLINGS
public static final TreeNode.InsertionPoint AROUND_SIBLINGS
Directly before or after the last child, before next sibling.
-
NONE
public static final TreeNode.InsertionPoint NONE
Not at all.
-
-
Method Detail
-
values
public static TreeNode.InsertionPoint[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TreeNode.InsertionPoint c : TreeNode.InsertionPoint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TreeNode.InsertionPoint valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-