public enum ToolPosition extends Enum<ToolPosition>
ConfigSpecificToolBarItems
relatively to sibling custom components of the same class.
This allows to nicely group similar custom components.
ToolBarTool
Enum Constant and Description |
---|
END
The custom component is at the end of a group of
similar custom components.
|
MIDDLE
The custom component is in the middle of a group of
similar custom components.
|
OTHER
The custom component is neither at the start, middle or end
of a group of similar custom components.
|
START
The custom component is at the start of a group of
similar custom components.
|
Modifier and Type | Method and Description |
---|---|
static ToolPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToolPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToolPosition START
public static final ToolPosition MIDDLE
public static final ToolPosition END
public static final ToolPosition OTHER
public static ToolPosition[] values()
for (ToolPosition c : ToolPosition.values()) System.out.println(c);
public static ToolPosition valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null