public abstract class AbstractNetCell extends DefaultGraphCell
Modifier and Type | Field and Description |
---|---|
protected DefaultEdge |
_inEdge |
protected DefaultEdge |
_outEdge |
attributes
Modifier | Constructor and Description |
---|---|
protected |
AbstractNetCell(java.awt.geom.Rectangle2D bounds) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canBeRemoved() |
boolean |
canBeSource() |
boolean |
canBeTarget() |
java.awt.geom.Rectangle2D |
getBounds() |
java.awt.geom.Point2D |
getCentre() |
protected DefaultEdge |
getIncomingEdge() |
protected abstract java.lang.String |
getInnerToolTipText() |
protected java.awt.geom.Point2D |
getLocation() |
protected DefaultEdge |
getOutgoingEdge() |
java.lang.String |
getToolTipText() |
void |
removeEdges() |
void |
setBounds(java.awt.geom.Rectangle2D bounds) |
protected void |
setIncomingEdge(DefaultEdge edge) |
protected void |
setOutgoingEdge(DefaultEdge edge) |
addPort, addPort, addPort, changeAttributes, clone, getAttributes, getChildren, setAttributes
add, breadthFirstEnumeration, children, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
protected DefaultEdge _inEdge
protected DefaultEdge _outEdge
protected java.awt.geom.Point2D getLocation()
public java.awt.geom.Point2D getCentre()
public java.awt.geom.Rectangle2D getBounds()
public void setBounds(java.awt.geom.Rectangle2D bounds)
protected void setIncomingEdge(DefaultEdge edge)
protected DefaultEdge getIncomingEdge()
protected void setOutgoingEdge(DefaultEdge edge)
protected DefaultEdge getOutgoingEdge()
public void removeEdges()
public java.lang.String getToolTipText()
public boolean canBeSource()
public boolean canBeTarget()
public abstract boolean canBeRemoved()
protected abstract java.lang.String getInnerToolTipText()