|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.rich.dnd.DragSource
public class DragSource
Object representing a drag source for a component.
Constructor Summary | |
---|---|
DragSource(java.util.Set<DnDAction> allowedActions) Constructs a DragSource |
Method Summary | |
---|---|
void |
dragDropEnd(DropEvent event, DnDAction action) Called at the end of a drag and drop operation to inform the dragSource of the choice so that it can clean up. |
java.util.Set<DnDAction> |
getAllowedActions() Returns the drag and drop actions supported by this drag source. |
void |
preDrop(DropEvent event) This method called right before a DropEvent occurs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DragSource(java.util.Set<DnDAction> allowedActions)
allowedActions
- a non-null Set of DnDAction items.java.lang.IllegalArgumentException
- if allowedActions is null.Method Detail |
---|
public java.util.Set<DnDAction> getAllowedActions()
public void preDrop(DropEvent event)
event
- DropEventpublic void dragDropEnd(DropEvent event, DnDAction action)
event
- DropEventaction
- the DnDAction that was performed.
|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |