Package ptolemy.vergil.modal
Class StateController.StateRenderer
- java.lang.Object
-
- ptolemy.vergil.modal.StateController.StateRenderer
-
- All Implemented Interfaces:
NodeRenderer
- Enclosing class:
- StateController
public static class StateController.StateRenderer extends java.lang.Object implements NodeRenderer
Render the state as a circle, unless it has a custom icon.
-
-
Constructor Summary
Constructors Constructor Description StateRenderer(GraphModel model)
Construct a state renderer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Figure
render(java.lang.Object n)
Render an object.
-
-
-
Constructor Detail
-
StateRenderer
public StateRenderer(GraphModel model)
Construct a state renderer.- Parameters:
model
- The GraphModel.
-
-
Method Detail
-
render
public Figure render(java.lang.Object n)
Render an object.- Specified by:
render
in interfaceNodeRenderer
- Parameters:
n
- The object to be rendered. This object should of type Locatable.- Returns:
- A Figure.
-
-