|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jmex.awt.swingui.dnd.JMEDragSourceEvent
public class JMEDragSourceEvent
| Constructor Summary | |
|---|---|
JMEDragSourceEvent(java.awt.Point point,
int action)
a class to capsule drag events delivered to the drag source |
|
JMEDragSourceEvent(java.awt.Point point,
int action,
boolean success)
a class to capsule drag events delivered to the drag source |
|
JMEDragSourceEvent(java.awt.Point point,
int action,
boolean success,
boolean freeDrop)
a class to capsule drag events delivered to the drag source |
|
JMEDragSourceEvent(java.awt.Point point,
int action,
java.awt.Component target)
a class to capsule drag events delivered to the drag source |
|
| Method Summary | |
|---|---|
int |
getAction()
|
boolean |
getDropSuccess()
|
java.awt.Point |
getPoint()
|
java.awt.Component |
getTarget()
|
boolean |
isFreeDrop()
check if this is a drop outside of a drop target |
protected void |
setDropSuccess(boolean success)
|
void |
setFreeDrop(boolean freeDrop)
set the free drop flag |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JMEDragSourceEvent(java.awt.Point point,
int action)
point - the point the event occuredaction - the action (see DndConstants in swing)
public JMEDragSourceEvent(java.awt.Point point,
int action,
boolean success)
point - the point the event occuredaction - the action (see DndConstants in swing)success - flag a successful dnd event
public JMEDragSourceEvent(java.awt.Point point,
int action,
java.awt.Component target)
point - the point the event occuredaction - the action (see DndConstants in swing)target - the target component this event occured
public JMEDragSourceEvent(java.awt.Point point,
int action,
boolean success,
boolean freeDrop)
point - the point the event occuredaction - the action (see DndConstants in swing)success - flag a successful dnd eventfreeDrop - flag a drop outside of drop targets| Method Detail |
|---|
public java.awt.Point getPoint()
public int getAction()
protected void setDropSuccess(boolean success)
public boolean getDropSuccess()
public boolean isFreeDrop()
public void setFreeDrop(boolean freeDrop)
freeDrop - TODOpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.awt.Component getTarget()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||