dog.gui
Interface TreeValidator


public interface TreeValidator

An interface a DList can call in order to validate lazy items in a tree.

Lazy items are items for which it is not known whether they have children in a hierarchical tree. When the tree needs to know this information, the items are validated via this interface.


Method Summary
 boolean validate(DList list, DItem item)
          The list calls this method when it wants to validate a lazy item.
 

Method Detail

validate

public boolean validate(DList list,
                        DItem item)
The list calls this method when it wants to validate a lazy item.
Parameters:
list - the list
item - the lazy item