|
Venice 0.751beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.org.venice.prefs.settings.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 |
ALERTS, ANALYSER, ANNMODULE, ANNRESULTS, CHART, CHARTMODULE, FRAME, GAMODULE, GARESULTS, GPMODULE, GPRESULTS, GRAPHS, HELP, HELPMODULE, MENUS, MODULE, PAPERTRADEMODULE, PAPERTRADERESULTS, PORTFOLIO, PORTFOLIOMODULE, PORTFOLIOTABLEMODULE, 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 |
int |
getHBarPolicy()
|
int |
getHBarValue()
|
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. |
int |
getVBarPolicy()
|
int |
getVBarValue()
|
void |
setGroup(int group)
Set the Module group as defined by the Settings constants |
void |
setHBarPolicy(int policy)
|
void |
setHBarValue(int hbarValue)
|
void |
setKey(java.lang.String key)
Set the module identifier. |
void |
setScrollBarValues(javax.swing.JScrollPane scrollPane)
Set the Settings scrollbar values from the ModuleFame scrollPane |
void |
setTitle(java.lang.String title)
Set the title of the Module. |
void |
setType(int type)
Set the module type. |
void |
setVBarPolicy(int policy)
|
void |
setVBarValue(int vbarValue)
|
java.lang.String |
toString()
|
void |
updateScrollPane(javax.swing.JScrollPane scrollPane)
Set the scrollPane scrollbar values with this settings scroll bar values |
| 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()
public void setHBarValue(int hbarValue)
public int getHBarValue()
public void setVBarValue(int vbarValue)
public int getVBarValue()
public int getHBarPolicy()
public void setHBarPolicy(int policy)
public void setVBarPolicy(int policy)
public int getVBarPolicy()
public void updateScrollPane(javax.swing.JScrollPane scrollPane)
scrollPane - The ModuleFrame scrollPane to updatepublic void setScrollBarValues(javax.swing.JScrollPane scrollPane)
setScrollBarValues in interface SettingsscrollPane - The ModuleFrame scrollPane to read scrollbar values from
|
Venice 0.751beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||