public static enum DropEvent.DropOrientation extends Enum<DropEvent.DropOrientation>
dropSite in the dropComponent.| Enum Constant and Description |
|---|
AFTER
The Drop is after the
dropSite. |
BEFORE
The Drop is before the
dropSite. |
INSIDE
The Drop is inside the
dropSite. |
ON
The Drop is on the
dropComponent. |
| Modifier and Type | Method and Description |
|---|---|
static DropEvent.DropOrientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DropEvent.DropOrientation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final DropEvent.DropOrientation ON
dropComponent. This value is often returned for drop targets that don't have internal dropSites.public static final DropEvent.DropOrientation INSIDE
dropSite. The dragged contents should be inserted inside of the dropSite (typically appended). The drop target should only return this value if the drop site can act as a container for at least one of the flavors in the drag.public static final DropEvent.DropOrientation BEFORE
dropSite. The dragged contents should be inserted before the location identified by the dropSite.public static final DropEvent.DropOrientation AFTER
dropSite. The dragged contents should be inserted after the location identified by the dropSite.public static DropEvent.DropOrientation[] values()
for (DropEvent.DropOrientation c : DropEvent.DropOrientation.values())
System.out.println(c);
public static DropEvent.DropOrientation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null