|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.sparkimpl.preference.sounds.SoundPreference
public class SoundPreference
Preferences to handle Sounds played within Spark.
| Field Summary | |
|---|---|
static java.lang.String |
NAMESPACE
|
| Constructor Summary | |
|---|---|
SoundPreference()
|
|
| Method Summary | |
|---|---|
void |
commit()
Called whenever the preference should be saved. |
java.lang.Object |
getData()
Returns the data model representing this preference. |
java.lang.String |
getErrorMessage()
The error message to display if #isDataDisplayed returns false. |
javax.swing.JComponent |
getGUI()
Return the UI to display whenever this preference is selected in the preference dialog. |
javax.swing.Icon |
getIcon()
Return the icon to use inside the Preferences list. |
java.lang.String |
getListName()
Return the title to use inside the Preferences list. |
java.lang.String |
getNamespace()
Returns the associated namespace of this preference. |
SoundPreferences |
getPreferences()
|
java.lang.String |
getTitle()
Return the title to use in the preference window. |
java.lang.String |
getTooltip()
Return the tooltip to use for this preference. |
boolean |
isDataValid()
Return true if the data supplied is valid, otherwise return false. |
void |
load()
Called whenever the preference is invoked from the Preference list. |
void |
loadFromFile()
|
void |
shutdown()
Called when Spark is closing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String NAMESPACE
| Constructor Detail |
|---|
public SoundPreference()
| Method Detail |
|---|
public java.lang.String getTitle()
Preference
getTitle in interface Preferencepublic javax.swing.Icon getIcon()
Preference
getIcon in interface Preferencepublic java.lang.String getTooltip()
Preference
getTooltip in interface Preferencepublic java.lang.String getListName()
Preference
getListName in interface Preferencepublic java.lang.String getNamespace()
Preference
getNamespace in interface Preferencepublic javax.swing.JComponent getGUI()
Preference
getGUI in interface Preferencepublic void loadFromFile()
public void load()
Preference
load in interface Preferencepublic void commit()
Preference
commit in interface Preferencepublic boolean isDataValid()
Preference
isDataValid in interface Preferencepublic java.lang.String getErrorMessage()
Preference
getErrorMessage in interface Preferencepublic java.lang.Object getData()
Preference
getData in interface Preferencepublic SoundPreferences getPreferences()
public void shutdown()
Preference
shutdown in interface Preference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||