|
Venice 0.8alpha | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnz.org.venice.prefs.settings.AbstractSettings
public abstract class AbstractSettings
This class can save the toplevel Module data which is common to all modules.
Settings,
SettingsWriter| Field Summary |
|---|
| Fields inherited from interface nz.org.venice.prefs.settings.Settings |
|---|
ANALYSER, ANNMODULE, ANNRESULTS, CHART, CHARTMODULE, FRAME, GAMODULE, GARESULTS, GPMODULE, GPRESULTS, GRAPHS, HELP, HELPMODULE, MODULE, PAPERTRADEMODULE, PAPERTRADERESULTS, PORTFOLIO, PORTFOLIOMODULE, PREFERENCES, PREFERENCESMODULE, PREFS, QUOTEMODULE, ROOTMODULE, TABLE, TRANSACTIONMODULE, WATCHSCREENMODULE |
| Constructor Summary | |
|---|---|
AbstractSettings(int group,
int type)
|
|
AbstractSettings(int group,
int type,
java.lang.String key)
|
|
| Method Summary | |
|---|---|
int |
getGroup()
Return the Module group as defined by the Settings constants |
java.lang.String |
getKey()
Return the module identifier |
Module |
getModule(javax.swing.JDesktopPane desktop)
Return a Module based on the settings. |
java.lang.String |
getTitle()
Get the title of the module |
int |
getType()
Return the module type as defined by the Setting constants. |
void |
setGroup(int group)
Set the Module group as defined by the Settings constants |
void |
setKey(java.lang.String key)
Set the module identifier. |
void |
setTitle(java.lang.String title)
Set the title of the Module. |
void |
setType(int type)
Set the module type. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSettings(int group,
int type)
public AbstractSettings(int group,
int type,
java.lang.String key)
| Method Detail |
|---|
public void setTitle(java.lang.String title)
setTitle in interface Settingstitle - The module titlepublic java.lang.String getTitle()
getTitle in interface Settingspublic int getType()
Settings
getType in interface Settingspublic int getGroup()
Settings
getGroup in interface Settingspublic void setGroup(int group)
Settings
setGroup in interface Settingsgroup - The module grouppublic void setType(int type)
Settings
setType in interface Settingstype - a type constantpublic void setKey(java.lang.String key)
Settings
setKey in interface Settingskey - The module identifierpublic java.lang.String getKey()
Settings
getKey in interface Settingspublic Module getModule(javax.swing.JDesktopPane desktop)
Settings
getModule in interface Settingspublic java.lang.String toString()
toString in class java.lang.Object
|
Venice 0.8alpha | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||