public enum ClipMode extends java.lang.Enum<ClipMode>
Enum Constant and Description |
---|
ClipAtExtents
ClipAtExtents forces the panning operation to stop suddenly at the extents of the data
|
ClipAtMax
ClipAtMax forces the panning operation to stop suddenly at the maximum of the data, but expand at the minimum
|
ClipAtMin
ClipAtMin forces the panning operation to stop suddenly at the minimum of the data, but expand at the maximum
|
None
ClipMode.None means you can pan right off the edge of the data into uncharted space.
|
StretchAtExtents
ClipMode.StretchAtExtents causes a zooming (stretch) action when you reach the edge of the data.
|
Modifier and Type | Method and Description |
---|---|
static ClipMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClipMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClipMode None
public static final ClipMode StretchAtExtents
public static final ClipMode ClipAtMin
public static final ClipMode ClipAtMax
public static final ClipMode ClipAtExtents
public static ClipMode[] values()
for (ClipMode c : ClipMode.values()) System.out.println(c);
public static ClipMode 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