Class SelectionGroup

  • Direct Known Subclasses:
    EditSelectionGroup

    public class SelectionGroup
    extends java.lang.Object
    Group of selections.
    Author:
    K.Jaensch, klausj@phonetik.uni-muenchen.de
    • Field Detail

      • selections

        protected java.util.Vector<Selection> selections
      • name

        protected java.lang.String name
    • Constructor Detail

      • SelectionGroup

        public SelectionGroup()
      • SelectionGroup

        public SelectionGroup​(java.lang.String name)
    • Method Detail

      • getSelectionsContainingPosition

        public Selection[] getSelectionsContainingPosition​(long pos)
      • getLastSelectionContainingPosition

        public Selection getLastSelectionContainingPosition​(long pos)
      • getSelectionsContainingPosition

        public static Selection[] getSelectionsContainingPosition​(SelectionGroup[] sgs,
                                                                  long pos)
      • getLastSelectionContainingPosition

        public static Selection getLastSelectionContainingPosition​(SelectionGroup[] sgs,
                                                                   long pos)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • add

        public void add​(int arg0,
                        Selection arg1)
      • add

        public boolean add​(Selection arg0)
      • clear

        public void clear()
      • contains

        public boolean contains​(Selection arg0)
      • copyInto

        public void copyInto​(Selection[] arg0)
      • elementAt

        public java.lang.Object elementAt​(int arg0)
      • elements

        public java.util.Enumeration<Selection> elements()
      • firstElement

        public Selection firstElement()
      • indexOf

        public int indexOf​(Selection arg0)
      • indexOf

        public int indexOf​(Selection arg0,
                           int arg1)
      • insertElementAt

        public void insertElementAt​(Selection arg0,
                                    int arg1)
      • isEmpty

        public boolean isEmpty()
      • iterator

        public java.util.Iterator<Selection> iterator()
      • lastElement

        public Selection lastElement()
      • lastIndexOf

        public int lastIndexOf​(Selection arg0)
      • lastIndexOf

        public int lastIndexOf​(Selection arg0,
                               int arg1)
      • listIterator

        public java.util.ListIterator<Selection> listIterator()
      • listIterator

        public java.util.ListIterator<Selection> listIterator​(int arg0)
      • remove

        public Selection remove​(int arg0)
      • remove

        public boolean remove​(Selection arg0)
      • removeAll

        public boolean removeAll​(java.util.Collection<Selection> arg0)
      • removeAllElements

        public void removeAllElements()
      • removeElement

        public boolean removeElement​(Selection arg0)
      • removeElementAt

        public void removeElementAt​(int arg0)
      • retainAll

        public boolean retainAll​(java.util.Collection<Selection> arg0)
      • setElementAt

        public void setElementAt​(Selection arg0,
                                 int arg1)
      • size

        public int size()
      • subList

        public java.util.List<Selection> subList​(int arg0,
                                                 int arg1)
      • getSelections

        public Selection[] getSelections()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)