public class OrgChartNodeAdapter extends ProcessNodeAdapter implements OrgChartNodeInterface
Constructor and Description |
---|
OrgChartNodeAdapter(ProcessNode n) |
Modifier and Type | Method and Description |
---|---|
java.util.List<NodeInterface> |
getContainedNodes()
if this node is a Cluster this method
shall return all nodes that are currently residing within this Cluster
|
EdgeInterface |
getDockedTo()
if this node is directly connected to an edge (like an edge docker)
preprocessors can take that into account.
|
boolean |
isCluster()
returns true if this Node is a Cluster (e.g. a Frame Object)
|
boolean |
isPerson()
has to return true if this node is a node representing a person
(i.e. not an org unit or a role)
|
void |
setSize(int w,
int h)
modifies the size of the node.
|
equals, getNode, getPaddingX, getPaddingY, getPos, getSize, getText, hashCode, isVirtualNode, setPos, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPaddingX, getPaddingY, getPos, getSize, getText, isVirtualNode, setPos
public OrgChartNodeAdapter(ProcessNode n)
n
- public EdgeInterface getDockedTo()
NodeInterface
getDockedTo
in interface NodeInterface
getDockedTo
in class ProcessNodeAdapter
public java.util.List<NodeInterface> getContainedNodes()
OrgChartNodeInterface
getContainedNodes
in interface OrgChartNodeInterface
public boolean isCluster()
OrgChartNodeInterface
isCluster
in interface OrgChartNodeInterface
public boolean isPerson()
OrgChartNodeInterface
isPerson
in interface OrgChartNodeInterface
public void setSize(int w, int h)
OrgChartNodeInterface
setSize
in interface OrgChartNodeInterface