net.simplace.simulation.graphpanel.event.SimLabelMousePlugin
public class SimLabelMousePlugin extends
edu.uci.ics.jung.visualization.control.LabelEditingGraphMousePlugin
implements java.awt.event.MouseListener {
// Public Constructors
public SimLabelMousePlugin();
public SimLabelMousePlugin(int selectionModifiers);
// Public Instance Methods public void
mouseClicked(MouseEvent e);
// Overrides
edu.uci.ics.jung.visualization.control.LabelEditingGraphMousePlugin
For primary modifiers (default, MouseButton1): pick a single Vertex or Edge that is under the mouse pointer. If no
Vertex or edge is under the pointer, unselect all picked Vertices and edges, and set up to draw a rectangle for
multiple selection of contained Vertices. For additional selection (default Shift+MouseButton1): Add to the
selection, a single Vertex or Edge that is under the mouse pointer. If a previously picked Vertex or Edge is under
the pointer, it is un-picked. If no vertex or Edge is under the pointer, set up to draw a multiple selection
rectangle (as above) but do not unpick previously picked elements.
public void mouseReleased(MouseEvent e);
// Overrides
edu.uci.ics.jung.visualization.control.LabelEditingGraphMousePlugin
If the mouse is dragging a rectangle, pick the Vertices contained in that rectangle clean up settings from
mousePressed
public void mousePressed(MouseEvent e);
// Overrides
edu.uci.ics.jung.visualization.control.LabelEditingGraphMousePlugin
If the mouse is over a picked vertex, drag all picked vertices with the mouse. If the mouse is not over a Vertex,
draw the rectangle to select multiple Vertices
public void mouseEntered(MouseEvent e);
// Overrides
edu.uci.ics.jung.visualization.control.LabelEditingGraphMousePlugin
public void mouseExited(MouseEvent e);
// Overrides
edu.uci.ics.jung.visualization.control.LabelEditingGraphMousePlugin
}
Hierarchy: java.lang.Object - edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin (edu.uci.ics.jung.visualization.control.GraphMousePlugin) - edu.uci.ics.jung.visualization.control.LabelEditingGraphMousePlugin (java.awt.event.MouseListener) - SimLabelMousePlugin (java.awt.event.MouseListener)