- java.lang.Object
-
- java.lang.Enum<GraphicsBase.SelectionMode>
-
- com.flexganttfx.view.graphics.GraphicsBase.SelectionMode
-
- All Implemented Interfaces:
Serializable
,Comparable<GraphicsBase.SelectionMode>
- Enclosing class:
- GraphicsBase<R extends Row<?,?,?>>
public static enum GraphicsBase.SelectionMode extends Enum<GraphicsBase.SelectionMode>
An enumerator used to control the selection behaviour of the graphics view.- Since:
- 1.0
- See Also:
GraphicsBase.setSelectionMode(SelectionMode)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GraphicsBase.SelectionMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static GraphicsBase.SelectionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE
public static final GraphicsBase.SelectionMode SINGLE
-
MULTIPLE
public static final GraphicsBase.SelectionMode MULTIPLE
-
NONE
public static final GraphicsBase.SelectionMode NONE
-
-
Method Detail
-
values
public static GraphicsBase.SelectionMode[] 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 (GraphicsBase.SelectionMode c : GraphicsBase.SelectionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GraphicsBase.SelectionMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-