|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ViewerDropLocation> net.refractions.udig.ui.ViewerDropLocation
public enum ViewerDropLocation
Enumerates the number of places that a element can be dropped on an element in a viewer. For example when dropping something on an item in a ListViewer the item can be BEFORE, ON or AFTER
Enum Constant Summary | |
---|---|
AFTER
Indicates the dropped item was dropped after the item |
|
BEFORE
Indicates the dropped item was dropped before the item |
|
NONE
Indicates the dropped item was not dropped on an item |
|
ON
Indicates the dropped item was dropped on the item |
Method Summary | |
---|---|
static ViewerDropLocation |
valueOf(int location)
|
static ViewerDropLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ViewerDropLocation[] |
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 ViewerDropLocation BEFORE
public static final ViewerDropLocation ON
public static final ViewerDropLocation AFTER
public static final ViewerDropLocation NONE
Method Detail |
---|
public static final ViewerDropLocation[] values()
for(ViewerDropLocation c : ViewerDropLocation.values()) System.out.println(c);
public static ViewerDropLocation 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 namepublic static ViewerDropLocation valueOf(int location)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |