org.apache.pivot.wtk.skin.terra
Class TerraTreeViewSkin.BranchInfo
java.lang.Object
org.apache.pivot.wtk.skin.terra.TerraTreeViewSkin.NodeInfo
org.apache.pivot.wtk.skin.terra.TerraTreeViewSkin.BranchInfo
- Enclosing class:
- TerraTreeViewSkin
protected static final class TerraTreeViewSkin.BranchInfo
- extends TerraTreeViewSkin.NodeInfo
An internal data structure that keeps track of skin-related metadata
for a tree branch.
Fields inherited from class org.apache.pivot.wtk.skin.terra.TerraTreeViewSkin.NodeInfo |
CHECK_STATE_CHECKED_MASK, CHECK_STATE_MASK, CHECK_STATE_MIXED_MASK, CHECKMARK_DISABLED_MASK, data, depth, DISABLED_MASK, fields, HIGHLIGHTED_MASK, parent, SELECTED_MASK, treeView |
Methods inherited from class org.apache.pivot.wtk.skin.terra.TerraTreeViewSkin.NodeInfo |
clearField, getCheckState, getPath, isChecked, isCheckmarkDisabled, isDisabled, isHighlighted, isSelected, setCheckmarkDisabled, setCheckState, setDisabled, setHighlighted, setSelected |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXPANDED_MASK
public static final byte EXPANDED_MASK
- See Also:
- Constant Field Values
loadChildren
public void loadChildren()
- Loads this branch info's children. The children list is initialized
to null and loaded lazily to allow the skin to only create
NodeInfo objects for the nodes that it actually needs in
order to paint. Thus, it is the responsibility of the skin to check
if children is null and call loadChildren() if
necessary.
isExpanded
public boolean isExpanded()
setExpanded
public void setExpanded(boolean expanded)