org.homeunix.thecave.buddi.plugin.builtin.preference
Class ViewPreferences

java.lang.Object
  extended by org.homeunix.thecave.buddi.plugin.api.PreferenceAccess
      extended by org.homeunix.thecave.buddi.plugin.api.BuddiPreferencePlugin
          extended by org.homeunix.thecave.buddi.plugin.builtin.preference.ViewPreferences
All Implemented Interfaces:
MossPlugin

public class ViewPreferences
extends BuddiPreferencePlugin


Field Summary
static long serialVersionUID
           
 
Constructor Summary
ViewPreferences()
           
 
Method Summary
 java.lang.String getName()
          Returns the plugin name.
 javax.swing.JPanel getPreferencesPanel()
          Create the JPanel to show in the Preferences.
 void load()
          Loads the preferences which this panel is responsible for.
 boolean save()
          Saves the preferences which this panel is responsible for.
 
Methods inherited from class org.homeunix.thecave.buddi.plugin.api.BuddiPreferencePlugin
getDescription, getMaximumVersion, getMinimumVersion, isPluginActive, isUseWrapper
 
Methods inherited from class org.homeunix.thecave.buddi.plugin.api.PreferenceAccess
getListPreference, getPreference, getSecurePreference, putListPreference, putPreference, putSecurePreference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ViewPreferences

public ViewPreferences()
Method Detail

getPreferencesPanel

public javax.swing.JPanel getPreferencesPanel()
Description copied from class: BuddiPreferencePlugin
Create the JPanel to show in the Preferences.

Specified by:
getPreferencesPanel in class BuddiPreferencePlugin
Returns:
A JPanel object which can be put into the Preferences panel

load

public void load()
Description copied from class: BuddiPreferencePlugin
Loads the preferences which this panel is responsible for.

Specified by:
load in class BuddiPreferencePlugin

save

public boolean save()
Description copied from class: BuddiPreferencePlugin
Saves the preferences which this panel is responsible for. If the changes nessecitate a restart, return true; otherwise, return false.

Specified by:
save in class BuddiPreferencePlugin

getName

public java.lang.String getName()
Description copied from interface: MossPlugin
Returns the plugin name. This may be used in different places, depending on the type of plugin.

Returns: