Package ipsk.audio.arr
Class SelectionGroup
- java.lang.Object
-
- ipsk.audio.arr.SelectionGroup
-
- Direct Known Subclasses:
EditSelectionGroup
public class SelectionGroup extends java.lang.ObjectGroup of selections.- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringnameprotected java.util.Vector<Selection>selections
-
Constructor Summary
Constructors Constructor Description SelectionGroup()SelectionGroup(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int arg0, Selection arg1)booleanadd(Selection arg0)voidclear()booleancontains(Selection arg0)voidcopyInto(Selection[] arg0)java.lang.ObjectelementAt(int arg0)java.util.Enumeration<Selection>elements()booleanequals(java.lang.Object o)SelectionfirstElement()Selectionget(int arg0)SelectiongetLastSelectionContainingPosition(long pos)static SelectiongetLastSelectionContainingPosition(SelectionGroup[] sgs, long pos)java.lang.StringgetName()Selection[]getSelections()Selection[]getSelectionsContainingPosition(long pos)static Selection[]getSelectionsContainingPosition(SelectionGroup[] sgs, long pos)intindexOf(Selection arg0)intindexOf(Selection arg0, int arg1)voidinsertElementAt(Selection arg0, int arg1)booleanisEmpty()java.util.Iterator<Selection>iterator()SelectionlastElement()intlastIndexOf(Selection arg0)intlastIndexOf(Selection arg0, int arg1)java.util.ListIterator<Selection>listIterator()java.util.ListIterator<Selection>listIterator(int arg0)Selectionremove(int arg0)booleanremove(Selection arg0)booleanremoveAll(java.util.Collection<Selection> arg0)voidremoveAllElements()booleanremoveElement(Selection arg0)voidremoveElementAt(int arg0)booleanretainAll(java.util.Collection<Selection> arg0)Selectionset(int arg0, Selection arg1)voidsetElementAt(Selection arg0, int arg1)voidsetName(java.lang.String name)intsize()java.util.List<Selection>subList(int arg0, int arg1)java.lang.StringtoString()
-
-
-
Field Detail
-
selections
protected java.util.Vector<Selection> selections
-
name
protected 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:
equalsin classjava.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()
-
get
public Selection get(int arg0)
-
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:
toStringin classjava.lang.Object
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
-