org.argouml.uml.diagram.state.ui
Class StateDiagramRenderer

java.lang.Object
  |
  +--org.argouml.uml.diagram.state.ui.StateDiagramRenderer

public class StateDiagramRenderer
extends java.lang.Object

This class defines a renderer object for UML State Diagrams. In a State Diagram the following UML objects are displayed with the following Figs:

  UML Object          ---  Fig
  ---------------------------------------
  MState              ---  FigSimpleState
  MCompositeState     ---  FigCompositeState
  MActionState        ---  FigActionState
  MFinalState         ---  FigFinalState
  MPseudostate        ---  FigPseudostate
    Inititial         ---  FigInitialState
    Branch            ---  FigBranchState
    Fork              ---  FigForkState
    Join              ---  FigJoinState
    DeepHistory       ---  FigDeepHistoryState
    ShallowHistory    ---  FigShallowistoryState
  MTransition         ---  FigTransition
  more...
  


Field Summary
protected static Category cat
           
 
Constructor Summary
StateDiagramRenderer()
           
 
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 Category cat
Constructor Detail

StateDiagramRenderer

public StateDiagramRenderer()
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-2003 (20030919)ArgoUML Project HomeArgoUML Cookbook