simplemarkerplugin
Class MarkListsVector
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector<MarkList>
simplemarkerplugin.MarkListsVector
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<MarkList>, Collection<MarkList>, List<MarkList>, RandomAccess
public class MarkListsVector
- extends Vector<MarkList>
SimpleMarkerPlugin 1.4 Plugin for TV-Browser since version 2.3
to only mark programs and add them to the Plugin tree.
(Formerly known as Just_Mark ;-))
A class that contains the MarkLists.
- Author:
- René Mach
- See Also:
- Serialized Form
| Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
MarkListsVector
public MarkListsVector()
contains
public boolean contains(Program p)
- Parameters:
p - The Program to find.
- Returns:
- True if a list contains the Program.
getNamesOfListsContainingProgram
public String[] getNamesOfListsContainingProgram(Program p)
- Parameters:
p - The Program to find
- Returns:
- The array of the names of the lists that containing p.
getListForName
public MarkList getListForName(String name)
- Parameters:
name - The name of the requested list.
- Returns:
- The list for the name.
removeListForName
public void removeListForName(String name)
- Parameters:
name - The name of the list to remove.
getListAt
public MarkList getListAt(int index)
- Parameters:
index - The index of the list.
- Returns:
- The list at the index.
getMarkListNames
public String[] getMarkListNames()
- Returns:
- The names of the MarkLists.
getReceiveTargets
public ProgramReceiveTarget[] getReceiveTargets()
- Gets the available ProgramReceiveTargets
- Returns:
- Thr available ProgramReceiveTargets
getMarkListForTarget
public MarkList getMarkListForTarget(ProgramReceiveTarget target)
- Gets the the MarkList of the given taget.
- Parameters:
target - The target to get the MarkList for.
- Returns:
- The wanted MarkList or
null if the
list for the target was not found.
getListForId
public MarkList getListForId(String id)
- Parameters:
id - The id of the requested list.
- Returns:
- The list for the name.
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)