anvil.annot
Class SpanTrack

java.lang.Object
  |
  +--java.util.Observable
        |
        +--anvil.annot.AnvilAnnotationNode
              |
              +--anvil.annot.AnnotationContainer
                    |
                    +--anvil.annot.AnvilTrack
                          |
                          +--anvil.annot.SecondaryTrack
                                |
                                +--anvil.annot.SpanTrack
All Implemented Interfaces:
AnnotationNode, GraphicalTrack, Track

public class SpanTrack
extends SecondaryTrack

Every element refers to a number of CONTIGUOUS elements in the reference track. Only the start and the end reference elements are stored.


Field Summary
 
Fields inherited from class anvil.annot.SecondaryTrack
refTrack
 
Fields inherited from class anvil.annot.AnvilTrack
PER_MINUTE, PER_SECOND, typeName
 
Fields inherited from class anvil.annot.AnnotationContainer
elements, index2el
 
Fields inherited from class anvil.annot.AnvilAnnotationNode
annotation, name, open, parent, spec, visible
 
Constructor Summary
SpanTrack(Annotation annotation, GroupNode parent, ContainerSpec ts)
           
 
Method Summary
 boolean removeElement(AnnotationElement e)
          Removes track element plus every element that directly or indirectly points to it (dependent elements), also taking care of pointers in attributes (inlinks and outlinks).
 
Methods inherited from class anvil.annot.SecondaryTrack
findTrackAncestry, getRefTrack
 
Methods inherited from class anvil.annot.AnvilTrack
elementChanged, findContainedElements, findElement, findElement, findNextAfter, findNextBefore, firstElement, getElementCoverage, getElementRate, getElements, getHeightFactor, getMaxEndTime, getTypeArray, getTypeName, lastElement, nextElement, previousElement, print, toString
 
Methods inherited from class anvil.annot.AnnotationContainer
addElement, getAnnotation, getAttributeNames, getAttributeType, getElementCollection, getNumOfElements, getReciprocalLinkAttributes, getSpec, indexElements, isEmpty, query, replaceAttributeValue, setName, unlinkElement, writeAnvilFile
 
Methods inherited from class anvil.annot.AnvilAnnotationNode
getFirstHidden, getName, getParent, getShortName, isOpen, isVisible, setOpen, setVisible
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface anvil.annot.Track
addElement, addObserver, getAnnotation, getAttributeNames, getAttributeType, getNumOfElements, getSpec, isEmpty, replaceAttributeValue
 
Methods inherited from interface anvil.annot.AnnotationNode
getFirstHidden, getName, getParent, getShortName, isOpen, isVisible, setOpen, setVisible
 

Constructor Detail

SpanTrack

public SpanTrack(Annotation annotation,
                 GroupNode parent,
                 ContainerSpec ts)
Method Detail

removeElement

public boolean removeElement(AnnotationElement e)
Description copied from interface: Track
Removes track element plus every element that directly or indirectly points to it (dependent elements), also taking care of pointers in attributes (inlinks and outlinks).

Specified by:
removeElement in interface Track
Specified by:
removeElement in class AnnotationContainer
Parameters:
e - element to be removed
Returns:
true if operation was successful