|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.swing.driver.DragAndDrop
ComponentDragAndDrop
instead. This class will be removed in version 2.0.
@Deprecated public class DragAndDrop
Understands drag and drop.
Field Summary | |
---|---|
static int |
DRAG_THRESHOLD
Deprecated. Number of pixels traversed before a drag starts. |
Constructor Summary | |
---|---|
DragAndDrop(Robot robot)
Deprecated. use instead. |
Method Summary | |
---|---|
void |
drag(Component target,
Point where)
Deprecated. use instead. |
void |
dragOver(Component target,
Point where)
Deprecated. use instead. |
void |
drop(Component target,
Point where)
Deprecated. use instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DRAG_THRESHOLD
Constructor Detail |
---|
@Deprecated public DragAndDrop(Robot robot)
ComponentDragAndDrop
instead.
DragAndDrop
.
robot
- the robot to use to simulate user input.Method Detail |
---|
@RunsInEDT @Deprecated public void drag(Component target, Point where)
ComponentDragAndDrop
instead.
target
- the target component.where
- the point where to start the drag action.@RunsInEDT @Deprecated public void drop(Component target, Point where)
ComponentDragAndDrop
instead.
This method is tuned for native drag/drop operations, so if you get odd behavior, you might try using a simple
and Robot.moveMouse(Component, int, int)
.
Robot.releaseMouseButtons()
target
- the target component.where
- the point where the drag operation ends.
ActionFailedException
- if there is no drag action in effect.@Deprecated public void dragOver(Component target, Point where)
ComponentDragAndDrop
instead.
target
- the target component.where
- the point to drag over.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |