|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tvbrowser.extras.reminderplugin.ReminderPlugin
public class ReminderPlugin
TV-Browser
Field Summary | |
---|---|
(package private) static Localizer |
mLocalizer
The localizer for this class. |
static java.lang.String |
REMINDER_LIST_ACTION_ID
|
Method Summary | |
---|---|
(package private) void |
addPanel()
|
void |
addProgram(Program prog,
int reminderMinutes)
Adds a program to the reminder list. |
void |
addPrograms(Program[] programArr)
Add the given programs to the reminder list. |
static RemindValue[] |
calculatePossibleReminders(Program program)
|
(package private) AfterDataUpdateInfoPanel |
getAfterDataUpdateInfoPanel()
|
protected ActionMenu |
getButtonAction()
|
protected ProgramReceiveTarget[] |
getClientPluginsTargets()
|
protected ActionMenu |
getContextMenuActions(java.awt.Frame parentFrame,
Program program)
|
protected ActionMenu |
getContextMenuActions(Program program)
|
int |
getDefaultReminderTime()
Gets the default reminder time. |
static ReminderPlugin |
getInstance()
Gets the current instance of this class, or if there is no instance creates a new one. |
protected int |
getMarkPriority()
|
(package private) static java.lang.String |
getName()
|
PluginCenterPanelWrapper |
getPluginCenterPanelWrapper()
|
int |
getReminderMinutesForProgram(Program prog)
Gets the reminder minutes for the given program. |
static java.lang.String |
getReminderPluginId()
get the ID of the plugin (without the need to load the plugin) |
static PluginTreeNode |
getRootNode()
Gets the root node for the plugin tree. |
java.util.Properties |
getSettings()
Gets the settings for the reminder. |
static int |
getStartIndexForBeforeReminders(Program program)
|
protected static int |
getTimeToProgramStart(Program program)
|
void |
handleTvBrowserStartFinished()
Is been called by TVBrowser when the TV-Browser start is finished. |
protected void |
handleTvDataUpdateFinished()
|
protected boolean |
isAllowedToStartTimer()
Is used by the ReminderList to track if the TV-Browser start was finished. |
static java.lang.Object |
playSound(java.lang.String fileName)
Plays a sound. |
int |
removeProgram(Program prog)
Removes the given program from the reminder list. |
void |
removePrograms(Program[] progArr)
Remove the given programs from the reminder list. |
static void |
resetLocalizer()
|
protected void |
setClientPluginsTargets(ProgramReceiveTarget[] targets)
|
protected void |
setMarkPriority(int priority)
|
void |
setShowDateSeparators(boolean show)
|
boolean |
showDateSeparators()
|
void |
store()
Save the reminder data. |
java.lang.String |
toString()
|
void |
updateRootNode(boolean save)
Updates the plugin tree entry for this plugin. |
(package private) void |
updateRootNode(boolean save,
boolean scroll)
|
void |
writeData(java.io.ObjectOutputStream out)
Save the data of this plugin in the given stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
static Localizer mLocalizer
public static final java.lang.String REMINDER_LIST_ACTION_ID
Method Detail |
---|
public static ReminderPlugin getInstance()
public java.lang.String toString()
toString
in class java.lang.Object
static java.lang.String getName()
public void handleTvBrowserStartFinished()
void addPanel()
protected boolean isAllowedToStartTimer()
public java.util.Properties getSettings()
public void store()
public void writeData(java.io.ObjectOutputStream out) throws java.io.IOException
out
- The stream to write the data in.
java.io.IOException
protected ActionMenu getContextMenuActions(java.awt.Frame parentFrame, Program program)
public int getDefaultReminderTime()
public void addPrograms(Program[] programArr)
programArr
- The programs to add.public int removeProgram(Program prog)
prog
- The program to remove.
public void removePrograms(Program[] progArr)
progArr
- The programs to remove.public void addProgram(Program prog, int reminderMinutes)
prog
- The program to add.reminderMinutes
- The reminder minutes for the program.public int getReminderMinutesForProgram(Program prog)
prog
- The program to get the reminder minutes for.
public static PluginTreeNode getRootNode()
void updateRootNode(boolean save, boolean scroll)
public void updateRootNode(boolean save)
save
- True
if the reminder entries should be saved.protected ActionMenu getButtonAction()
public static java.lang.Object playSound(java.lang.String fileName)
fileName
- The file name of the sound to play.
protected ActionMenu getContextMenuActions(Program program)
public static java.lang.String getReminderPluginId()
protected ProgramReceiveTarget[] getClientPluginsTargets()
protected void setClientPluginsTargets(ProgramReceiveTarget[] targets)
protected int getMarkPriority()
protected void setMarkPriority(int priority)
protected static int getTimeToProgramStart(Program program)
protected void handleTvDataUpdateFinished()
public static void resetLocalizer()
public PluginCenterPanelWrapper getPluginCenterPanelWrapper()
AfterDataUpdateInfoPanel getAfterDataUpdateInfoPanel()
public boolean showDateSeparators()
public void setShowDateSeparators(boolean show)
public static int getStartIndexForBeforeReminders(Program program)
public static RemindValue[] calculatePossibleReminders(Program program)
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |