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.ListenToActorAction
AttributeController.Access
IconController.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, renderHighlight
getConfigureMenuFactory
_drawChildren, _getCompositeFigure, _hide, _isPropertySet, _renderNode, addNode, drawNode, getLocation, hasLocation, locateFigure, setLocation, setSnapResolution
addNode, addNode, addNode, clearNode, drawNode, getController, getNodeInteractor, getNodeRenderer, removeNode, setNodeInteractor, setNodeRenderer
protected 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.