|
Servoy 4.1.x Public API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IForm
Interface for manipulating a form
| Field Summary | |
|---|---|
static int |
LIST_VIEW
Constant for method setView(...) to show in listview. |
static int |
RECORD_VIEW
Constant for method setView(...) to show in recordview. |
| Method Summary | |
|---|---|
boolean |
deleteAllRecords()
Delete all records in foundset. |
boolean |
deleteRecord()
Delete current record. |
void |
duplicateRecord()
Duplicate current record. |
Object |
eval(String javascript)
Eval a javascript |
void |
find()
Enter the find. |
com.servoy.j2db.dataprocessing.IFoundSet |
getFoundSet()
CURRENTLY FOR INTERNAL USE ONLY, DO NOT CALL. |
String |
getName()
Get the form name |
ITable |
getTable()
Get the current table this form is build on. |
int |
getView()
get the current view (see constants). |
void |
invertRecords()
Invert the foundset. |
boolean |
isInFindMode()
Check if in find. |
boolean |
isShowingData()
Method to check if this form had record data. |
void |
loadAllRecords()
Show all records from table. |
void |
newRecord()
Make new record. |
void |
omitRecord()
Omit a record. |
int |
performFind(boolean clear,
boolean reduce,
boolean showDialogOnNoResults)
Perform a find (called search() in javascript). |
void |
print(boolean showManyRecordsDialog,
boolean printCurrentRecordOnly,
boolean showPrinterSelectDialog,
PrinterJob printerJob)
Print records use. |
void |
printPreview()
preview current records. |
void |
reLookupValues()
do reLookupValues on current record. |
void |
removeLastFound()
Prevents always doing a find in find. |
void |
saveData()
Deprecated. |
Object |
setUsingAsExternalComponent(boolean external)
When using a form as an external component, this flag has to be set and cleared when done with it. |
void |
setView(int v)
Set the current view (see constants). |
void |
showOmittedRecords()
Show all omitted records as foundset. |
void |
showSortDialog()
Show the sort dialog. |
| Field Detail |
|---|
static final int RECORD_VIEW
static final int LIST_VIEW
| Method Detail |
|---|
Object eval(String javascript)
Object setUsingAsExternalComponent(boolean external)
throws com.servoy.j2db.util.ServoyException
com.servoy.j2db.util.ServoyExceptionvoid loadAllRecords()
boolean isShowingData()
boolean deleteRecord()
boolean deleteAllRecords()
void newRecord()
void duplicateRecord()
void find()
boolean isInFindMode()
void removeLastFound()
int performFind(boolean clear,
boolean reduce,
boolean showDialogOnNoResults)
reduce - true if find in find, otherwise it is expand searchshowDialogOnNoResults - true shows dialogvoid omitRecord()
void showOmittedRecords()
void invertRecords()
void showSortDialog()
throws Exception
Exceptionvoid reLookupValues()
@Deprecated void saveData()
void printPreview()
void print(boolean showManyRecordsDialog,
boolean printCurrentRecordOnly,
boolean showPrinterSelectDialog,
PrinterJob printerJob)
int getView()
void setView(int v)
v - ITable getTable()
String getName()
com.servoy.j2db.dataprocessing.IFoundSet getFoundSet()
|
Copyright © 2009 Servoy B.V. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||