Package | Description |
---|---|
gov.nasa.worldwind.util.tree |
A tree control drawn in the world window.
|
Modifier and Type | Field and Description |
---|---|
protected BoundedHashMap<TreeNode,BasicTreeLayout.NodeLayout> |
BasicTreeLayout.layoutCache
Cache of computed node layout data.
|
protected List<BasicTreeLayout.NodeLayout> |
BasicTreeLayout.treeNodes
Cache of node layouts.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
BasicTreeLayout.intersectsFrustum(DrawContext dc,
BasicTreeLayout.NodeLayout layout,
Rectangle scrollBounds)
Determines whether a node intersects the view frustum.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BasicTreeLayout.computeTreeLayout(TreeNode root,
DrawContext dc,
Dimension frameSize,
Point location,
int level,
List<BasicTreeLayout.NodeLayout> nodes)
Determine the tree layout.
|
protected void |
BasicTreeLayout.drawCheckboxes(DrawContext dc,
Iterable<BasicTreeLayout.NodeLayout> nodes)
Draw check boxes.
|
protected void |
BasicTreeLayout.drawCheckmarks(DrawContext dc,
Iterable<BasicTreeLayout.NodeLayout> nodes)
Draw checkmark symbols in the selected checkboxes.
|
protected void |
BasicTreeLayout.drawDescriptionText(DrawContext dc,
Iterable<BasicTreeLayout.NodeLayout> nodes)
Draw the description text for tree nodes.
|
protected void |
BasicTreeLayout.drawFilledCheckboxes(DrawContext dc,
Iterable<BasicTreeLayout.NodeLayout> nodes)
Draw squares filled with a gradient for partially selected checkboxes.
|
protected void |
BasicTreeLayout.drawIcons(DrawContext dc,
Iterable<BasicTreeLayout.NodeLayout> nodes)
Draw icons for a tree nodes.
|
protected void |
BasicTreeLayout.drawText(DrawContext dc,
Iterable<BasicTreeLayout.NodeLayout> nodes)
Draw the main line of text for a list of tree nodes.
|
protected void |
BasicTreeLayout.drawTriangles(DrawContext dc,
Iterable<BasicTreeLayout.NodeLayout> nodes)
Draw triangles to indicate that the nodes are expanded or collapsed.
|
protected void |
BasicTreeLayout.pickTextAndIcon(DrawContext dc,
Iterable<BasicTreeLayout.NodeLayout> nodes)
Draw pick rectangles over the icon and text areas the visible nodes.
|
protected void |
BasicTreeLayout.renderNodes(DrawContext dc,
Point drawPoint,
Iterable<BasicTreeLayout.NodeLayout> nodes,
Rectangle clipBounds)
Render a list of tree nodes.
|