|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.extended.tree.AbstractTreeDataProvider<SampleNode> com.alee.extended.tree.sample.SampleDataProvider
public class SampleDataProvider
Sample asynchronous tree data provider.
Field Summary |
---|
Fields inherited from class com.alee.extended.tree.AbstractTreeDataProvider |
---|
comparator, filter |
Constructor Summary | |
---|---|
SampleDataProvider()
|
Method Summary | |
---|---|
SampleNode |
getRoot()
Returns asynchronous tree sample root node. |
boolean |
isLeaf(SampleNode node)
Returns whether the specified sample node is leaf or not. |
void |
loadChilds(SampleNode parent,
ChildsListener<SampleNode> listener)
Returns sample child nodes for specified asynchronous tree node. |
Methods inherited from class com.alee.extended.tree.AbstractTreeDataProvider |
---|
getChildsComparator, getChildsFilter, setChildsComparator, setChildsFilter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SampleDataProvider()
Method Detail |
---|
public SampleNode getRoot()
public void loadChilds(SampleNode parent, ChildsListener<SampleNode> listener)
parent
- childs parent nodelistener
- childs loading progress listenerpublic boolean isLeaf(SampleNode node)
isLeaf
in interface AsyncTreeDataProvider<SampleNode>
isLeaf
in class AbstractTreeDataProvider<SampleNode>
node
- node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |