uci.uml.visual
Class StateDiagramRenderer

java.lang.Object
  |
  +--uci.uml.visual.StateDiagramRenderer

public class StateDiagramRenderer
extends Object
implements GraphNodeRenderer, GraphEdgeRenderer

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

  UML Object      ---  Fig
  ---------------------------------------
  State           ---  FigState
  CompositeState  ---  FigCompositeState
  ActionState     ---  FigActionState
  Pseudostate     ---  FigPseudostate
    Final         ---  FigFinalState
    Inititial     ---  FigInitialState
    Branch        ---  FigBranchState
    Fork          ---  FigForkState
    Join          ---  FigJoinState
    History       ---  FigHistoryState
  Transition      ---  FigTransition
  more...
  

See Also:
Serialized Form

Constructor Summary
StateDiagramRenderer()
           
 
Method Summary
 FigEdge getFigEdgeFor(GraphModel gm, Layer lay, Object edge)
          Return a Fig that can be used to represent the given edge
 FigNode getFigNodeFor(GraphModel gm, Layer lay, 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
 

Constructor Detail

StateDiagramRenderer

public StateDiagramRenderer()
Method Detail

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