GoGraph
v1.0


gograph.base.graph
Class GGEdgeView

java.lang.Object
  |
  +--org.jgraph.graph.AbstractCellView
        |
        +--org.jgraph.graph.EdgeView
              |
              +--gograph.base.graph.GGEdgeView
All Implemented Interfaces:
org.jgraph.graph.CellView, java.io.Serializable

public class GGEdgeView
extends org.jgraph.graph.EdgeView

Implementation of a GoGraph edge view.

See Also:
GoGraph, Serialized Form

Field Summary
static GGEdgeRenderer renderer
          Renderer for the class.
 
Fields inherited from class org.jgraph.graph.EdgeView
beginShape, endShape, labelPosition, lineShape, points, shapeHits, sharedPath, source, target
 
Fields inherited from class org.jgraph.graph.AbstractCellView
allAttributes, attributes, cell, cellEditor, childViews, graph, mapper, parent
 
Constructor Summary
GGEdgeView(java.lang.Object cell, org.jgraph.JGraph graph, org.jgraph.graph.CellMapper cm)
          Constructs a edge view for the specified model object and the specified child views.
 
Method Summary
 org.jgraph.graph.CellViewRenderer getRenderer()
          Return a renderer for the class.
 
Methods inherited from class org.jgraph.graph.EdgeView
addPoint, getBounds, getEdgeRenderer, getHandle, getLabelBounds, getLabelPosition, getLength, getPoint, getPointCount, getPoints, getShape, getSource, getTarget, intersects, isAddPointEvent, isConstrainedMoveEvent, isRemovePointEvent, refresh, removePoint, setLabelPosition, setPoint, setSource, setTarget, update
 
Methods inherited from class org.jgraph.graph.AbstractCellView
childUpdated, getAllAttributes, getAttributes, getBounds, getCell, getChildViews, getDescendantViews, getEditor, getGraph, getMapper, getModel, getParentView, getRendererComponent, isLeaf, removeFromParent, scale, setAttributes, setBounds, translate, updateAllAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

renderer

public static GGEdgeRenderer renderer
Renderer for the class.

Constructor Detail

GGEdgeView

public GGEdgeView(java.lang.Object cell,
                  org.jgraph.JGraph graph,
                  org.jgraph.graph.CellMapper cm)
Constructs a edge view for the specified model object and the specified child views.

Parameters:
cell - Reference to the object model.
graph - Reference to the graph.
cm - Reference to the oject CellMapper.
Method Detail

getRenderer

public org.jgraph.graph.CellViewRenderer getRenderer()
Return a renderer for the class.

Overrides:
getRenderer in class org.jgraph.graph.EdgeView
Returns:
Renderer for the class.

GoGraph
v1.0


Copyright (C) 2003 Stewe Frei. All rights reserved.