|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeLineNodeModel
The model for a time line node.
This code was developed by NASA, Goddard Space Flight Center, Code 588 for the Scientist's Expert Assistant (SEA) project.
Nested Class Summary | |
---|---|
static class |
TimeLineNodeModel.TimeLineNodeComparator
inner class used for sorting time line nodes |
Field Summary | |
---|---|
static java.lang.String |
END_TIME
|
static java.lang.String |
MODE
|
static java.lang.String |
NAME
|
static java.lang.String |
NODE
|
static java.lang.String |
PARENT
|
static java.lang.String |
START_TIME
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
add a property change listener to the model |
Time |
getDuration()
get the duration of the time line node |
Time |
getEndTime()
get the time that this node ends |
java.lang.Class |
getGUIClass()
get the gui node class for this model |
TimeLineModel |
getParent()
get the time line node's parent |
Time |
getStartTime()
get the time that this node starts |
java.lang.String |
getTimeLineNodeName()
get the name of the time line node |
boolean |
intersects(TimeLineNodeModel node)
returns whether the node intersects the passed in node |
boolean |
isConstant()
is the node considered a constant |
void |
moveTimeLineNodeBy(Time time)
move node by specified time |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
remove a property change listener from the model |
void |
setConstant(boolean isConstant)
set whether or not the node is considered a constant or not |
void |
setDuration(Time durationLength)
set the duration of the time line node |
void |
setEndTime(Time time)
set the time that this node ends |
void |
setParent(TimeLineModel parent)
set the time line node's parent |
void |
setStartTime(Time time)
set the point on the time line that this node starts |
void |
setTimeLineNode(Time start,
Time end)
move node to a specified location |
void |
setTimeLineNodeName(java.lang.String name)
give the time line node a name |
Field Detail |
---|
static final java.lang.String MODE
static final java.lang.String START_TIME
static final java.lang.String END_TIME
static final java.lang.String NODE
static final java.lang.String NAME
static final java.lang.String PARENT
Method Detail |
---|
Time getStartTime()
void setStartTime(Time time)
Time getEndTime()
void setEndTime(Time time)
void moveTimeLineNodeBy(Time time)
Time getDuration()
void setDuration(Time durationLength)
void setTimeLineNodeName(java.lang.String name)
java.lang.String getTimeLineNodeName()
boolean intersects(TimeLineNodeModel node)
void setTimeLineNode(Time start, Time end)
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
TimeLineModel getParent()
void setParent(TimeLineModel parent)
boolean isConstant()
void setConstant(boolean isConstant)
java.lang.Class getGUIClass()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |