|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.gui.UserDataStorage
Nested Class Summary |
Nested classes inherited from class org.objectweb.fractal.gui.UserData |
UserData.FProject |
Field Summary |
Fields inherited from interface org.objectweb.fractal.gui.UserData |
CURRENT_CONFIG, CURRENT_DEPTH, CURRENT_HEIGHT, CURRENT_WIDTH, LAST_OPEN_CONF, LAST_OPEN_DIR, LAST_OPEN_FILE, LAST_SAVE_DIR, LAST_SAVE_FILE, MODIFIED, NO_MODIFIED |
Constructor Summary | |
UserDataStorage()
|
Method Summary | |
void |
addProject(UserData.FProject proj)
Adds a new FProject to the project list. |
int |
getIntData(int typ)
get the int value for a given type. |
UserData.FProject |
getProject(int range)
Adds a new FProject to the project list. |
String |
getStringData(int typ)
get the int value for a given type. |
void |
open()
Open the file which contains all registered User Data. |
void |
save()
Save all registered data in the file of the user. |
void |
setIntData(int typ,
int v)
set the value for a given type. |
void |
setStringData(int typ,
String s)
set the value for a given type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UserDataStorage()
Method Detail |
public void open()
open
in interface UserData
public void save()
save
in interface UserData
public void setIntData(int typ, int v) throws Exception
setIntData
in interface UserData
typ
- is the Data type.v
- is the int value for the type.
Exception
public int getIntData(int typ) throws Exception
getIntData
in interface UserData
typ
- is the Data type.
Exception
public void setStringData(int typ, String s) throws Exception
setStringData
in interface UserData
typ
- is the Data type.
Exception
public String getStringData(int typ) throws Exception
getStringData
in interface UserData
typ
- is the Data type.
Exception
public void addProject(UserData.FProject proj) throws Exception
addProject
in interface UserData
Exception
public UserData.FProject getProject(int range) throws Exception
getProject
in interface UserData
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |