N - The node classpublic interface Arrangement<N>
| Modifier and Type | Method and Description |
|---|---|
java.awt.Point |
getNodeLocation(N node)
Get the location of the node, or null if the node has no location
|
java.awt.Dimension |
getSize()
Returns the size of the arranger's working area in the form of a
Dimension object.
|
void |
setMargin(int margin)
sets a uniform margin around arrangement
|
void |
setSize(java.awt.Dimension dim)
sets size of working area
|
void |
setSize(int width,
int height)
sets size of working area
|
java.awt.Point getNodeLocation(N node)
node - the nodejava.awt.Dimension getSize()
void setMargin(int margin)
margin - the margin around the arrangementvoid setSize(java.awt.Dimension dim)
dim - the size of the working areavoid setSize(int width,
int height)
width - the width of the working areaheight - the height of the working area