com.bonevich.erj.diagram
Class ERDiagramGraphRenderer
java.lang.Object
|
+--com.bonevich.erj.diagram.ERDiagramGraphRenderer
- All Implemented Interfaces:
- org.tigris.gef.graph.GraphEdgeRenderer, org.tigris.gef.graph.GraphNodeRenderer, java.io.Serializable
- public class ERDiagramGraphRenderer
- extends java.lang.Object
- implements org.tigris.gef.graph.GraphNodeRenderer, org.tigris.gef.graph.GraphEdgeRenderer
This class defines the mapping of model elements to their
graphical representation.
- See Also:
- Serialized Form
|
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 |
ERDiagramGraphRenderer
public ERDiagramGraphRenderer()
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
Copyright © 2001-2003 bonevich.com. All Rights Reserved.