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

java.lang.Object
  extended byorg.argouml.uml.diagram.static_structure.ui.ClassDiagramRenderer
All Implemented Interfaces:
org.tigris.gef.graph.GraphEdgeRenderer, org.tigris.gef.graph.GraphNodeRenderer, java.io.Serializable

public class ClassDiagramRenderer
extends java.lang.Object
implements org.tigris.gef.graph.GraphNodeRenderer, org.tigris.gef.graph.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
  ---------------------------------------
  Class         ---  FigClass
  Interface       ---  FigClass (TODO?)
  Generalization  ---  FigGeneralization
  Realization     ---  FigDependency (TODO)
  Association     ---  FigAssociation
  Dependency      ---  FigDependency
  

See Also:
Serialized Form

Field Summary
protected static org.apache.log4j.Logger cat
           
(package private) static long serialVersionUID
           
 
Constructor Summary
ClassDiagramRenderer()
           
 
Method Summary
 org.tigris.gef.presentation.FigEdge getFigEdgeFor(org.tigris.gef.graph.GraphModel gm, org.tigris.gef.base.Layer lay, java.lang.Object edge)
          Return a Fig that can be used to represent the given edge
 org.tigris.gef.presentation.FigNode getFigNodeFor(org.tigris.gef.graph.GraphModel gm, org.tigris.gef.base.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 org.apache.log4j.Logger cat

serialVersionUID

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

ClassDiagramRenderer

public ClassDiagramRenderer()
Method Detail

getFigNodeFor

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

Specified by:
getFigNodeFor in interface org.tigris.gef.graph.GraphNodeRenderer

getFigEdgeFor

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

Specified by:
getFigEdgeFor in interface org.tigris.gef.graph.GraphEdgeRenderer


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