protected static class BasicTreeLayout.NodeLayout
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.awt.Rectangle |
bounds
Node bounds, relative to the bottom left corner of the tree.
|
protected java.awt.Point |
drawPoint
Point at which the next component should be drawn.
|
protected TreeNode |
node
Node that this layout applies to.
|
protected int |
numLines
Number of lines of wrapped description text in this layout.
|
protected java.awt.Rectangle |
pickBounds |
protected java.awt.Rectangle |
pickScreenBounds |
protected java.awt.Rectangle |
screenBounds
Node bounds relative to the bottom left corner of the viewport.
|
protected int |
textWrapWidth
The width used to wrap the description text.
|
protected java.lang.String |
wrappedText
Wrapped version of the node description text.
|
Modifier | Constructor and Description |
---|---|
protected |
NodeLayout(TreeNode node)
Create a new node layout.
|
Modifier and Type | Method and Description |
---|---|
protected void |
reset(java.awt.Point treePoint)
Reset the draw point to the lower left corner of the node bounds.
|
protected java.awt.Rectangle bounds
protected java.awt.Point drawPoint
protected TreeNode node
protected int numLines
protected java.awt.Rectangle pickBounds
protected java.awt.Rectangle pickScreenBounds
protected java.awt.Rectangle screenBounds
reset(java.awt.Point)
.protected int textWrapWidth
protected java.lang.String wrappedText
protected NodeLayout(TreeNode node)
node
- Node that is being laid out.