|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SnapBehaviour>
net.refractions.udig.tools.edit.support.SnapBehaviour
public enum SnapBehaviour
Indicates the different ways that snapping can behave.
Enum Constant Summary | |
---|---|
ALL_LAYERS
Search all layers |
|
CURRENT_LAYER
Search the current layer and the selected features |
|
GRID
Snap to a grid defined in the preferences |
|
OFF
No snapping |
|
SELECTED
Snap to features selected (on the edit blackboard) |
Method Summary | |
---|---|
static SnapBehaviour |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SnapBehaviour[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SnapBehaviour OFF
public static final SnapBehaviour SELECTED
public static final SnapBehaviour CURRENT_LAYER
public static final SnapBehaviour ALL_LAYERS
public static final SnapBehaviour GRID
Method Detail |
---|
public static final SnapBehaviour[] values()
for(SnapBehaviour c : SnapBehaviour.values()) System.out.println(c);
public static SnapBehaviour 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 name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |