|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector<Program>
simplemarkerplugin.MarkList
public class 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 is a list with marked programs.
| Field Summary |
|---|
| Fields inherited from class java.util.Vector |
|---|
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
MarkList(ObjectInputStream in)
Load the list entries from the data file. |
|
MarkList(String name)
The constructor for a new list. |
|
| Method Summary | |
|---|---|
void |
addElement(Program p)
|
void |
createNodes(PluginTreeNode root,
boolean update)
Create the tree part of this list. |
Action |
getContextMenuAction(Program p)
|
String |
getId()
Gets the id String of this MarkList |
protected Icon |
getMarkIcon()
|
protected String |
getMarkIconPath()
|
int |
getMarkPriority()
Gets the mark priority of this list. |
String |
getName()
|
Program[] |
getProgramsWithTitle(String title)
Return the programs with the given title. |
ProgramReceiveTarget |
getReceiveTarget()
|
Hashtable<String,LinkedList<Program>> |
getSortedPrograms()
|
void |
handleAction(PluginTreeNode node)
Remove all programs of the list |
Program[] |
removeProgramsWithTitle(String title)
Removes the programs with the given title. |
protected void |
revalidateContainingPrograms(ArrayList<Program> deletedPrograms)
|
protected void |
setMarkIconFileName(String fileName)
|
void |
setMarkPriority(int value)
Sets the mark priority of this list. |
void |
setName(String name)
Set the name of this list. |
String |
toString()
|
protected void |
updateNode()
|
void |
writeData(ObjectOutputStream out)
Write the list to the data file. |
| Methods inherited from class java.util.Vector |
|---|
add, add, addAll, addAll, 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, trimToSize |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MarkList(String name)
name - The name of the list.
public MarkList(ObjectInputStream in)
throws IOException,
ClassNotFoundException
in - The ObjectInputStream of the data file.
IOException
ClassNotFoundException| Method Detail |
|---|
public String getName()
public void setName(String name)
name - The name of this list.
public void writeData(ObjectOutputStream out)
throws IOException
out - The ObjectOutputStream of the data file.
IOExceptionpublic Action getContextMenuAction(Program p)
p - The Program.
public void handleAction(PluginTreeNode node)
node - The parent node that contains the programs
public void createNodes(PluginTreeNode root,
boolean update)
root - The root node of this list.update - The tree is to updateprotected void updateNode()
protected void revalidateContainingPrograms(ArrayList<Program> deletedPrograms)
protected void setMarkIconFileName(String fileName)
protected Icon getMarkIcon()
protected String getMarkIconPath()
public Hashtable<String,LinkedList<Program>> getSortedPrograms()
public Program[] getProgramsWithTitle(String title)
title - The title of the programs to get.
public Program[] removeProgramsWithTitle(String title)
title - The title of the Programs to remove
public ProgramReceiveTarget getReceiveTarget()
public String getId()
public String toString()
toString in class Vector<Program>public void addElement(Program p)
addElement in class Vector<Program>public int getMarkPriority()
public void setMarkPriority(int value)
value - The new mark priority.
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||