- java.lang.Object
-
- java.lang.Enum<SnapshotView.Boundary>
-
- org.controlsfx.control.SnapshotView.Boundary
-
- All Implemented Interfaces:
Serializable
,Comparable<SnapshotView.Boundary>
- Enclosing class:
- SnapshotView
public static enum SnapshotView.Boundary extends Enum<SnapshotView.Boundary>
TheselectionArea
, in which the user can create a selection, and theunselectedArea
, in which the unselected area is visualized, are limited to a certain area of the control. This area's boundary is represented by this enum.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SnapshotView.Boundary
valueOf(String name)
Returns the enum constant of this type with the specified name.static SnapshotView.Boundary[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTROL
public static final SnapshotView.Boundary CONTROL
The boundary is this control's bound.
-
NODE
public static final SnapshotView.Boundary NODE
The boundary is the displayed node's bound.
-
-
Method Detail
-
values
public static SnapshotView.Boundary[] 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 (SnapshotView.Boundary c : SnapshotView.Boundary.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SnapshotView.Boundary 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
-
-