|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uka.algo.algovis3d.quanten.ChangeEdgePickInformation
public class ChangeEdgePickInformation
This quantum changes the pick-information of one edge or a set of edges. "Picking" an edge means - in this context - that the user clicks on the cone, that represents the edge.
VisualizationQuantum
,
Graph
Constructor Summary | |
---|---|
ChangeEdgePickInformation(edu.uci.ics.jung.graph.Edge edge,
java.lang.String information)
Changes the pick-information of edge to information . |
|
ChangeEdgePickInformation(java.util.Set<edu.uci.ics.jung.graph.Edge> edges,
java.lang.String information)
Changes the pick-information of all edges |
Method Summary | |
---|---|
void |
apply(Visualizer visualizer)
Applies the quantum on the given visualizer and remembers the state of the objects, that were changed. |
void |
reset()
|
java.lang.String |
toString()
|
void |
undo(Visualizer visualizer)
Undoes the changes on the given visualizer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChangeEdgePickInformation(edu.uci.ics.jung.graph.Edge edge, java.lang.String information)
edge
to information
.
edge
- The targetinformation
- The new pick-informationpublic ChangeEdgePickInformation(java.util.Set<edu.uci.ics.jung.graph.Edge> edges, java.lang.String information)
edges to information
. (If
undo()
is called on this object, the pick-information of every target edge
will be set to its old one).
- Parameters:
edges
- The targetsinformation
- The new pick-information
Method Detail |
---|
public void apply(Visualizer visualizer)
VisualizationQuantum
apply
in interface VisualizationQuantum
visualizer
- The visualizer object the quantum is applied on.public void undo(Visualizer visualizer)
VisualizationQuantum
undo
in interface VisualizationQuantum
visualizer
- The visualizer object the quantum is undone on.public void reset()
reset
in interface VisualizationQuantum
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |