|
||||||||||
| 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
ptolemy.vergil.kernel.AttributeController
ptolemy.vergil.actor.IOPortController
This class provides interaction with nodes that represent Ptolemy II ports on an actor. It provides a double click binding and context menu entry to edit the parameters of the port ("Configure") and a command to get documentation. It can have one of two access levels, FULL or PARTIAL. If the access level is FULL, the the context menu also contains a command to rename the node. Note that whether the port is an input or output or multiport cannot be controlled via this interface. The "Configure Ports" command of the container should be invoked instead.
| Red (johnr) |
| Red (eal) |
| Nested Class Summary | |
class |
IOPortController.EntityPortRenderer
Render the ports of components as triangles. |
| Nested classes inherited from class ptolemy.vergil.kernel.AttributeController |
AttributeController.Access |
| Nested classes inherited from class ptolemy.vergil.basic.IconController |
IconController.IconRenderer |
| Nested classes inherited from class ptolemy.vergil.basic.NamedObjController |
NamedObjController.GetDocumentationAction |
| Field Summary |
| Fields inherited from class ptolemy.vergil.kernel.AttributeController |
FULL, PARTIAL |
| 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 | |
IOPortController(GraphController controller)
Create a port controller associated with the specified graph controller. |
|
IOPortController(GraphController controller,
AttributeController.Access access)
Create a port 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 IOPortController(GraphController controller)
controller - The associated graph controller.
public IOPortController(GraphController controller,
AttributeController.Access access)
controller - The associated graph controller.access - The access level.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||