Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.6.0)
E10684-07


oracle.adf.view.rich.event
Enum DropEvent.DropOrientation

java.lang.Object
  extended by java.lang.Enum<DropEvent.DropOrientation>
      extended by oracle.adf.view.rich.event.DropEvent.DropOrientation

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DropEvent.DropOrientation>
Enclosing class:
DropEvent

public static enum DropEvent.DropOrientation
extends java.lang.Enum<DropEvent.DropOrientation>

Possible orientations that the drop might occur relative to the dropSite in the dropComponent.

See Also:
DropEvent.getDropComponent(), DropEvent.getDropSite()

Enum Constant Summary
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.

 

Method Summary
static DropEvent.DropOrientation valueOf(java.lang.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.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

ON

public static final DropEvent.DropOrientation ON
The Drop is on the dropComponent. This value is often returned for drop targets that don't have internal dropSites.

INSIDE

public static final DropEvent.DropOrientation INSIDE
The Drop is inside the 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.

BEFORE

public static final DropEvent.DropOrientation BEFORE
The Drop is before the dropSite. The dragged contents should be inserted before the location identified by the dropSite.

AFTER

public static final DropEvent.DropOrientation AFTER
The Drop is after the dropSite. The dragged contents should be inserted after the location identified by the dropSite.

Method Detail

values

public static DropEvent.DropOrientation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DropEvent.DropOrientation c : DropEvent.DropOrientation.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DropEvent.DropOrientation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.6.0)
E10684-07


Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.