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