public interface TimeLineNodeModel
This code was developed by NASA, Goddard Space Flight Center, Code 588 for the Scientist's Expert Assistant (SEA) project.
Modifier and Type | Interface and Description |
---|---|
static class |
TimeLineNodeModel.TimeLineNodeComparator
inner class used for sorting time line nodes
|
Modifier and Type | Field and Description |
---|---|
static String |
END_TIME |
static String |
MODE |
static String |
NAME |
static String |
NODE |
static String |
PARENT |
static String |
START_TIME |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(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
|
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
|
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(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(String name)
give the time line node a name
|
static final String MODE
static final String START_TIME
static final String END_TIME
static final String NODE
static final String NAME
static final String PARENT
Time getStartTime()
void setStartTime(Time time)
Time getEndTime()
void setEndTime(Time time)
void moveTimeLineNodeBy(Time time)
Time getDuration()
void setDuration(Time durationLength)
void setTimeLineNodeName(String name)
String getTimeLineNodeName()
boolean intersects(TimeLineNodeModel node)
void addPropertyChangeListener(PropertyChangeListener listener)
void removePropertyChangeListener(PropertyChangeListener listener)
TimeLineModel getParent()
void setParent(TimeLineModel parent)
boolean isConstant()
void setConstant(boolean isConstant)
Class getGUIClass()
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.