org.xnap.gui
Interface SettingsPanel

All Known Implementing Classes:
AbstractSettingsPanel, AdvancedTransferPrefsPanel, ApplicationPrefsPanel, ChatAppearancePrefsPanel, ChatPrefsPanel, ConfirmPrefsPanel, ConsoleAppearancePrefsPanel, FilePrefsPanel, FilesWizardPanel, GeneralWizardPanel, GiFTPreferencesPanel, IntroWizardPanel, JOscarPreferencesPanel, JTellaPreferencesPanel, LicenseWizardPanel, LimeWirePreferencesPanel, LookAndFeelPrefsPanel, NetworkPrefsPanel, NetworkWizardPanel, NoteWizardPanel, OAVPreferencesPanel, OpenNapAdvancedPreferencesPanel, OpenNapPreferencesPanel, OpenNapServerPreferencesPanel, OpenNapWizardPanel, OvernetPreferencesPanel, PackagePrefsPanel, PersonalPrefsPanel, PluginWizardPanel, ProgramPrefsPanel, ProxyPrefsPanel, SearchPrefsPanel, ShortcutPrefsPanel, TransferPrefsPanel

public interface SettingsPanel

Defines the requirements for panels that are shown in the wizard or preferences dialog.

See Also:
PreferencesDialog, xnap.gui.component.DefaultWizardDialog

Method Summary
 void apply()
          Invoked when the dialog is closed or the apply button is pressed.
 java.lang.String getDescription()
          Returns a short description of the panel.
 javax.swing.Icon getIcon()
          Returns an icon.
 javax.swing.JComponent getPanel()
          Returns the panel.
 java.lang.String getTitle()
          Returns the title of the panel.
 

Method Detail

apply

void apply()
           throws java.lang.Exception
Invoked when the dialog is closed or the apply button is pressed.

Throws:
java.lang.IllegalArgumentException - thrown when settings could not be applied
java.lang.Exception

getDescription

java.lang.String getDescription()
Returns a short description of the panel.


getIcon

javax.swing.Icon getIcon()
Returns an icon.

See Also:
xnap.gui.component.DefaultWizardDialog

getPanel

javax.swing.JComponent getPanel()
Returns the panel.


getTitle

java.lang.String getTitle()
Returns the title of the panel.



Copyright © 2001-2005 XNap Team. All Rights Reserved.