org.argouml.uml.diagram.static_structure.ui
Class ClassDiagramRenderer

java.lang.Object
  |
  +--org.argouml.uml.diagram.static_structure.ui.ClassDiagramRenderer

public class ClassDiagramRenderer
extends java.lang.Object

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
  ---------------------------------------
  Class         ---  FigClass
  Interface       ---  FigClass (TODO?)
  Generalization  ---  FigGeneralization
  Realization     ---  FigDependency (TODO)
  Association     ---  FigAssociation
  Dependency      ---  FigDependency
  


Field Summary
protected static Logger cat
           
(package private) static long serialVersionUID
           
 
Constructor Summary
ClassDiagramRenderer()
           
 
Method Summary
 FigEdge getFigEdgeFor(GraphModel gm, Layer lay, java.lang.Object edge)
          Return a Fig that can be used to represent the given edge
 FigNode getFigNodeFor(GraphModel gm, Layer lay, java.lang.Object node)
          Return a Fig that can be used to represent the given node
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

protected static Logger cat

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ClassDiagramRenderer

public ClassDiagramRenderer()
Method Detail

getFigNodeFor

public FigNode getFigNodeFor(GraphModel gm,
                             Layer lay,
                             java.lang.Object node)
Return a Fig that can be used to represent the given node


getFigEdgeFor

public FigEdge getFigEdgeFor(GraphModel gm,
                             Layer lay,
                             java.lang.Object edge)
Return a Fig that can be used to represent the given edge



ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook