|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdevplugin.PluginTreeNode
public class PluginTreeNode
The PluginTreeNode class represents a single node of the plugin tree view.
| Nested Class Summary | |
|---|---|
static class |
PluginTreeNode.RemovedProgramsHandler
|
| Constructor Summary | |
|---|---|
PluginTreeNode(Marker marker)
Creates a new root PluginTreeNode On TV listings updates, the PluginTreeListener gets informed. |
|
PluginTreeNode(Marker marker,
boolean handleTvDataUpdate)
Creates a new root PluginTreeNode |
|
PluginTreeNode(ProgramItem item)
Creates a new Node containing a program item. |
|
PluginTreeNode(String title)
Creates a new PluginTreeNode object with a specified title |
|
| Method Summary | |
|---|---|
void |
add(PluginTreeNode node)
|
void |
addAction(Action action)
|
void |
addActionMenu(ActionMenu menu)
Adds a an action menu to this node |
PluginTreeNode |
addNode(String title)
|
void |
addNodeListener(PluginTreeListener listener)
|
PluginTreeNode |
addProgram(Program program)
add a single program to this tree node. |
void |
addPrograms(List<Program> listNew)
|
PluginTreeNode |
addProgramWithoutCheck(Program program)
add a single program node to this tree node. |
void |
clear()
|
boolean |
contains(Program prog)
|
boolean |
contains(Program prog,
boolean recursive)
|
ActionMenu[] |
getActionMenus()
|
Node |
getMutableTreeNode()
|
ProgramItem[] |
getProgramItems()
|
Program[] |
getPrograms()
|
Object |
getUserObject()
|
boolean |
isEmpty()
|
boolean |
isLeaf()
|
void |
load(ObjectInputStream in)
|
void |
removeAllActions()
|
void |
removeAllChildren()
|
void |
removeAllNodeListeners()
|
boolean |
removeNodeListener(PluginTreeListener listener)
|
void |
removeProgram(Program program)
|
void |
removeProgram(ProgramItem item)
|
void |
setGroupingByDateEnabled(boolean enable)
Enables/Disables the 'grouping by date'-feature. |
void |
setGroupingByWeekEnabled(boolean enable)
Enables/Disables 'grouping by week' for nodes showing programs by date. |
void |
setNodeFormatter(NodeFormatter formatter)
Sets the formatter for this node and all of the child nodes. |
int |
size()
Get the number of child nodes. |
void |
store(ObjectOutputStream out)
|
String |
toString()
|
void |
update()
Refreshs the tree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PluginTreeNode(String title)
title - public PluginTreeNode(Marker marker)
PluginTreeListener gets informed.
marker -
public PluginTreeNode(Marker marker,
boolean handleTvDataUpdate)
marker - handleTvDataUpdate - specifies, if the PluginTreeListener
should get called on TV listings updatespublic PluginTreeNode(ProgramItem item)
item - | Method Detail |
|---|
public void addNodeListener(PluginTreeListener listener)
public boolean removeNodeListener(PluginTreeListener listener)
public void removeAllNodeListeners()
public Node getMutableTreeNode()
public void addActionMenu(ActionMenu menu)
menu - public void removeAllActions()
public void addAction(Action action)
public ActionMenu[] getActionMenus()
public void setNodeFormatter(NodeFormatter formatter)
formatter - the formatterpublic void setGroupingByDateEnabled(boolean enable)
enable - public void setGroupingByWeekEnabled(boolean enable)
enable - setGroupingByDateEnabled(boolean)public Object getUserObject()
public void removeAllChildren()
public void add(PluginTreeNode node)
public boolean contains(Program prog,
boolean recursive)
public boolean contains(Program prog)
public void update()
public void addPrograms(List<Program> listNew)
public PluginTreeNode addProgram(Program program)
program -
public PluginTreeNode addProgramWithoutCheck(Program program)
program -
public void removeProgram(ProgramItem item)
public void removeProgram(Program program)
public PluginTreeNode addNode(String title)
public ProgramItem[] getProgramItems()
public Program[] getPrograms()
public void store(ObjectOutputStream out)
throws IOException
IOException
public void load(ObjectInputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundExceptionpublic int size()
public void clear()
public boolean isEmpty()
public boolean isLeaf()
public String toString()
toString in class Object
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||