public enum DragIntersectStyle extends java.lang.Enum<DragIntersectStyle> implements ValueEnum
Enum Constant and Description |
---|
MOUSE
Look for drop targets that are under the current mouse cursor position.
|
RECT
Look for drop targets by intersection of the entire rect of the drag target with the droppable target.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static DragIntersectStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DragIntersectStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DragIntersectStyle MOUSE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "mouse".
public static final DragIntersectStyle RECT
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "rect".
public static DragIntersectStyle[] values()
for (DragIntersectStyle c : DragIntersectStyle.values()) System.out.println(c);
public static DragIntersectStyle 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