anvil.annot
Class SingletonTrackElement

java.lang.Object
  |
  +--anvil.annot.AnnotationElement
        |
        +--anvil.annot.TrackElement
              |
              +--anvil.annot.SecondaryTrackElement
                    |
                    +--anvil.annot.SingletonTrackElement

public class SingletonTrackElement
extends SecondaryTrackElement


Field Summary
protected  TrackElement refEl
          referenced element
 
Fields inherited from class anvil.annot.TrackElement
color, END_TIME, nextInGroup, prevInGroup, START_TIME
 
Fields inherited from class anvil.annot.AnnotationElement
avField, comment, container, index
 
Constructor Summary
SingletonTrackElement(SingletonTrack tr, TrackElement refEl)
           
 
Method Summary
 javax.media.Time getEndTime()
          Returns end time of the element.
 TrackElement getRefElement()
           
 javax.media.Time getStartTime()
          Returns start time of the element.
 java.lang.String toString()
           
protected  void writeAnvilFile(kipp.io.MyBufferedWriter f)
          Writes the chunk to the Anvil file (including outer tags).
 
Methods inherited from class anvil.annot.TrackElement
getColor, getColorString, getDuration, getGroupStartTime, getLinkDistance, getNiceSeconds, getTrack, updateColor
 
Methods inherited from class anvil.annot.AnnotationElement
addAttributeLinkValue, addAttributeLinkValueOnce, addDependent, ascii2xml, clearAttribute, clearExtraObjects, clearInlinks, findAllDependents, findElementInLinks, getAttribute, getBoolValue, getClonedDependents, getComment, getContainer, getDependents, getExtraObject, getInlinks, getInlinkTracks, getLinkedElements, getLinkNames, getListValue, getNumberValue, getOutlinks, getShowLabel, hasComment, isAttribute, meetsConstraints, putAttribute, putExtraObject, removeDependent, removeElementFromLinks, removeMeFromInlinks, setComment, setDependents, setInlinks, writeContents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

refEl

protected TrackElement refEl
referenced element

Constructor Detail

SingletonTrackElement

public SingletonTrackElement(SingletonTrack tr,
                             TrackElement refEl)
Method Detail

getRefElement

public TrackElement getRefElement()

getStartTime

public javax.media.Time getStartTime()
Description copied from class: TrackElement
Returns start time of the element.

Specified by:
getStartTime in class TrackElement

getEndTime

public javax.media.Time getEndTime()
Description copied from class: TrackElement
Returns end time of the element.

Specified by:
getEndTime in class TrackElement

toString

public java.lang.String toString()
Overrides:
toString in class TrackElement

writeAnvilFile

protected void writeAnvilFile(kipp.io.MyBufferedWriter f)
                       throws java.io.IOException
Description copied from class: AnnotationElement
Writes the chunk to the Anvil file (including outer tags).

Overrides:
writeAnvilFile in class AnnotationElement
java.io.IOException