public class ActorInstanceController extends ActorController
NOTE: There should be only one instance of this class associated with a given GraphController. This is because this controller listens for changes to the graph and re-renders the ports of any actor instance in the graph when the graph changes. If there is more than one instance, this rendering will be done twice, which can result in bugs like port labels appearing twice.
| Red (johnr) |
| Red (eal) |
ActorController.ListenToActorActionAttributeController.AccessIconController.IconRenderer| Modifier and Type | Field and Description |
|---|---|
protected ptolemy.vergil.actor.ActorInstanceController.ConvertToClassAction |
_convertToClassAction
The action that handles creating an instance from a class.
|
_access, _editIconAction, _flipPortsHorizontal, _flipPortsVertical, _lookInsideAction, _openInstanceAction, _removeIconAction, _rotatePortsClockwise, _rotatePortsCounterclockwise_appearanceMenuActionFactory, _listenToAction, _renameAction, FULL, PARTIAL_configureAction, _configureMenuFactory, _menuCreator, _menuFactory_configuration_decoratable, CLASS_ELEMENT_HIGHLIGHT_COLOR| Constructor and Description |
|---|
ActorInstanceController(GraphController controller)
Create an actor instance controller associated with the specified graph
controller with full access.
|
ActorInstanceController(GraphController controller,
AttributeController.Access access)
Create an entity controller associated with the specified graph
controller with the specified access.
|
_getComponentType, addHotKeys, addMenuItemFactory, setConfiguration_moveToFirstDescription, _moveToLastDescription, renderDecoratorHighlight, renderHighlightgetConfigureMenuFactory_drawChildren, _getCompositeFigure, _hide, _isPropertySet, _renderNode, addNode, drawNode, getLocation, hasLocation, locateFigure, setLocation, setSnapResolutionaddNode, addNode, addNode, clearNode, drawNode, getController, getNodeInteractor, getNodeRenderer, removeNode, setNodeInteractor, setNodeRendererprotected ptolemy.vergil.actor.ActorInstanceController.ConvertToClassAction _convertToClassAction
public ActorInstanceController(GraphController controller)
controller - The associated graph controller.public ActorInstanceController(GraphController controller, AttributeController.Access access)
controller - The associated graph controller.access - The access.