org.argouml.uml.diagram.static_structure.ui
Class ClassDiagramRenderer
java.lang.Object
org.argouml.uml.diagram.UmlDiagramRenderer
org.argouml.uml.diagram.static_structure.ui.ClassDiagramRenderer
- All Implemented Interfaces:
- GraphEdgeRenderer, GraphNodeRenderer, Serializable
- public class ClassDiagramRenderer
- extends UmlDiagramRenderer
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 --- FigInterface
Instance --- FigInstance
Model --- FigModel
Subsystem --- FigSubsystem
Package --- FigPackage
Comment --- FigComment
(CommentEdge) --- FigEdgeNote
Generalization --- FigGeneralization
Realization --- FigRealization
Permission --- FigPermission
Usage --- FigUsage
Dependency --- FigDependency
Association --- FigAssociation
AssociationClass --- FigAssociationClass
Dependency --- FigDependency
Link --- FigLink
DataType --- FigDataType
Stereotype --- FigStereotypeDeclaration
- 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,
Map styleAttributes)
- See Also:
Return a Fig that can be used to represent the given node.
getFigEdgeFor
public FigEdge getFigEdgeFor(GraphModel gm,
Layer lay,
Object edge,
Map styleAttribute)
- Return a Fig that can be used to represent the given edge.
Throws IllegalArgumentException if the edge is not of an expected type.
Throws IllegalStateException if the edge generated has no source
or dest port.
- See Also:
GraphEdgeRenderer.getFigEdgeFor(
org.tigris.gef.graph.GraphModel, org.tigris.gef.base.Layer,
java.lang.Object, java.util.Map)