|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
edu.uci.ics.jung.visualization.control.LabelEditingGraphMousePlugin<V,E>
public class LabelEditingGraphMousePlugin<V,E>
| Field Summary | |
|---|---|
protected E |
edge
the picked Edge, if any |
protected V |
vertex
the picked Vertex, if any |
| Fields inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin |
|---|
cursor, down, modifiers |
| Constructor Summary | |
|---|---|
LabelEditingGraphMousePlugin()
create an instance with default settings |
|
LabelEditingGraphMousePlugin(int selectionModifiers)
create an instance with overides |
|
| Method Summary | |
|---|---|
void |
mouseClicked(MouseEvent e)
For primary modifiers (default, MouseButton1): pick a single Vertex or Edge that is under the mouse pointer. |
void |
mouseEntered(MouseEvent e)
|
void |
mouseExited(MouseEvent e)
|
void |
mousePressed(MouseEvent e)
If the mouse is over a picked vertex, drag all picked vertices with the mouse. |
void |
mouseReleased(MouseEvent e)
If the mouse is dragging a rectangle, pick the Vertices contained in that rectangle clean up settings from mousePressed |
| Methods inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin |
|---|
checkModifiers, getCursor, getModifiers, setCursor, setModifiers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected V vertex
protected E edge
| Constructor Detail |
|---|
public LabelEditingGraphMousePlugin()
public LabelEditingGraphMousePlugin(int selectionModifiers)
selectionModifiers - for primary selectionaddToSelectionModifiers - for additional selection| Method Detail |
|---|
public void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenere - the eventpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||