|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.event.MouseInputAdapter
org.ceryle.graph.tm.TMNavigateUI.AssociateTopicListener
public class TMNavigateUI.AssociateTopicListener
MouseMotionListener extension to handle dragging a provisional node, creating a new Topic and optionally associating it with the initial mouseOverN. See the individual method descriptions for more details.
| Constructor Summary | |
|---|---|
TMNavigateUI.AssociateTopicListener(TNode tnode,
MouseEvent e)
|
|
| Method Summary | |
|---|---|
void |
disableListener()
Disables the listener and returns the graph to normal functioning. |
void |
initializeDrag(MouseEvent e)
Upon initialization, temporarily fixes the moused over TNode, then creates a phantom (marked provisional) TNode linked by an arrow-style GraphEdge. |
void |
mouseDragged(MouseEvent e)
Drags the phantom TNode. |
void |
mouseExited(MouseEvent e)
|
void |
mouseReleased(MouseEvent e)
|
void |
releaseDrag(MouseEvent e)
Reverts the graph back to its pre-phantom state. |
| Methods inherited from class javax.swing.event.MouseInputAdapter |
|---|
mouseClicked, mouseEntered, mouseMoved, mousePressed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TMNavigateUI.AssociateTopicListener(TNode tnode,
MouseEvent e)
| Method Detail |
|---|
public void initializeDrag(MouseEvent e)
public void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenermouseDragged in class MouseInputAdapterpublic void releaseDrag(MouseEvent e)
public void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenermouseReleased in class MouseInputAdapterpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenermouseExited in class MouseInputAdapterpublic void disableListener()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||