|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.util.tree.BasicTreeLayout.NodeLayout
protected static class BasicTreeLayout.NodeLayout
Class to hold information about how a tree node is laid out.
| Field Summary | |
|---|---|
protected Rectangle |
bounds
Node bounds, relative to the bottom left corner of the tree. |
protected 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 Rectangle |
pickBounds
|
protected Rectangle |
pickScreenBounds
|
protected 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 String |
wrappedText
Wrapped version of the node description text. |
| Constructor Summary | |
|---|---|
protected |
BasicTreeLayout.NodeLayout(TreeNode node)
Create a new node layout. |
| Method Summary | |
|---|---|
protected void |
reset(Point treePoint)
Reset the draw point to the lower left corner of the node bounds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Rectangle bounds
protected Point drawPoint
protected TreeNode node
protected int numLines
protected Rectangle pickBounds
protected Rectangle pickScreenBounds
protected Rectangle screenBounds
reset(java.awt.Point).
protected int textWrapWidth
protected String wrappedText
| Constructor Detail |
|---|
protected BasicTreeLayout.NodeLayout(TreeNode node)
node - Node that is being laid out.| Method Detail |
|---|
protected void reset(Point treePoint)
treePoint - location of the lower left corner of the tree, measured in GL coordinates (origin lower left
corner of the screen).
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||