|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwxtgui.props
Handling the applications settings Recent file list and window rectangle
Constructor Summary | |
props()
Creates a new instance of props with connstructed file: |
|
props(java.lang.String filepath)
Creates a new instance. |
Method Summary | |
void |
addRecentFile(java.lang.String filename)
Inserts a new filepath, file-element |
java.awt.Rectangle |
getFrameBounds()
Retrieves the bounding rectangle as described i properties |
int |
getLayoutIndex()
Retrieve the actual layout index |
java.lang.String |
getLookAndFeelName()
Retrieve the actual LookAndFeel name |
java.io.File |
getRecentFile(int ix)
Get recent file number ix. |
java.lang.String |
getRecentFilePath(int ix)
Get recent filepath number ix. |
java.net.URI |
getValidationSchema()
Retrieve the URI of the local validation schema |
void |
removeRecentFile(java.lang.String filename)
Removes a named filepath |
void |
saveConfig()
store the properties |
void |
setFrameBounds(java.awt.Rectangle R)
Sets the bounding rectangle for the main window |
void |
setLayoutIndex(int ix)
Set the actual layout index |
void |
setLookAndFeelName(java.lang.String s)
Set the actual LookAndFeel name |
void |
setValidationSchema(java.net.URI theURI)
Set the URI of the local validation schema |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public props()
public props(java.lang.String filepath)
filepath
- is used for configuration fileMethod Detail |
public void saveConfig()
public java.net.URI getValidationSchema()
public void setValidationSchema(java.net.URI theURI)
theURI
- the URI that holds the validation schemapublic int getLayoutIndex()
public void setLayoutIndex(int ix)
ix
- The layout indexpublic java.lang.String getLookAndFeelName()
public void setLookAndFeelName(java.lang.String s)
s
- The actual L&F namepublic java.awt.Rectangle getFrameBounds()
public void setFrameBounds(java.awt.Rectangle R)
R
- is the bounding rectanglepublic java.lang.String getRecentFilePath(int ix)
ix
- is the index in recent file list
public java.io.File getRecentFile(int ix)
ix
- is the index in recent file list
public void addRecentFile(java.lang.String filename)
filename
- the full path of the file to addpublic void removeRecentFile(java.lang.String filename)
filename
- The complete filepath to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |