|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.graph.AbstractCellView
org.jgraph.graph.EdgeView
com.jgraph.example.fastgraph.FastEdgeView
public class FastEdgeView
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jgraph.graph.EdgeView |
---|
org.jgraph.graph.EdgeView.EdgeHandle |
Field Summary |
---|
Fields inherited from class org.jgraph.graph.EdgeView |
---|
beginShape, endShape, LEGACY_DISCONNECTABLE, lineShape, renderer, sharedPath |
Fields inherited from class org.jgraph.graph.AbstractCellView |
---|
cellEditor |
Constructor Summary | |
---|---|
FastEdgeView(java.lang.Object cell)
|
Method Summary | |
---|---|
java.util.Map |
changeAttributes(org.jgraph.graph.GraphLayoutCache cache,
java.util.Map change)
|
java.awt.geom.Rectangle2D |
getBounds()
Returns the location for this portview. |
org.jgraph.graph.CellViewRenderer |
getRenderer()
|
boolean |
intersects(org.jgraph.JGraph graph,
java.awt.geom.Rectangle2D rect)
Returns true if this view intersects the given rectangle. |
void |
setAttributes(org.jgraph.graph.AttributeMap attributes)
|
void |
update(org.jgraph.graph.GraphLayoutCache cache)
Update attributes and recurse children. |
Methods inherited from class org.jgraph.graph.EdgeView |
---|
addExtraLabel, addPoint, getExtraLabelPosition, getFirstPointOfSegment, getHandle, getLabelPosition, getLabelVector, getLength, getPerimeterPoint, getPoint, getPointCount, getPoints, getShape, getSource, getSourceParentView, getTarget, getTargetParentView, isLoop, refresh, removeExtraLabel, removePoint, setExtraLabelPosition, setLabelPosition, setPoint, setSource, setTarget |
Methods inherited from class org.jgraph.graph.AbstractCellView |
---|
childUpdated, getAllAttributes, getAttributes, getBounds, getCell, getCenterPoint, getChildViews, getDescendantViews, getEditor, getParentView, getRendererComponent, isLeaf, removeFromParent, scale, setBounds, setCell, translate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FastEdgeView(java.lang.Object cell)
cell
- Method Detail |
---|
public org.jgraph.graph.CellViewRenderer getRenderer()
getRenderer
in class org.jgraph.graph.EdgeView
public void setAttributes(org.jgraph.graph.AttributeMap attributes)
setAttributes
in class org.jgraph.graph.AbstractCellView
public java.util.Map changeAttributes(org.jgraph.graph.GraphLayoutCache cache, java.util.Map change)
changeAttributes
in interface org.jgraph.graph.CellView
changeAttributes
in class org.jgraph.graph.AbstractCellView
public boolean intersects(org.jgraph.JGraph graph, java.awt.geom.Rectangle2D rect)
intersects
in interface org.jgraph.graph.CellView
intersects
in class org.jgraph.graph.EdgeView
public void update(org.jgraph.graph.GraphLayoutCache cache)
update
in interface org.jgraph.graph.CellView
update
in class org.jgraph.graph.EdgeView
public java.awt.geom.Rectangle2D getBounds()
getBounds
in interface org.jgraph.graph.CellView
getBounds
in class org.jgraph.graph.EdgeView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |