Venice 0.751beta

nz.org.venice.prefs.settings
Class ModuleFrameSettings

java.lang.Object
  extended bynz.org.venice.prefs.settings.AbstractSettings
      extended bynz.org.venice.prefs.settings.ModuleFrameSettings
All Implemented Interfaces:
Settings

public class ModuleFrameSettings
extends AbstractSettings

This class stores geometry data and a module identifier for saved frames.

Author:
Mark Hummel
See Also:
ModuleFrameSettingsReader, ModuleFrameSettingsWriter, PreferencesManager

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
ModuleFrameSettings()
          Create new ModuleFrameSettings.
ModuleFrameSettings(java.lang.String key)
          Create new ModuleFrameSettings.
 
Method Summary
 java.awt.Rectangle getBounds()
          Return the geometry of the JFrame.
 java.lang.String getModuleKey()
           
 Settings getModuleSettings()
          Return the Settings of the module of the frame.
 void setBounds(java.awt.Rectangle bounds)
          Set the ModuleFrame bounds.
 void setModuleKey(java.lang.String key)
          Set the module of the frame identifier (Deprecated)
 void setModuleSettings(Settings moduleSettings)
          Set the module settings of the module.
 
Methods inherited from class nz.org.venice.prefs.settings.AbstractSettings
getGroup, getHBarPolicy, getHBarValue, getKey, getModule, getTitle, getType, getVBarPolicy, getVBarValue, setGroup, setHBarPolicy, setHBarValue, setKey, setScrollBarValues, setTitle, setType, setVBarPolicy, setVBarValue, toString, updateScrollPane
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModuleFrameSettings

public ModuleFrameSettings()
Create new ModuleFrameSettings.


ModuleFrameSettings

public ModuleFrameSettings(java.lang.String key)
Create new ModuleFrameSettings.

Parameters:
key - The ModuleFrame Settings Identifier
Method Detail

setBounds

public void setBounds(java.awt.Rectangle bounds)
Set the ModuleFrame bounds.

Parameters:
bounds - The JFrame bounds

setModuleKey

public void setModuleKey(java.lang.String key)
Set the module of the frame identifier (Deprecated)

Parameters:
key - The module identifier

getModuleKey

public java.lang.String getModuleKey()

getBounds

public java.awt.Rectangle getBounds()
Return the geometry of the JFrame.

Returns:
The JFrame bounds

getModuleSettings

public Settings getModuleSettings()
Return the Settings of the module of the frame.

Returns:
The module settings as a Settings object.

setModuleSettings

public void setModuleSettings(Settings moduleSettings)
Set the module settings of the module.

Parameters:
moduleSettings - The module settings.

Venice 0.751beta