|
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.PortView
pl.psnc.graph.view.DefaultPortView
public class DefaultPortView
DefaultPortView
class - default implementation of port view.
Field Summary |
---|
Fields inherited from class org.jgraph.graph.PortView |
---|
allowPortMagic, lastParent, SIZE |
Fields inherited from class org.jgraph.graph.AbstractCellView |
---|
allAttributes, attributes, cell, cellEditor, childViews, groupBounds, parent |
Constructor Summary | |
---|---|
DefaultPortView(java.lang.Object userObject)
Creates a new instance of DefaultPortView |
Method Summary | |
---|---|
java.awt.geom.Rectangle2D |
getBounds()
|
org.jgraph.graph.CellViewRenderer |
getRenderer()
|
java.awt.Component |
getRendererComponent(org.jgraph.JGraph graph,
boolean selected,
boolean focus,
boolean preview)
|
boolean |
isVisible()
Getter for property visible. |
void |
setVisible(boolean visible)
Setter for property visible. |
Methods inherited from class org.jgraph.graph.PortView |
---|
getHandle, getLocation, getLocation, getLocation, getParentView, getPortSize, setPortSize, shouldInvokePortMagic |
Methods inherited from class org.jgraph.graph.AbstractCellView |
---|
changeAttributes, childUpdated, createAttributeMap, getAllAttributes, getAttributes, getBounds, getCell, getCellAttributes, getCenterPoint, getChildViews, getDescendantViews, getEditor, getPerimeterPoint, includeInGroupBounds, intersects, isLeaf, mergeAttributes, refresh, removeFromParent, scale, setAttributes, setBounds, setCell, translate, update, updateGroupBounds |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPortView(java.lang.Object userObject)
userObject
- user objectMethod Detail |
---|
public org.jgraph.graph.CellViewRenderer getRenderer()
getRenderer
in class org.jgraph.graph.PortView
public java.awt.geom.Rectangle2D getBounds()
getBounds
in interface org.jgraph.graph.CellView
getBounds
in class org.jgraph.graph.PortView
public java.awt.Component getRendererComponent(org.jgraph.JGraph graph, boolean selected, boolean focus, boolean preview)
getRendererComponent
in interface org.jgraph.graph.CellView
getRendererComponent
in class org.jgraph.graph.AbstractCellView
public boolean isVisible()
public void setVisible(boolean visible)
visible
- New value of property visible.
|
Graph Common | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |