public static enum LightTable.Mode extends java.lang.Enum<LightTable.Mode>
Enum Constant and Description |
---|
BOX
The box drawing mode.
|
BOX_ZOOM
The zoom box drawing mode.
|
CIRCLE
The circle drawing mode.
|
GENERAL_PATH
The general path drawing mode.
|
IMAGE
The image drawing mode.
|
IMAGE_ROTATE
The image rotation mode.
|
IMAGE_TRANSLATE
The image translation mode.
|
LINE
The line drawing mode.
|
NONE
The non-drawing mode.
|
POINT
The point drawing mode.
|
POLYLINE
The polyline drawing mode.
|
Modifier and Type | Method and Description |
---|---|
static LightTable.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LightTable.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightTable.Mode NONE
public static final LightTable.Mode POINT
public static final LightTable.Mode LINE
public static final LightTable.Mode POLYLINE
public static final LightTable.Mode BOX
public static final LightTable.Mode BOX_ZOOM
public static final LightTable.Mode CIRCLE
public static final LightTable.Mode GENERAL_PATH
public static final LightTable.Mode IMAGE
public static final LightTable.Mode IMAGE_TRANSLATE
TransformableImageComponent
and the component is
used to create the graphics for rubber-banding by calling its
setImageAffine()
method. The image translates
continuously with the dragging mouse.public static final LightTable.Mode IMAGE_ROTATE
TransformableImageComponent
and the component is
used to create the graphics for rubber-banding by calling its
setImageAffine()
method. The image rotates
continuously with the dragging mouse.public static LightTable.Mode[] values()
for (LightTable.Mode c : LightTable.Mode.values()) System.out.println(c);
public static LightTable.Mode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null