|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.toolkit.preferences.HWMUserPreferences
public class HWMUserPreferences
Title: HWMUserPreferences
Description:
Company: Altair Engineering, Inc.
Field Summary |
---|
Fields inherited from interface com.altair.hwm.toolkit.preferences.HWMUserPrefConstants |
---|
APP, CONFIG_FILENAME, DESIGNER, EPIC_VERSION, FILE, HEIGHT, LOCATION, MAX_MRU, MRU, PREFS, ROOT, SIZE, TPL, VERSION, WIDTH, WINDOW, X, Y |
Constructor Summary | |
---|---|
HWMUserPreferences(HWMFrameView frmView)
Constructor |
|
HWMUserPreferences(HWMFrameView frmView,
java.lang.String strDefTpl)
Constructor |
Method Summary | |
---|---|
java.lang.String[] |
GetMRUPrjs()
Returns a list of the mru projects Index 0 is the mru |
java.lang.String[] |
GetMRUTpls()
Returns a list of the mru templates. |
java.awt.Rectangle |
GetWindowPrefs()
Returns the mru bounds of the pmt or app |
void |
SetMRUProject(java.lang.String szTpl,
java.lang.String szPrj)
Sets the new most recently used projects file |
void |
SetMRUTemplate(java.lang.String szTpl)
Sets a new most recently used template file |
void |
WriteConfigFile()
Writes the config file to disk |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HWMUserPreferences(HWMFrameView frmView) throws java.lang.Exception
frmView
- The main frame
java.lang.Exception
public HWMUserPreferences(HWMFrameView frmView, java.lang.String strDefTpl) throws java.lang.Exception
frmView
- The main framestrDefTpl
- The default template name
java.lang.Exception
Method Detail |
---|
public void WriteConfigFile() throws java.lang.Exception
java.lang.Exception
public void SetMRUTemplate(java.lang.String szTpl)
szTpl
- The name of the new filepublic void SetMRUProject(java.lang.String szTpl, java.lang.String szPrj)
szTpl
- The name of the templateszPrj
- The name of the projectpublic java.lang.String[] GetMRUTpls()
public java.lang.String[] GetMRUPrjs()
public java.awt.Rectangle GetWindowPrefs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |