ilog.ds
Interface IlTreeDataSource

All Superinterfaces:
IlDataSource
All Known Implementing Classes:
IlsTreeDataSource

public interface IlTreeDataSource
extends IlDataSource

Tree datasource interface


Method Summary
abstract  void addTreeDSListener(TreeDSListener l)
          Adds a listener for all tree events.
abstract  void dsCollapseItem(Object item)
          Collapses an item This informs the back-end that the children of the item may be unloaded.
abstract  void dsExpandItem(Object item)
          Expands an item This requests the children of the item to be loaded.
abstract  void removeTreeDSListener(TreeDSListener l)
          Removes a listener for all tree events.
 
Methods inherited from interface ilog.ds.IlDataSource
addBatchListener, addDataSourceListener, getDSProperties, getDSProperty, removeBatchListener, removeDataSourceListener
 

Method Detail

addTreeDSListener

public void addTreeDSListener(TreeDSListener l)
Adds a listener for all tree events.
Parameters:
l - The listener
See Also:
TreeDSListener

removeTreeDSListener

public void removeTreeDSListener(TreeDSListener l)
Removes a listener for all tree events.
Parameters:
l - The listener
See Also:
TreeDSListener

dsExpandItem

public void dsExpandItem(Object item)
Expands an item This requests the children of the item to be loaded.
Parameters:
item - The item whose children must be loaded

dsCollapseItem

public void dsCollapseItem(Object item)
Collapses an item This informs the back-end that the children of the item may be unloaded.
Parameters:
item - The item whose children can be unloaded