|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jaret.util.ui.timebars.model.DefaultHierarchicalTimeBarModel
public class DefaultHierarchicalTimeBarModel
Default implementation of t a HIerarchicalTimeBarModel.
Field Summary | |
---|---|
protected int |
_depth
current depth of the model tree. |
protected TimeBarNode |
_rootNode
root node of the tree. |
Constructor Summary | |
---|---|
DefaultHierarchicalTimeBarModel(TimeBarNode root)
Construct the model. |
Method Summary | |
---|---|
int |
getDepth()
Retrieve the depth of the hierarchy. |
TimeBarNode |
getRootNode()
Retrieve the root node of the hierarchy. |
void |
setDepth(int depth)
Little helper. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TimeBarNode _rootNode
protected int _depth
Constructor Detail |
---|
public DefaultHierarchicalTimeBarModel(TimeBarNode root)
root
- root nodeMethod Detail |
---|
public int getDepth()
getDepth
in interface HierarchicalTimeBarModel
public void setDepth(int depth)
setDepth
in interface HierarchicalTimeBarModel
depth
- the depth to setpublic TimeBarNode getRootNode()
getRootNode
in interface HierarchicalTimeBarModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |