|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--quicktime.app.event.DragAdapter
|
+--quicktime.app.actions.DragAction
The DragAction is a drag adapter that delegates the role of responding to a mouse drag event to the TransformMatrix transformer. It is a utility class that assumes that the mousePressed method will select a Transformable target and the mouseDragged method will alter the matrix of this target in some manner.
| Constructor Summary | |
DragAction(TransformMatrix transformer)
Deprecated. since QTJava 6.1 |
|
| Method Summary | |
Actionable |
getActionable()
Deprecated. since QTJava 6.1 |
TransformMatrix |
getTransformer()
Deprecated. since QTJava 6.1 |
void |
mouseDragged(QTMouseEvent event)
Deprecated. since QTJava 6.1 |
void |
mousePressed(QTMouseEvent event)
Deprecated. since QTJava 6.1 |
void |
setActionable(Actionable actor)
Deprecated. since QTJava 6.1 |
void |
setTransformer(TransformMatrix transformer)
Deprecated. since QTJava 6.1 |
| Methods inherited from class quicktime.app.event.DragAdapter |
matchModifierFilter, mouseClicked, mouseMoved, mouseReleased |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DragAction(TransformMatrix transformer)
transformer - this is the object that will apply the matrix transformations in reponse
to a mouseDragged event.| Method Detail |
public Actionable getActionable()
public void setActionable(Actionable actor)
public void setTransformer(TransformMatrix transformer)
public TransformMatrix getTransformer()
public void mousePressed(QTMouseEvent event)
mousePressed in interface MouseButtonListenermousePressed in class DragAdapterevent - the mouse event that triggers the drag actionpublic void mouseDragged(QTMouseEvent event)
mouseDragged in interface MouseMoveListenermouseDragged in class DragAdapterevent - the mouse event that triggers the drag action
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||