public class ModulePreferences extends BaseManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
JPack |
getDisplayPrefs(PackListener listener)
Returns the display preferences pack.
|
JPack |
getGeneralPrefs(PackListener listener)
Returns the general preferences pack.
|
JPack |
getSearchPrefs(PackListener listener)
Returns the search preferences pack.
|
int |
getType()
Returns this modules type.
|
java.lang.String |
getUID()
Returns the UID of this module.
|
void |
setDisplayPrefs(PackListener listener,
JPack pack)
Saves the display preferences pack.
|
void |
setGeneralPrefs(PackListener listener,
JPack pack)
Saves the general preferences pack.
|
void |
setSearchPrefs(PackListener listener,
JPack pack)
Saves the search preferences pack.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public java.lang.String getUID()
public int getType()
public JPack getGeneralPrefs(PackListener listener)
listener
- the listener to be notified to save the changespublic void setGeneralPrefs(PackListener listener, JPack pack)
getGeneralPrefs(PackListener)
method. The listener is automatically
removed as well.listener
- the listener to be notified to save the changespack
- the pack with the new settings for this modulepublic JPack getDisplayPrefs(PackListener listener)
listener
- the listener to be notified to save the changespublic void setDisplayPrefs(PackListener listener, JPack pack)
getGeneralPrefs(PackListener)
method. The listener is automatically
removed as well.
listener
- the listener to be notified to save the changespack
- the pack with the new settings for this modulepublic JPack getSearchPrefs(PackListener listener)
listener
- the listener to be notified to save the changespublic void setSearchPrefs(PackListener listener, JPack pack)
getGeneralPrefs(PackListener)
method. The listener is automatically
removed as well.
listener
- the listener to be notified to save the changespack
- the pack with the new settings for this modulewww.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.