Package | Description |
---|---|
org.jgraph.graph |
Graphs are made up of a number of classes and interfaces defined in their own
package - the
jgraph.graph package. |
org.jgraph.util |
Modifier and Type | Field and Description |
---|---|
protected EdgeView |
EdgeView.EdgeHandle.edge |
protected EdgeView |
EdgeView.EdgeHandle.orig |
protected EdgeView |
EdgeView.EdgeHandle.relevantEdge |
protected EdgeView |
EdgeRenderer.view
Cache the current edgeview for drawing
|
Modifier and Type | Method and Description |
---|---|
protected EdgeView |
DefaultCellViewFactory.createEdgeView(Edge cell)
Deprecated.
replaced by
DefaultCellViewFactory.createEdgeView(Object) since
JGraph no longer exposes dependecies on GraphCell subclasses
(Port, Edge) |
protected EdgeView |
DefaultCellViewFactory.createEdgeView(java.lang.Object cell)
Constructs an EdgeView view for the specified object.
|
Modifier and Type | Method and Description |
---|---|
protected ConnectionSet |
EdgeView.EdgeHandle.createConnectionSet(EdgeView view,
boolean verbose) |
java.awt.geom.Rectangle2D |
EdgeRenderer.getExtraLabelBounds(JGraph paintingContext,
EdgeView view,
int index)
Returns the label bounds of the specified view in the given graph.
|
java.awt.geom.Point2D |
EdgeRenderer.getExtraLabelPosition(EdgeView view,
int index)
Returns the label position of the specified view in the given graph.
|
java.awt.Dimension |
EdgeRenderer.getExtraLabelSize(JGraph paintingContext,
EdgeView view,
int index)
Returns the label size of the specified view in the given graph.
|
java.awt.geom.Rectangle2D |
EdgeRenderer.getLabelBounds(JGraph paintingContext,
EdgeView view)
Returns the label bounds of the specified view in the given graph.
|
java.awt.geom.Point2D |
EdgeRenderer.getLabelPosition(EdgeView view)
Returns the label position of the specified view in the given graph.
|
java.awt.Dimension |
EdgeRenderer.getLabelSize(EdgeView view,
java.lang.String label)
Returns the label size of the specified view in the given graph.
|
java.awt.geom.Point2D |
PortView.getLocation(EdgeView edge)
For backwards compatibility.
|
java.awt.geom.Point2D |
PortView.getLocation(EdgeView edge,
java.awt.geom.Point2D nearest)
Returns the point that the port represents with respect to
edge and point , which is the nearest point
to this port view on the edge. |
java.awt.geom.Rectangle2D |
EdgeRenderer.getPaintBounds(EdgeView view)
Returns the bounds of the edge shape without label
|
java.awt.geom.Point2D |
AbstractCellView.getPerimeterPoint(EdgeView edge,
java.awt.geom.Point2D source,
java.awt.geom.Point2D p)
Returns the intersection of the bounding rectangle and the straight line
between the source and the specified point p.
|
java.awt.geom.Point2D |
CellView.getPerimeterPoint(EdgeView edge,
java.awt.geom.Point2D source,
java.awt.geom.Point2D p)
Returns the intersection of the bounding rectangle and the straight line
between the source and the specified point p.
|
java.awt.geom.Point2D |
VertexView.getPerimeterPoint(EdgeView edge,
java.awt.geom.Point2D source,
java.awt.geom.Point2D p)
Returns the intersection of the bounding rectangle and the straight line
between the source and the specified point p.
|
java.awt.geom.Point2D |
EdgeView.getPerimeterPoint(EdgeView edge,
java.awt.geom.Point2D source,
java.awt.geom.Point2D p) |
int |
Edge.Routing.getPreferredLineStyle(EdgeView edge)
Returns the preferred line style for this routing.
|
int |
DefaultEdge.LoopRouting.getPreferredLineStyle(EdgeView edge) |
protected java.awt.geom.Point2D |
EdgeView.EdgeHandle.getRelativeLabelPosition(EdgeView edge,
java.awt.geom.Point2D p) |
protected void |
EdgeView.EdgeHandle.reloadPoints(EdgeView edge) |
java.util.List |
Edge.Routing.route(GraphLayoutCache cache,
EdgeView edge)
Returns the points to be used for the edge.
|
java.util.List |
DefaultEdge.LoopRouting.route(GraphLayoutCache cache,
EdgeView edge) |
protected java.util.List |
DefaultEdge.LoopRouting.routeEdge(GraphLayoutCache cache,
EdgeView edge) |
protected java.util.List |
DefaultEdge.DefaultRouting.routeEdge(GraphLayoutCache cache,
EdgeView edge) |
protected java.util.List |
DefaultEdge.LoopRouting.routeLoop(GraphLayoutCache cache,
EdgeView edge) |
protected boolean |
PortView.shouldInvokePortMagic(EdgeView edge)
Subclassers can override this to decide whether or not "port magic"
should appear on a given edge.
|
Constructor and Description |
---|
EdgeHandle(EdgeView edge,
GraphContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object[] |
ParallelEdgeRouter.getParallelEdges(GraphLayoutCache cache,
EdgeView edge,
CellView cellView1,
CellView cellView2)
Getter to obtain the list of parallel edges
|
java.util.List |
ParallelEdgeRouter.routeEdge(GraphLayoutCache cache,
EdgeView edge)
Calc of intermediates points
|
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.