- All Implemented Interfaces:
Serializable
,Comparable<SnapshotView.Boundary>
- Enclosing class:
SnapshotView
The
selectionArea
, in which the user can create a selection,
and the unselectedArea
, 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.-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic SnapshotView.Boundary
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 Details
-
CONTROL
The boundary is this control's bound. -
NODE
The boundary is the displayed node's bound.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-