at.spardat.xma.mdl.tree
Interface ITreeWMClient

All Superinterfaces:
ISelectable, ITreeWM, IWModelClient
All Known Implementing Classes:
TreeWMClient

public interface ITreeWMClient
extends ITreeWM, IWModelClient

The API to manipulate a ITreeWM at the client.


Field Summary
 
Fields inherited from interface at.spardat.xma.mdl.tree.ITreeWM
S_LAST, S_MULTI_SELECT
 
Method Summary
 void setExpanded(int depth, boolean expanded)
          Sets the expanded state of the top depth levels of the tree.
 
Methods inherited from interface at.spardat.xma.mdl.tree.ITreeWM
clear, containsKey, getNode, getRootCount, getRoots, getSelectedNode, getSelectionOrdered, selectAll, size
 
Methods inherited from interface at.spardat.xma.mdl.ISelectable
deselect, deselectAll, getSelected, getSelection, getSelectionCount, isMultiSelect, isSelected, isStrict, select
 
Methods inherited from interface at.spardat.xma.mdl.IWModelClient
getUIDelegate, isEditable, isEnabled, setEditable, setEnabled
 

Method Detail

setExpanded

public void setExpanded(int depth,
                        boolean expanded)
Sets the expanded state of the top depth levels of the tree. If depth is 1, all root nodes are expanded/collapsed. If depth is 2, all root nodes and their childs are expanded/collapsed and so on and so forth.

Parameters:
depth - number of levels to expand or collapse