|
TWE 2.3-2 API | |||||||||
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
org.enhydra.jawe.components.graph.GraphPortViewInterface
org.enhydra.jawe.components.graph.DefaultGraphPortView
Represents a view for a Port object.
Field Summary | |
protected static java.util.Map |
renderers
|
Fields inherited from class org.jgraph.graph.PortView |
lastParent, renderer, SIZE |
Fields inherited from class org.jgraph.graph.AbstractCellView |
allAttributes, attributes, cell, cellEditor, childViews, groupBounds, parent |
Constructor Summary | |
DefaultGraphPortView(java.lang.Object cell)
|
Method Summary | |
protected GraphPortRendererInterface |
createRenderer(java.lang.String type)
|
java.awt.geom.Rectangle2D |
getBounds()
|
GraphActivityInterface |
getGraphActivity()
|
java.awt.Dimension |
getPortSize()
Returns port's size. |
org.jgraph.graph.CellViewRenderer |
getRenderer()
|
void |
setPortSize(java.awt.Dimension d)
Sets size of all ports to given value. |
Methods inherited from class org.jgraph.graph.PortView |
getHandle, getLocation, getLocation, getLocation, getParentView, shouldInvokePortMagic |
Methods inherited from class org.jgraph.graph.AbstractCellView |
changeAttributes, childUpdated, createAttributeMap, getAllAttributes, getAttributes, getBounds, getCell, getCellAttributes, getCenterPoint, getChildViews, getDescendantViews, getEditor, getPerimeterPoint, getRendererComponent, 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 |
Field Detail |
protected static java.util.Map renderers
Constructor Detail |
public DefaultGraphPortView(java.lang.Object cell)
Method Detail |
public void setPortSize(java.awt.Dimension d)
setPortSize
in class GraphPortViewInterface
public java.awt.Dimension getPortSize()
getPortSize
in class GraphPortViewInterface
public GraphActivityInterface getGraphActivity()
getGraphActivity
in class GraphPortViewInterface
public org.jgraph.graph.CellViewRenderer getRenderer()
public java.awt.geom.Rectangle2D getBounds()
protected GraphPortRendererInterface createRenderer(java.lang.String type)
|
TWE 2.3-2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |