|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapss.dif.csdf.sdf.sched.ScheduleTreeNode
public class ScheduleTreeNode
The class for schedule tree node.
Field Summary | |
---|---|
int |
duration
|
mocgraph.Node |
graphNode
|
int |
loopCount
|
ScheduleTreeNode |
parent
|
mocgraph.sched.ScheduleElement |
scheduleElement
|
int |
start
|
int |
stop
|
Constructor Summary | |
---|---|
ScheduleTreeNode(ScheduleTreeNode parent)
Constructor for given parent. |
Method Summary | |
---|---|
boolean |
isLeaf()
Check whether it's a leaf node. |
ScheduleTreeNode |
leftChild()
Return left child. |
java.util.List |
parents()
Return all parents including immediate and grand parents. |
ScheduleTreeNode |
rightChild()
Return right child. |
void |
setChildren(ScheduleTreeNode left,
ScheduleTreeNode right)
Set both children. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public ScheduleTreeNode parent
public mocgraph.Node graphNode
public int loopCount
public int start
public int stop
public int duration
public mocgraph.sched.ScheduleElement scheduleElement
Constructor Detail |
---|
public ScheduleTreeNode(ScheduleTreeNode parent)
parent
- The parent node.Method Detail |
---|
public boolean isLeaf()
public ScheduleTreeNode leftChild()
public java.util.List parents()
public ScheduleTreeNode rightChild()
public void setChildren(ScheduleTreeNode left, ScheduleTreeNode right)
left
- Left child.right
- Right child.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |