|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindfusion.diagramming.Interaction
public class Interaction
Tracks mouse messages to implement user interaction with the diagram.
Constructor Summary | |
---|---|
protected |
Interaction(DiagramView diagramView)
Initializes a new instance of the Interaction class. |
Method Summary | |
---|---|
protected void |
cancelDrag()
Invoked when the operation should be cancelled. |
protected DiagramView |
getDiagramView()
Gets a reference to the DiagramView control this interaction is associated with. |
protected void |
mouseDragged(java.awt.Point mousePosition,
java.awt.event.MouseEvent e)
|
protected void |
mouseMoved(java.awt.Point mousePosition,
java.awt.event.MouseEvent e)
Invoked when the mouse moves. |
protected void |
mousePressed(java.awt.Point mousePosition,
java.awt.event.MouseEvent e)
Invoked when the mouse button is pressed. |
protected void |
mouseReleased(java.awt.Point mousePosition,
java.awt.event.MouseEvent e)
Invoked when the mouse button is released. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Interaction(DiagramView diagramView)
Interaction
class.
diagramView
- A DiagramView
where the interaction takes place.Method Detail |
---|
protected void mousePressed(java.awt.Point mousePosition, java.awt.event.MouseEvent e)
mousePosition
- A Point instance that specifies the mouse pointer position.protected void mouseMoved(java.awt.Point mousePosition, java.awt.event.MouseEvent e)
mousePosition
- A Point instance that specifies the mouse pointer position.protected void mouseReleased(java.awt.Point mousePosition, java.awt.event.MouseEvent e)
mousePosition
- A Point instance that specifies the mouse pointer position.protected void mouseDragged(java.awt.Point mousePosition, java.awt.event.MouseEvent e)
protected void cancelDrag()
protected DiagramView getDiagramView()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |