TV-Browser 2.7.5 API

webplugin
Class WebSettingsTab

java.lang.Object
  extended by webplugin.WebSettingsTab
All Implemented Interfaces:
SettingsTab, ListDropAction

public class WebSettingsTab
extends Object
implements SettingsTab, ListDropAction

The Settings-Tab


Constructor Summary
WebSettingsTab(JFrame frame, ArrayList<WebAddress> addresses, WebPlugin plugin)
          Create the Tab
 
Method Summary
 JPanel createSettingsPanel()
          Creates the settings panel for this tab.
 void drop(JList source, JList target, int row, boolean move)
          The method that is called by the drop event.
 Icon getIcon()
          Returns the icon of the tab-sheet.
 String getTitle()
          Returns the title of the tab-sheet.
protected  void resetIcons()
          Rest the Icons
 void saveSettings()
          Called by the host-application, if the user wants to save the settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSettingsTab

public WebSettingsTab(JFrame frame,
                      ArrayList<WebAddress> addresses,
                      WebPlugin plugin)
Create the Tab

Parameters:
frame - Parent-Frame
addresses - List of Addresses
Method Detail

createSettingsPanel

public JPanel createSettingsPanel()
Description copied from interface: SettingsTab
Creates the settings panel for this tab.

Specified by:
createSettingsPanel in interface SettingsTab

resetIcons

protected void resetIcons()
Rest the Icons


saveSettings

public void saveSettings()
Description copied from interface: SettingsTab
Called by the host-application, if the user wants to save the settings.

Specified by:
saveSettings in interface SettingsTab

getIcon

public Icon getIcon()
Description copied from interface: SettingsTab
Returns the icon of the tab-sheet.

Specified by:
getIcon in interface SettingsTab

getTitle

public String getTitle()
Description copied from interface: SettingsTab
Returns the title of the tab-sheet.
For plugins the return value of this method is ignored since version 2.7

Specified by:
getTitle in interface SettingsTab

drop

public void drop(JList source,
                 JList target,
                 int row,
                 boolean move)
Description copied from interface: ListDropAction
The method that is called by the drop event.

Specified by:
drop in interface ListDropAction
Parameters:
source - The source JList.
target - The target JList.
row - The number of the row to move the entries to.
move - Only move one entry from the source to the target list.

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)