|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsky.timeline.DefaultTimeLineNodeModel
public class DefaultTimeLineNodeModel
Default version of the time line node model.
This code was developed by NASA, Goddard Space Flight Center, Code 588 for the Scientist's Expert Assistant (SEA) project.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jsky.timeline.TimeLineNodeModel |
---|
TimeLineNodeModel.TimeLineNodeComparator |
Field Summary |
---|
Fields inherited from interface jsky.timeline.TimeLineNodeModel |
---|
END_TIME, MODE, NAME, NODE, PARENT, START_TIME |
Constructor Summary | |
---|---|
DefaultTimeLineNodeModel(Time start,
Time end)
constructor |
|
DefaultTimeLineNodeModel(Time startTime,
Time endTime,
java.lang.String name)
|
|
DefaultTimeLineNodeModel(Time startTime,
Time endTime,
java.lang.String name,
boolean isConstant)
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
add a property change listener to the node |
Time |
getDuration()
get the duration of the time line node |
Time |
getEndTime()
get the time on the time line 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 on the time line 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 amount |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
remove a propertyChangeListener to the node |
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 on the time line that this node ends |
void |
setParent(TimeLineModel parent)
set the time line node's parent |
void |
setStartTime(Time time)
set the time 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 |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultTimeLineNodeModel(Time start, Time end)
public DefaultTimeLineNodeModel(Time startTime, Time endTime, java.lang.String name)
public DefaultTimeLineNodeModel(Time startTime, Time endTime, java.lang.String name, boolean isConstant)
Method Detail |
---|
public Time getStartTime()
getStartTime
in interface TimeLineNodeModel
public void setStartTime(Time time)
setStartTime
in interface TimeLineNodeModel
public void moveTimeLineNodeBy(Time time)
moveTimeLineNodeBy
in interface TimeLineNodeModel
public Time getEndTime()
getEndTime
in interface TimeLineNodeModel
public void setEndTime(Time time)
setEndTime
in interface TimeLineNodeModel
public Time getDuration()
getDuration
in interface TimeLineNodeModel
public void setDuration(Time durationLength)
setDuration
in interface TimeLineNodeModel
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface TimeLineNodeModel
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface TimeLineNodeModel
public void setTimeLineNodeName(java.lang.String name)
setTimeLineNodeName
in interface TimeLineNodeModel
public java.lang.String getTimeLineNodeName()
getTimeLineNodeName
in interface TimeLineNodeModel
public boolean intersects(TimeLineNodeModel node)
intersects
in interface TimeLineNodeModel
public TimeLineModel getParent()
getParent
in interface TimeLineNodeModel
public void setParent(TimeLineModel parent)
setParent
in interface TimeLineNodeModel
public void setTimeLineNode(Time start, Time end)
setTimeLineNode
in interface TimeLineNodeModel
public boolean isConstant()
isConstant
in interface TimeLineNodeModel
public void setConstant(boolean isConstant)
setConstant
in interface TimeLineNodeModel
public java.lang.Class getGUIClass()
getGUIClass
in interface TimeLineNodeModel
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |