|
||||||||||
| 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
edu.iastate.metnet.graphmodel.MultiVertexView
public class MultiVertexView
implement a special vertex view and renderer which can use two background color. We utilize the gradient color so caller only need set the gradient color by GraphConstants
| Nested Class Summary | |
|---|---|
static class |
MultiVertexView.MultiVertexRenderer
customized the renderer to use two background colors for one node |
| Nested classes/interfaces inherited from class org.jgraph.graph.VertexView |
|---|
org.jgraph.graph.VertexView.SizeHandle |
| Field Summary | |
|---|---|
static MultiVertexView.MultiVertexRenderer |
renderer
special renderer override normal gradient painter |
| Fields inherited from class org.jgraph.graph.VertexView |
|---|
bounds, defaultBounds, defaultCursors, xCursors, yCursors |
| Fields inherited from class org.jgraph.graph.AbstractCellView |
|---|
allAttributes, attributes, cell, cellEditor, childViews, groupBounds, parent |
| Constructor Summary | |
|---|---|
MultiVertexView()
special view for special renderer |
|
MultiVertexView(java.lang.Object cell)
default constructor |
|
| Method Summary | |
|---|---|
org.jgraph.graph.CellViewRenderer |
getRenderer()
|
| 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 |
| Field Detail |
|---|
public static transient MultiVertexView.MultiVertexRenderer renderer
| Constructor Detail |
|---|
public MultiVertexView()
public MultiVertexView(java.lang.Object cell)
cell - the cellgraph - the graphmapperthe - mapping| Method Detail |
|---|
public org.jgraph.graph.CellViewRenderer getRenderer()
getRenderer in class org.jgraph.graph.VertexView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||