jsky.timeline
Interface VetoableTimeLineNodeModel

All Superinterfaces:
java.util.EventListener, TimeLineNodeModel, java.beans.VetoableChangeListener
All Known Implementing Classes:
DefaultVetoableTimeLineNodeModel

public interface VetoableTimeLineNodeModel
extends java.beans.VetoableChangeListener, TimeLineNodeModel

The model for an event aware time line node.

This code was developed by NASA, Goddard Space Flight Center, Code 588 for the Scientist's Expert Assistant (SEA) project.

Version:
12/10/99
Author:
M. Fishman

Nested Class Summary
 
Nested classes/interfaces inherited from interface jsky.timeline.TimeLineNodeModel
TimeLineNodeModel.TimeLineNodeComparator
 
Field Summary
static java.lang.String BIC
           
static java.lang.String HIT_LEFT_EDGE
           
static java.lang.String HIT_RIGHT_EDGE
           
static java.lang.String NODE_MAX_SIZE_EXCEEDED
           
static java.lang.String NODE_MIN_SIZE_EXCEEDED
           
static java.lang.String NODE_OVERLAP
           
 
Fields inherited from interface jsky.timeline.TimeLineNodeModel
END_TIME, MODE, NAME, NODE, PARENT, START_TIME
 
Method Summary
 void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
          add a property change listener to the node
 void moveTimeLineNodeByValid(Time time)
          move node by specified time
 void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
          remove a propertyChangeListener to the node
 void revertToPrevious()
          revert the time line node to its previous position
 void setValidDuration(Time durationLength)
          set the duration of the time line node
 void setValidEndTime(Time time)
          set the time that this node ends
 void setValidStartTime(Time time)
          set the point on the time line that this node starts
 void setValidTimeLineNode(Time start, Time end)
          move node to a specified location
 
Methods inherited from interface java.beans.VetoableChangeListener
vetoableChange
 
Methods inherited from interface jsky.timeline.TimeLineNodeModel
addPropertyChangeListener, getDuration, getEndTime, getGUIClass, getParent, getStartTime, getTimeLineNodeName, intersects, isConstant, moveTimeLineNodeBy, removePropertyChangeListener, setConstant, setDuration, setEndTime, setParent, setStartTime, setTimeLineNode, setTimeLineNodeName
 

Field Detail

NODE_OVERLAP

static final java.lang.String NODE_OVERLAP
See Also:
Constant Field Values

NODE_MIN_SIZE_EXCEEDED

static final java.lang.String NODE_MIN_SIZE_EXCEEDED
See Also:
Constant Field Values

NODE_MAX_SIZE_EXCEEDED

static final java.lang.String NODE_MAX_SIZE_EXCEEDED
See Also:
Constant Field Values

HIT_LEFT_EDGE

static final java.lang.String HIT_LEFT_EDGE
See Also:
Constant Field Values

HIT_RIGHT_EDGE

static final java.lang.String HIT_RIGHT_EDGE
See Also:
Constant Field Values

BIC

static final java.lang.String BIC
See Also:
Constant Field Values
Method Detail

setValidStartTime

void setValidStartTime(Time time)
                       throws DetailedPropertyVetoException
set the point on the time line that this node starts

Throws:
DetailedPropertyVetoException

setValidEndTime

void setValidEndTime(Time time)
                     throws DetailedPropertyVetoException
set the time that this node ends

Throws:
DetailedPropertyVetoException

moveTimeLineNodeByValid

void moveTimeLineNodeByValid(Time time)
                             throws DetailedPropertyVetoException
move node by specified time

Throws:
DetailedPropertyVetoException

setValidDuration

void setValidDuration(Time durationLength)
                      throws DetailedPropertyVetoException
set the duration of the time line node

Throws:
DetailedPropertyVetoException

revertToPrevious

void revertToPrevious()
revert the time line node to its previous position


addVetoableChangeListener

void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
add a property change listener to the node


removeVetoableChangeListener

void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
remove a propertyChangeListener to the node


setValidTimeLineNode

void setValidTimeLineNode(Time start,
                          Time end)
                          throws DetailedPropertyVetoException
move node to a specified location

Throws:
DetailedPropertyVetoException