Package ipsk.audio.arr
Class SelectionGroup
- java.lang.Object
-
- ipsk.audio.arr.SelectionGroup
-
- Direct Known Subclasses:
EditSelectionGroup
public class SelectionGroup extends java.lang.Object
Group of selections.- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
name
protected 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 void
add(int arg0, Selection arg1)
boolean
add(Selection arg0)
void
clear()
boolean
contains(Selection arg0)
void
copyInto(Selection[] arg0)
java.lang.Object
elementAt(int arg0)
java.util.Enumeration<Selection>
elements()
boolean
equals(java.lang.Object o)
Selection
firstElement()
Selection
get(int arg0)
Selection
getLastSelectionContainingPosition(long pos)
static Selection
getLastSelectionContainingPosition(SelectionGroup[] sgs, long pos)
java.lang.String
getName()
Selection[]
getSelections()
Selection[]
getSelectionsContainingPosition(long pos)
static Selection[]
getSelectionsContainingPosition(SelectionGroup[] sgs, long pos)
int
indexOf(Selection arg0)
int
indexOf(Selection arg0, int arg1)
void
insertElementAt(Selection arg0, int arg1)
boolean
isEmpty()
java.util.Iterator<Selection>
iterator()
Selection
lastElement()
int
lastIndexOf(Selection arg0)
int
lastIndexOf(Selection arg0, int arg1)
java.util.ListIterator<Selection>
listIterator()
java.util.ListIterator<Selection>
listIterator(int arg0)
Selection
remove(int arg0)
boolean
remove(Selection arg0)
boolean
removeAll(java.util.Collection<Selection> arg0)
void
removeAllElements()
boolean
removeElement(Selection arg0)
void
removeElementAt(int arg0)
boolean
retainAll(java.util.Collection<Selection> arg0)
Selection
set(int arg0, Selection arg1)
void
setElementAt(Selection arg0, int arg1)
void
setName(java.lang.String name)
int
size()
java.util.List<Selection>
subList(int arg0, int arg1)
java.lang.String
toString()
-
-
-
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:
equals
in 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:
toString
in classjava.lang.Object
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
-