uci.uml.visual
Class ClassDiagramRenderer
java.lang.Object
|
+--uci.uml.visual.ClassDiagramRenderer
- public class ClassDiagramRenderer
- extends Object
- implements GraphNodeRenderer, GraphEdgeRenderer
This class defines a renderer object for UML Class Diagrams. In a
Class Diagram the following UML objects are displayed with the
following Figs:
UML Object --- Fig
---------------------------------------
MMClass --- FigClass
Interface --- FigClass (needs-more-work?)
Generalization --- FigGeneralization
Realization --- FigGeneralization (needs-more-work)
Association --- FigAssociation
Dependency --- FigDependency
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ClassDiagramRenderer
public ClassDiagramRenderer()
getFigNodeFor
public FigNode getFigNodeFor(GraphModel gm,
Layer lay,
Object node)
- Return a Fig that can be used to represent the given node
- Specified by:
- getFigNodeFor in interface GraphNodeRenderer
getFigEdgeFor
public FigEdge getFigEdgeFor(GraphModel gm,
Layer lay,
Object edge)
- Return a Fig that can be used to represent the given edge
- Specified by:
- getFigEdgeFor in interface GraphEdgeRenderer