public class WebSettingsTab extends Object implements SettingsTab, ListDropAction
Constructor and Description |
---|
WebSettingsTab(JFrame frame,
ArrayList<WebAddress> addresses,
WebPlugin plugin)
Create the Tab
|
Modifier and Type | Method and Description |
---|---|
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.
|
public WebSettingsTab(JFrame frame, ArrayList<WebAddress> addresses, WebPlugin plugin)
frame
- Parent-Frameaddresses
- List of Addressespublic JPanel createSettingsPanel()
SettingsTab
createSettingsPanel
in interface SettingsTab
protected void resetIcons()
public void saveSettings()
SettingsTab
saveSettings
in interface SettingsTab
public Icon getIcon()
SettingsTab
getIcon
in interface SettingsTab
public String getTitle()
SettingsTab
getTitle
in interface SettingsTab
public void drop(JList source, JList target, int row, boolean move)
ListDropAction
drop
in interface ListDropAction
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.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)