Class BusContentionApplet.ThreadRenderer
- java.lang.Object
-
- ptolemy.domains.csp.demo.BusContention.BusContentionApplet.ThreadRenderer
-
- All Implemented Interfaces:
NodeRenderer
- Enclosing class:
- BusContentionApplet
public static class BusContentionApplet.ThreadRenderer extends java.lang.Object implements NodeRenderer
ThreadRenderer draws the nodes to represent running threads.
-
-
Constructor Summary
Constructors Constructor Description ThreadRenderer(GraphController controller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Figure
render(java.lang.Object n)
Return the rendered visual representation of this node.
-
-
-
Constructor Detail
-
ThreadRenderer
public ThreadRenderer(GraphController controller)
-
-
Method Detail
-
render
public Figure render(java.lang.Object n)
Return the rendered visual representation of this node.- Specified by:
render
in interfaceNodeRenderer
- Parameters:
n
- The node to render.- Returns:
- The persistent object that is drawn on the screen.
-
-