|
||||||||||
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.PortView
com.jgraph.example.MyPortView
public class MyPortView
Nested Class Summary | |
---|---|
static class |
MyPortView.MyPortRenderer
|
Field Summary |
---|
Fields inherited from class org.jgraph.graph.PortView |
---|
allowPortMagic, SIZE |
Fields inherited from class org.jgraph.graph.AbstractCellView |
---|
cellEditor |
Constructor Summary | |
---|---|
MyPortView(java.lang.Object cell)
|
Method Summary | |
---|---|
java.awt.geom.Rectangle2D |
getBounds()
Returns the bounds for the port view. |
org.jgraph.graph.CellViewRenderer |
getRenderer()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class org.jgraph.graph.PortView |
---|
getHandle, getLocation, getLocation, getLocation, getParentView, getPortSize, setPortSize |
Methods inherited from class org.jgraph.graph.AbstractCellView |
---|
changeAttributes, childUpdated, getAllAttributes, getAttributes, getBounds, getCell, getCenterPoint, getChildViews, getDescendantViews, getEditor, getPerimeterPoint, getRendererComponent, intersects, isLeaf, refresh, removeFromParent, scale, setAttributes, setBounds, setCell, translate, update |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MyPortView(java.lang.Object cell)
Method Detail |
---|
public static void main(java.lang.String[] args)
public java.awt.geom.Rectangle2D getBounds()
getBounds
in interface org.jgraph.graph.CellView
getBounds
in class org.jgraph.graph.PortView
public org.jgraph.graph.CellViewRenderer getRenderer()
getRenderer
in class org.jgraph.graph.PortView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |