anvil.annot
Class SpanTrackElement
java.lang.Object
|
+--anvil.annot.AnnotationElement
|
+--anvil.annot.TrackElement
|
+--anvil.annot.SecondaryTrackElement
|
+--anvil.annot.SpanTrackElement
- public class SpanTrackElement
- extends SecondaryTrackElement
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 |
startEl
protected TrackElement startEl
endEl
protected TrackElement endEl
SpanTrackElement
public SpanTrackElement(SpanTrack tr,
TrackElement startEl,
TrackElement endEl)
getStartElement
public TrackElement getStartElement()
getEndElement
public TrackElement getEndElement()
changeStartElement
public void changeStartElement(TrackElement newStart)
throws TrackElementException
- Changes start element to new one. Takes care of dependencies.
TrackElementException
changeEndElement
public void changeEndElement(TrackElement newEnd)
throws TrackElementException
- Changes end element to new one. Takes care of dependencies.
TrackElementException
getSpannedElements
public TrackElement[] getSpannedElements()
- Returns the sequence of elements that is spanned by this
secondary element.
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