TV-Browser 2.7.5 API

tvbrowser.ui.settings
Class ChannelsSettingsTab

java.lang.Object
  extended by tvbrowser.ui.settings.ChannelsSettingsTab
All Implemented Interfaces:
SettingsTab, ListDropAction

public class ChannelsSettingsTab
extends Object
implements SettingsTab, ListDropAction

This Class represents the Channel-Settings-Tab

Author:
Bodo Tasche

Field Summary
static Localizer mLocalizer
          Translation
 
Constructor Summary
ChannelsSettingsTab()
          Create the SettingsTab
 
Method Summary
 void configChannels()
          Display the Config-Channel
 JPanel createSettingsPanel()
          Create the SettingsPanel
 void drop(JList source, JList target, int n, boolean move)
          The method that is called by the drop event.
 Icon getIcon()
          Returns the name of the tab-sheet.
 String getTitle()
          Returns the title of the tab-sheet.
 void saveSettings()
          Called by the host-application, if the user wants to save the settings.
 void saveSettingsWithoutDataUpdate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mLocalizer

public static final Localizer mLocalizer
Translation

Constructor Detail

ChannelsSettingsTab

public ChannelsSettingsTab()
Create the SettingsTab

Method Detail

createSettingsPanel

public JPanel createSettingsPanel()
Create the SettingsPanel

Specified by:
createSettingsPanel in interface SettingsTab
Returns:
the SettingsPanel

saveSettings

public void saveSettings()
Called by the host-application, if the user wants to save the settings.

Specified by:
saveSettings in interface SettingsTab

saveSettingsWithoutDataUpdate

public void saveSettingsWithoutDataUpdate()

getIcon

public Icon getIcon()
Returns the name of the tab-sheet.

Specified by:
getIcon in interface SettingsTab

getTitle

public String getTitle()
Returns the title of the tab-sheet.

Specified by:
getTitle in interface SettingsTab

configChannels

public void configChannels()
Display the Config-Channel


drop

public void drop(JList source,
                 JList target,
                 int n,
                 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.
n - 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)