|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.graph.Node
org.eclipse.gmf.runtime.draw2d.ui.graph.ConstantSizeNode
public class ConstantSizeNode
The node the size of which will not be modified by the layout algorithm. The node also has the support for:
Field Summary | |
---|---|
java.util.List<BorderNode> |
borderNodes
List of border nodes owned by this node. |
Fields inherited from class org.eclipse.draw2d.graph.Node |
---|
data, height, incoming, incomingOffset, outgoing, outgoingOffset, rowOrder, sortValue, width, x, y |
Constructor Summary | |
---|---|
ConstantSizeNode()
Constructs the instance of the class |
|
ConstantSizeNode(java.lang.Object data)
Constructs a node with the given data object |
|
ConstantSizeNode(java.lang.Object data,
Subgraph parent)
Constructs a node attached to the parent subgraph |
Method Summary | |
---|---|
int |
getMinIncomingPadding()
Gets the minimal padding between the end points of incoming edges |
int |
getMinOutgoingPadding()
Gets the minimal padding between the start points of outgoing edges |
void |
setMinIncomingPadding(int minIncomingPadding)
Sets the minimal padding between the end points of incoming edges. |
void |
setMinOutgoingPadding(int minOutgoingPadding)
Sets the minimal padding between the start points of outgoing edges |
Methods inherited from class org.eclipse.draw2d.graph.Node |
---|
getLeft, getOffsetIncoming, getOffsetOutgoing, getPadding, getParent, getRight, getRowConstraint, setPadding, setParent, setRowConstraint, setSize, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.util.List<BorderNode> borderNodes
Constructor Detail |
---|
public ConstantSizeNode()
public ConstantSizeNode(java.lang.Object data)
data
- an arbitrary data objectpublic ConstantSizeNode(java.lang.Object data, Subgraph parent)
data
- dataparent
- subgraph parentMethod Detail |
---|
public int getMinIncomingPadding()
public void setMinIncomingPadding(int minIncomingPadding)
minIncomingPadding
- public int getMinOutgoingPadding()
public void setMinOutgoingPadding(int minOutgoingPadding)
minOutgoingPadding
-
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.