public class ReminderPlugin extends Object implements ContextMenuIf, InternalPluginIf
Modifier and Type | Field and Description |
---|---|
static Localizer |
mLocalizer
The localizer for this class.
|
Modifier and Type | Method and Description |
---|---|
void |
addProgram(Program prog) |
void |
addPrograms(Program[] programArr) |
ActionMenu |
getButtonAction(Frame parentFrame) |
String[] |
getClientPluginIds() |
ActionMenu |
getContextMenuActions(Frame parentFrame,
Program program) |
ActionMenu |
getContextMenuActions(Program program) |
String |
getDescription() |
Icon |
getIcon() |
String |
getId() |
static ReminderPlugin |
getInstance()
Gets the current instance of this class, or if
there is no instance creates a new one.
|
protected ProgramPanelSettings |
getProgramPanelSettings(boolean showOnlyDateAndTitle) |
PluginTreeNode |
getRootNode() |
Properties |
getSettings()
Gets the settings for the reminder.
|
String |
getTitle() |
void |
handleTvBrowserStartFinished()
Is been called by TVBrowser when the TV-Browser start is finished.
|
protected boolean |
isAllowedToStartTimer()
Is used by the ReminderList to track if
the TV-Browser start was finished.
|
void |
pauseRemider()
Halt the remider listener.
|
static Object |
playSound(String fileName)
Plays a sound.
|
void |
removeProgram(Program prog) |
void |
removePrograms(Program[] progArr) |
void |
setClientPluginIds(String[] clientPluginArr) |
void |
store()
Save the reminder data.
|
String |
toString() |
void |
updateRootNode() |
public static final Localizer mLocalizer
public static ReminderPlugin getInstance()
public void handleTvBrowserStartFinished()
protected boolean isAllowedToStartTimer()
public Properties getSettings()
public void pauseRemider()
public void store()
public String[] getClientPluginIds()
public void setClientPluginIds(String[] clientPluginArr)
public ActionMenu getContextMenuActions(Frame parentFrame, Program program)
public void addPrograms(Program[] programArr)
public void removeProgram(Program prog)
public void removePrograms(Program[] progArr)
public void addProgram(Program prog)
public PluginTreeNode getRootNode()
public void updateRootNode()
public ActionMenu getButtonAction(Frame parentFrame)
public static Object playSound(String fileName)
fileName
- The file name of the sound to play.public ActionMenu getContextMenuActions(Program program)
getContextMenuActions
in interface ContextMenuIf
public String getId()
getId
in interface ContextMenuIf
protected ProgramPanelSettings getProgramPanelSettings(boolean showOnlyDateAndTitle)
showOnlyDateAndTitle
- If the program panel should contain only date and title.public String getDescription()
getDescription
in interface InternalPluginIf
public Icon getIcon()
getIcon
in interface InternalPluginIf
public String getTitle()
getTitle
in interface InternalPluginIf
TV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)