Package | Description |
---|---|
gov.nasa.worldwind.util.tree |
A tree control drawn in the WorldWindow.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicTreeAttributes
Basic implementation of
TreeAttributes set. |
Modifier and Type | Field and Description |
---|---|
protected TreeAttributes |
BasicTreeLayout.activeAttributes
Active attributes, either normal or highlight.
|
protected static TreeAttributes |
BasicTreeLayout.defaultAttributes
The attributes used if attributes are not specified.
|
protected TreeAttributes |
BasicTreeLayout.highlightAttributes
Attributes to use when the frame is highlighted.
|
protected TreeAttributes |
BasicTreeLayout.normalAttributes
Attributes to use when the tree is not highlighted.
|
Modifier and Type | Method and Description |
---|---|
TreeAttributes |
TreeAttributes.copy()
Returns a new TreeAttributes instance of the same type as this TreeAttributes, who's properties are
configured exactly as this TreeAttributes.
|
protected TreeAttributes |
BasicTreeLayout.getActiveAttributes()
Get the active attributes, based on the highlight state.
|
TreeAttributes |
TreeLayout.getAttributes()
Get the tree attributes.
|
TreeAttributes |
BasicTreeLayout.getAttributes()
Get the tree attributes.
|
TreeAttributes |
BasicTreeLayout.getHighlightAttributes()
Get the attributes to apply when the tree is highlighted.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeAttributes.copy(TreeAttributes attributes)
Copies the specified TreeAttributes' properties into this object's properties.
|
void |
BasicTreeAttributes.copy(TreeAttributes attributes)
Copies the specified TreeAttributes' properties into this object's properties.
|
java.awt.Dimension |
BasicTreeLayout.getNodeSize(DrawContext dc,
java.awt.Dimension frameSize,
int x,
TreeNode node,
TreeAttributes attributes)
Compute the size of a node.
|
void |
TreeLayout.setAttributes(TreeAttributes attributes)
Set the tree attributes.
|
void |
BasicTreeLayout.setAttributes(TreeAttributes attributes)
Set the tree attributes.
|
void |
BasicTreeLayout.setHighlightAttributes(TreeAttributes attributes)
Set the attributes to use when the tree is highlighted.
|
Constructor and Description |
---|
BasicTreeAttributes(TreeAttributes attributes)
Create a new attributes object with the same configuration as an existing attributes object.
|