|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Nested Class Summary | |
|---|---|
static interface |
UserData.FProject
|
| Field Summary | |
|---|---|
static int |
CURRENT_CONFIG
|
static int |
CURRENT_DEPTH
|
static int |
CURRENT_HEIGHT
|
static int |
CURRENT_WIDTH
|
static int |
LAST_EXEC_DIR
|
static int |
LAST_OPEN_CONF
|
static int |
LAST_OPEN_DIR
|
static int |
LAST_OPEN_FILE
|
static int |
LAST_SAVE_DIR
|
static int |
LAST_SAVE_FILE
|
static int |
MODIFIED
|
static int |
NB_DIR
|
static int |
NO_MODIFIED
|
static int |
START_INDEX
|
| Method Summary | |
|---|---|
void |
addProject(UserData.FProject proj)
Adds a new FProject to the project list. |
void |
clean()
Clean the user's data |
int |
getIntData(int typ)
get the int value for a given type. |
UserData.FProject |
getNewProject()
Asks for a new FProject. |
UserData.FProject |
getProject(int id)
Adds a new FProject to the project list. |
java.lang.String |
getStringData(int typ)
get the int value for a given type. |
void |
open()
Open the file which contains all registered User Data. |
boolean |
projectExists(int id)
Adds a new FProject to the project list. |
void |
removeProject(int id)
Removes the FProject with specified id from the project list. |
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,
java.lang.String s)
set the value for a given type. |
| Field Detail |
public static final int CURRENT_DEPTH
public static final int CURRENT_WIDTH
public static final int CURRENT_HEIGHT
public static final int CURRENT_CONFIG
public static final int LAST_OPEN_DIR
public static final int LAST_SAVE_DIR
public static final int LAST_OPEN_CONF
public static final int LAST_OPEN_FILE
public static final int LAST_SAVE_FILE
public static final int LAST_EXEC_DIR
public static final int NB_DIR
public static final int START_INDEX
public static final int NO_MODIFIED
public static final int MODIFIED
| Method Detail |
public void open()
public void save()
public void clean()
public void setIntData(int typ,
int v)
throws java.lang.Exception
typ - is the Data type.v - is the int value for the type.
java.lang.Exception
public int getIntData(int typ)
throws java.lang.Exception
typ - is the Data type.
java.lang.Exception
public void setStringData(int typ,
java.lang.String s)
throws java.lang.Exception
typ - is the Data type.s - is the String value for the type.
java.lang.Exception
public java.lang.String getStringData(int typ)
throws java.lang.Exception
typ - is the Data type.
java.lang.Exceptionpublic boolean projectExists(int id)
id - is the Data type.
public void addProject(UserData.FProject proj)
throws java.lang.Exception
proj - is the FProject to add.
java.lang.Exceptionpublic void removeProject(int id)
id - is the FProject id to remove.public UserData.FProject getProject(int id)
id - is the FProject identifier.
public UserData.FProject getNewProject()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||