|
Graph Common | |||||||||
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.VertexView
pl.psnc.graph.view.ImageVertexView
public class ImageVertexView
ImageVertexView
class - image vertex view. Overrides the default
JGraph vertex view to support image as cells.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jgraph.graph.VertexView |
---|
org.jgraph.graph.VertexView.SizeHandle |
Field Summary |
---|
Fields inherited from class org.jgraph.graph.VertexView |
---|
bounds, defaultBounds, defaultCursors, renderer, xCursors, yCursors |
Fields inherited from class org.jgraph.graph.AbstractCellView |
---|
allAttributes, attributes, cell, cellEditor, childViews, groupBounds, parent |
Constructor Summary | |
---|---|
ImageVertexView(java.lang.Object cell)
Creates new instance of ImageVertexView |
Method Summary | |
---|---|
org.jgraph.graph.CellViewRenderer |
getRenderer()
|
void |
update(org.jgraph.JGraph graph,
java.awt.geom.Point2D p)
Update |
Methods inherited from class org.jgraph.graph.VertexView |
---|
getBounds, getCachedBounds, getCenterPoint, getHandle, getPerimeterPoint, getPerimeterPoint, setCachedBounds, update |
Methods inherited from class org.jgraph.graph.AbstractCellView |
---|
changeAttributes, childUpdated, createAttributeMap, getAllAttributes, getAttributes, getBounds, getCell, getCellAttributes, getCenterPoint, getChildViews, getDescendantViews, getEditor, getParentView, getRendererComponent, includeInGroupBounds, intersects, isLeaf, mergeAttributes, refresh, removeFromParent, scale, setAttributes, setBounds, setCell, translate, updateGroupBounds |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageVertexView(java.lang.Object cell)
cell
- cell objectMethod Detail |
---|
public org.jgraph.graph.CellViewRenderer getRenderer()
getRenderer
in class org.jgraph.graph.VertexView
public void update(org.jgraph.JGraph graph, java.awt.geom.Point2D p)
graph
- instance of JGraph
p
- point
|
Graph Common | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |