|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdiva.graph.BasicNodeController
ptolemy.vergil.basic.LocatableNodeController
ptolemy.vergil.basic.NamedObjController
ptolemy.vergil.basic.ParameterizedNodeController
ptolemy.vergil.basic.IconController
This class provides interaction with nodes that represent Ptolemy II objects that are represented on screen as icons, such as attributes and entities. It provides a double click binding to edit the parameters of the node, and a context menu containing a command to edit parameters ("Configure"). This adds to the base class the ability to render an icon for the object being controlled, where the icon is specified by a contained attribute of class EditorIcon (typically, but not necessarily named "_icon").
| Red (johnr) |
| Red (eal) |
| Nested Class Summary | |
class |
IconController.IconRenderer
An icon renderer. |
| Nested classes inherited from class ptolemy.vergil.basic.NamedObjController |
NamedObjController.GetDocumentationAction |
| Field Summary |
| Fields inherited from class ptolemy.vergil.basic.ParameterizedNodeController |
_configureAction, _menuCreator, _menuFactory |
| Fields inherited from class ptolemy.vergil.basic.NamedObjController |
_configuration |
| Fields inherited from class ptolemy.vergil.basic.LocatableNodeController |
CLASS_ELEMENT_HIGHLIGHT_COLOR |
| Constructor Summary | |
IconController(GraphController controller)
Create a controller associated with the specified graph controller. |
|
| Methods inherited from class ptolemy.vergil.basic.NamedObjController |
setConfiguration |
| Methods inherited from class ptolemy.vergil.basic.LocatableNodeController |
_drawChildren, _hide, _renderNode, addNode, drawNode, getLocation, hasLocation, locateFigure, setLocation, setSnapResolution |
| Methods inherited from class diva.graph.BasicNodeController |
addNode, addNode, addNode, clearNode, drawNode, getController, getNodeInteractor, getNodeRenderer, removeNode, setNodeInteractor, setNodeRenderer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IconController(GraphController controller)
controller - The associated graph controller.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||