|
org.netbeans.api.visual 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.visual.action.WidgetAction.WidgetDropTargetDragEvent
public static final class WidgetAction.WidgetDropTargetDragEvent
Represents a drop target drag event.
| Constructor Summary | |
|---|---|
WidgetAction.WidgetDropTargetDragEvent(long id,
DropTargetDragEvent event)
Creates a drop target drag event. |
|
| Method Summary | |
|---|---|
void |
acceptDrag(int dragOperation)
|
DataFlavor[] |
getCurrentDataFlavors()
|
List<DataFlavor> |
getCurrentDataFlavorsAsList()
|
int |
getDropAction()
|
DropTargetContext |
getDropTargetContext()
|
long |
getEventID()
Returns an event id. |
Point |
getPoint()
Returns stored location. |
int |
getSourceActions()
|
Transferable |
getTransferable()
|
boolean |
isDataFlavorSupported(DataFlavor df)
|
void |
rejectDrag()
|
void |
setPoint(Point point)
Sets a new location. |
void |
translatePoint(int x,
int y)
Translates the stored location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WidgetAction.WidgetDropTargetDragEvent(long id,
DropTargetDragEvent event)
id - the event idevent - the Swing event| Method Detail |
|---|
public long getEventID()
getEventID in interface WidgetAction.WidgetEventpublic Point getPoint()
getPoint in interface WidgetAction.WidgetLocationEventpublic void setPoint(Point point)
setPoint in interface WidgetAction.WidgetLocationEventpoint - the new location
public void translatePoint(int x,
int y)
translatePoint in interface WidgetAction.WidgetLocationEventx - the x-axis additiony - the y-axis additionpublic DataFlavor[] getCurrentDataFlavors()
DropTargetDragEventpublic List<DataFlavor> getCurrentDataFlavorsAsList()
DropTargetDragEventpublic boolean isDataFlavorSupported(DataFlavor df)
DropTargetDragEventpublic int getSourceActions()
DropTargetDragEventpublic int getDropAction()
DropTargetDragEventpublic Transferable getTransferable()
DropTargetDragEventpublic DropTargetContext getDropTargetContext()
DropTargetDragEventpublic void acceptDrag(int dragOperation)
DropTargetDragEventpublic void rejectDrag()
DropTargetDragEvent
|
org.netbeans.api.visual 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||