|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdiva.graph.AbstractGraphController
ptolemy.vergil.basic.BasicGraphController
ptolemy.vergil.basic.WithIconGraphController
A base class for Ptolemy II graph controllers for objects that can have icons. This adds to the base class the context menu items "Edit Custom Icon" and "Remove Custom Icon". This also adds a port controller.
| Red (johnr) |
| Red (eal) |
| Nested Class Summary | |
class |
WithIconGraphController.NewPortAction
An action to create a new port. |
| Nested classes inherited from class ptolemy.vergil.basic.BasicGraphController |
BasicGraphController.OpenBaseClassAction, BasicGraphController.SchematicContextMenuFactory, BasicGraphController.UnitSolverDialogAction |
| Field Summary | |
protected static EditIconAction |
_editIconAction
The edit custom icon action. |
protected NamedObjController |
_portController
The port controller. |
protected static RemoveIconAction |
_removeIconAction
The remove custom icon action. |
| Fields inherited from class ptolemy.vergil.basic.BasicGraphController |
_animated, _animationRenderer, _configureAction, _menuCreator, _menuFactory, _openBaseClassAction, _unitSolverDialogAction |
| Constructor Summary | |
WithIconGraphController()
Create a new controller. |
|
| Method Summary | |
protected void |
_createControllers()
Create the controllers for nodes in this graph. |
protected void |
initializeInteraction()
Initialize all interaction on the graph pane. |
void |
setConfiguration(Configuration configuration)
Set the configuration. |
| Methods inherited from class ptolemy.vergil.basic.BasicGraphController |
_initializeInteraction, addToMenuAndToolbar, clearAnimation, event, getAnimationDelay, getConfiguration, getFrame, getNodeController, message, setAnimationDelay, setFigure, setFrame, valueChanged |
| Methods inherited from class diva.graph.AbstractGraphController |
addEdge, addEdge, addGraphViewListener, addNode, addNode, addNode, addNode, clear, clearEdge, clearNode, dispatch, drawEdge, drawNode, drawNode, getEdgeController, getFigure, getGraphModel, getGraphPane, getSelectionModel, removeEdge, removeGraphViewListener, removeNode, rerender, rerenderEdge, rerenderNode, setGraphModel, setGraphPane, setSelectionModel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static EditIconAction _editIconAction
protected NamedObjController _portController
protected static RemoveIconAction _removeIconAction
| Constructor Detail |
public WithIconGraphController()
| Method Detail |
public void setConfiguration(Configuration configuration)
setConfiguration in class BasicGraphControllerconfiguration - The configuration.protected void _createControllers()
_createControllers in class BasicGraphControllerprotected void initializeInteraction()
initializeInteraction in class BasicGraphController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||