|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttp.controllers.ActionControl
tp.controllers.SaveControl
public class SaveControl
A controller to process events on a screen, where the saving of results is executed.
Field Summary | |
---|---|
static int |
COMMA
|
static int |
CSV
|
static java.lang.String[] |
csvSeparatorName
|
static java.lang.String[] |
outpuFileFormatsName
|
static int |
SEMICOLON
|
Fields inherited from class tp.controllers.ActionControl |
---|
event |
Constructor Summary | |
---|---|
SaveControl()
|
Method Summary | |
---|---|
void |
endBtnClick()
After click on "Quit" button, application is halted. |
int |
getDefaultSeparator()
Method used to get default separator of values in CSV files. |
void |
changeFileFormat()
Method used to change actual setting of file format. |
void |
changeSeparator(java.lang.String s)
Method used to change the separator of values in CSV files. |
void |
init(DocsRepresentDB dr)
Initialization of a tab for saving the pre-processed documents. |
void |
saveBtnClick()
Method is called, if a Save button is clicked. |
void |
setRestrictMaxOccur()
Method used to change actual setting of restriction of maximum occurence of a feature. |
void |
setRestrictMinOccur()
Method used to change actual setting of restriction of minimum occurence of a feature. |
boolean |
writeCategory()
Method used to get information, if the category of documents should be stored. |
void |
writeCategoryChange()
Method used to change information, if the category of documents should be stored. |
Methods inherited from class tp.controllers.ActionControl |
---|
actionPerformed, invokeMethod, itemStateChanged, stateChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[] outpuFileFormatsName
public static final java.lang.String[] csvSeparatorName
public static final int COMMA
public static final int SEMICOLON
public static final int CSV
Constructor Detail |
---|
public SaveControl()
Method Detail |
---|
public void saveBtnClick()
public void endBtnClick()
public void changeSeparator(java.lang.String s)
public int getDefaultSeparator()
public void init(DocsRepresentDB dr)
database
- of document representationspublic boolean writeCategory()
public void writeCategoryChange()
public void setRestrictMinOccur()
public void setRestrictMaxOccur()
public void changeFileFormat()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |