public class MicroTvBrowserPlugin extends Plugin
Modifier and Type | Field and Description |
---|---|
(package private) JDialog |
configDialog |
(package private) SettingsTab |
configDialogSettings |
static StringBuffer |
exportLog |
(package private) static Localizer |
mLocalizer |
Constructor and Description |
---|
MicroTvBrowserPlugin() |
Modifier and Type | Method and Description |
---|---|
protected void |
dismissSettings(boolean save) |
void |
execute()
This method is invoked by the host-application if the user has choosen your
plugin from the menu or the toolbar.
|
String |
getButtonIconName()
Returns the name of the file, containing your button icon (in the jar-File).
|
String |
getButtonText()
This method is called by the host-application to show the plugin in the
menu or in the toolbar.
|
String[] |
getChannelList() |
int |
getDaysToExport() |
int |
getExportLevel()
Getter for property exportLevel.
|
PluginInfo |
getInfo()
Gets the meta information about the plugin.
|
JarFile |
getJarFilePublic() |
String |
getMarkIconName()
Returns the name of the file, containing your mark icon (in the jar-File).
|
Frame |
getParentFramePublic() |
SettingsTab |
getSettingsTab()
Gets the SettingsTab object, which is added to the settings-window.
|
boolean |
isChannelNameInNowList()
Getter for property channelNameInNowList.
|
boolean |
isUseIconsInProgList()
Getter for property useIconsInProgList.
|
boolean |
isUseNanoEdition()
Getter for property useNanoEdition.
|
void |
loadSettings(Properties settings)
Called by the host-application during start-up.
|
void |
setChannelList(String[] s) |
void |
setChannelNameInNowList(boolean channelNameInNowList)
Setter for property channelNameInNowList.
|
void |
setDaysToExport(int s) |
void |
setExportLevel(int exportLevel)
Setter for property exportLevel.
|
void |
setUseIconsInProgList(boolean useIcons)
Setter for property useIconsInProgList.
|
void |
setUseNanoEdition(boolean useNanoEdition)
Setter for property useNanoEdition.
|
void |
showSettings() |
Properties |
storeSettings()
Called by the host-application during shut-down.
|
canReceivePrograms, canUseProgramTree, createImageIcon, createImageIcon, createImageIcon, execute, execute, getButtonAction, getContextMenuActions, getContextMenuItemText, getId, getJarFile, getMarkIcon, getMarkIconFromTheme, getParentFrame, getPluginManager, getProgramFromContextMenuActionEvent, getProgramTableIcons, getProgramTableIconText, getRootNode, getVersion, handleTvBrowserStartFinished, handleTvDataAdded, handleTvDataChanged, handleTvDataChanged, handleTvDataDeleted, handleTvDataUpdateFinished, onActivation, onDeactivation, readData, receivePrograms, setJarFile, setParent, setPluginManager, storeRootNode, supportMultipleProgramExecution, toString, writeData
public static StringBuffer exportLog
static Localizer mLocalizer
JDialog configDialog
SettingsTab configDialogSettings
public void loadSettings(Properties settings)
Plugin
Override this method to load your plugins settings from the file system.
loadSettings
in class Plugin
settings
- The settings for this plugin (May be empty).public Properties storeSettings()
Plugin
Override this method to store your plugins settings to the file system. ATTENTION: Don't use any logger, thread or access to Frames in this method.
storeSettings
in class Plugin
null
if this plugin
does not need to save any settings.public String[] getChannelList()
public void setChannelList(String[] s)
public int getDaysToExport()
public void setDaysToExport(int s)
public PluginInfo getInfo()
Plugin
Override this method to provide information about your plugin.
public String getButtonText()
getButtonText
in class Plugin
null
if
the plugin does not provide this feature.public SettingsTab getSettingsTab()
Plugin
Override this method to provide a seetings tab. The settings tab will be shown in the settings dialog in the plugin section.
getSettingsTab
in class Plugin
null
if the plugin does not
provide this feature.public JarFile getJarFilePublic()
public Frame getParentFramePublic()
public void execute()
public String getMarkIconName()
This icon is used for marking programs in the program table.
Return null
if your plugin does not provide this feature.
getMarkIconName
in class Plugin
null
if the plugin does not provide this feature.Plugin.getMarkIcon()
public String getButtonIconName()
This icon is used for the toolbar and the menu.
Return null
if your plugin does not provide this feature.
getButtonIconName
in class Plugin
#getButtonIcon()
protected void dismissSettings(boolean save)
public void showSettings()
public boolean isUseNanoEdition()
public void setUseNanoEdition(boolean useNanoEdition)
useNanoEdition
- New value of property useNanoEdition.public int getExportLevel()
public void setExportLevel(int exportLevel)
exportLevel
- New value of property exportLevel.public boolean isUseIconsInProgList()
public void setUseIconsInProgList(boolean useIcons)
useIconsInProgList
- New value of property useIconsInProgList.public boolean isChannelNameInNowList()
public void setChannelNameInNowList(boolean channelNameInNowList)
channelNameInNowList
- New value of property channelNameInNowList.TV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)