org.argouml.uml.diagram.state.ui
Class StateDiagramRenderer
java.lang.Object
org.argouml.uml.diagram.UmlDiagramRenderer
org.argouml.uml.diagram.state.ui.StateDiagramRenderer
- All Implemented Interfaces:
- org.tigris.gef.graph.GraphEdgeRenderer, org.tigris.gef.graph.GraphNodeRenderer, Serializable
- Direct Known Subclasses:
- ActivityDiagramRenderer
- public class StateDiagramRenderer
- extends UmlDiagramRenderer
This class defines a renderer object for UML Statechart Diagrams. In a
Statechart Diagram the following UML objects are displayed with the
following Figs:
UML Object --- Fig
---------------------------------------
State --- FigSimpleState
CompositeState --- FigCompositeState
ActionState --- FigActionState
FinalState --- FigFinalState
Pseudostate --- FigPseudostate
Inititial --- FigInitialState
Branch (Choice) --- FigBranchState
Junction --- FigJunctionState
Fork --- FigForkState
Join --- FigJoinState
DeepHistory --- FigDeepHistoryState
ShallowHistory --- FigShallowistoryState
SynchState --- FigSynchState
Transition --- FigTransition
more...
- See Also:
- Serialized Form
Method Summary |
org.tigris.gef.presentation.FigEdge |
getFigEdgeFor(org.tigris.gef.graph.GraphModel gm,
org.tigris.gef.base.Layer lay,
Object edge,
Map styleAttributes)
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,
Object node,
Map styleAttributes)
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 |
LOG
private static final Logger LOG
- Logger.
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
StateDiagramRenderer
public StateDiagramRenderer()
getFigNodeFor
public org.tigris.gef.presentation.FigNode getFigNodeFor(org.tigris.gef.graph.GraphModel gm,
org.tigris.gef.base.Layer lay,
Object node,
Map styleAttributes)
- Return a Fig that can be used to represent the given node.
- See Also:
GraphNodeRenderer.getFigNodeFor(
org.tigris.gef.graph.GraphModel, org.tigris.gef.base.Layer,
java.lang.Object, java.util.Map)
getFigEdgeFor
public org.tigris.gef.presentation.FigEdge getFigEdgeFor(org.tigris.gef.graph.GraphModel gm,
org.tigris.gef.base.Layer lay,
Object edge,
Map styleAttributes)
- Return a Fig that can be used to represent the given edge.
- See Also:
GraphEdgeRenderer.getFigEdgeFor(
org.tigris.gef.graph.GraphModel, org.tigris.gef.base.Layer,
java.lang.Object, java.util.Map)