org.jivesoftware.spark.preference
Class PreferenceManager

java.lang.Object
  extended by org.jivesoftware.spark.preference.PreferenceManager

public class PreferenceManager
extends java.lang.Object

Usage of the PreferenceManager to handle loading of preferences within Spark.

Author:
Derek DeMoro

Constructor Summary
PreferenceManager()
           
 
Method Summary
 void addPreference(Preference preference)
           
 Preference getPreference(java.lang.String namespace)
           
 java.lang.Object getPreferenceData(java.lang.String namespace)
           
 javax.swing.JDialog getPreferenceDialog()
           
 java.util.Iterator getPreferences()
           
 void removePreference(Preference preference)
           
 void showPreferences()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferenceManager

public PreferenceManager()
Method Detail

showPreferences

public void showPreferences()

addPreference

public void addPreference(Preference preference)

removePreference

public void removePreference(Preference preference)

getPreference

public Preference getPreference(java.lang.String namespace)

getPreferenceData

public java.lang.Object getPreferenceData(java.lang.String namespace)

getPreferences

public java.util.Iterator getPreferences()

getPreferenceDialog

public javax.swing.JDialog getPreferenceDialog()