|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwatch.EditorConfigFile
class EditorConfigFile
Configuration file class.
Constructor Summary | |
---|---|
EditorConfigFile()
Constructor. |
Method Summary | |
---|---|
void |
addProject(java.lang.String J_ProjectPath)
Reference project addition. |
boolean |
getbChanged()
Changed status accessor. |
java.lang.String |
getCurrentInputFile()
Current input file accessor. |
static java.lang.String |
getDefaultPath()
Default configuration file path. |
java.lang.String |
getLastDirectory()
Last directory accessor. |
java.util.SortedSet<java.lang.String> |
getProjects()
Preferences projects accessor. |
java.lang.String |
getSafeCurrentInputFile()
Safe current input file accessor. |
int |
getWindowHeight()
Window height accessor. |
boolean |
getWindowIsMaximized()
Window maximized status accessor. |
int |
getWindowWidth()
Window width accessor. |
int |
getWindowX()
X window position accessor. |
int |
getWindowY()
Y window position accessor. |
void |
load(java.lang.String J_FilePath)
Configuration file loading. |
void |
reset()
Configuration file reset. |
void |
save(java.lang.String J_FilePath)
Configuration file saving. |
void |
saveWindowPosition(boolean B_IsMaximized,
int I_X,
int I_Y,
int I_Width,
int I_Height)
Window position saving. |
void |
setChanged()
Change notification. |
void |
setCurrentInputFile(java.lang.String J_CurrentInputFile)
Current input file setting. |
void |
setLastDirectory(java.lang.String J_LastDirectory)
Last directory setting. |
void |
setWindowHeight(int I_Height)
Window height setter. |
void |
setWindowIsMaximized(boolean B_IsMaximized)
Window maximized status setter. |
void |
setWindowWidth(int I_Width)
Window width setter. |
void |
setWindowX(int I_X)
X window position setter. |
void |
setWindowY(int I_Y)
Y window position setter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditorConfigFile()
Method Detail |
---|
public static java.lang.String getDefaultPath()
public void setChanged()
public boolean getbChanged()
public void reset()
public void load(java.lang.String J_FilePath)
J_FilePath
- Configuration file to load.public void save(java.lang.String J_FilePath)
J_FilePath
- Configuration file to save.public java.lang.String getLastDirectory()
public void setLastDirectory(java.lang.String J_LastDirectory)
J_LastDirectory
- Last directory.public java.lang.String getCurrentInputFile()
public java.lang.String getSafeCurrentInputFile()
public void setCurrentInputFile(java.lang.String J_CurrentInputFile)
J_CurrentInputFile
- Current input file.public java.util.SortedSet<java.lang.String> getProjects()
public void addProject(java.lang.String J_ProjectPath)
J_ProjectPath
- New reference project path.public void saveWindowPosition(boolean B_IsMaximized, int I_X, int I_Y, int I_Width, int I_Height)
B_IsMaximized
- true if the window is maximized.I_X
- X position of the window.I_Y
- Y position of the window.I_Width
- Width of the window.I_Height
- Heigt of the window.public boolean getWindowIsMaximized()
public void setWindowIsMaximized(boolean B_IsMaximized)
B_IsMaximized
- New maximized status.public int getWindowX()
public void setWindowX(int I_X)
I_X
- New X window position.public int getWindowY()
public void setWindowY(int I_Y)
I_Y
- New Y window position.public int getWindowWidth()
public void setWindowWidth(int I_Width)
I_Width
- New window width.public int getWindowHeight()
public void setWindowHeight(int I_Height)
I_Height
- New window height.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |