|
Servoy 3.5.x Public API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IForm
Interface for manipulationg 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. |
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 LIST_VIEW
static final int RECORD_VIEW
| Method Detail |
|---|
boolean deleteAllRecords()
boolean deleteRecord()
void duplicateRecord()
Object eval(String javascript)
void find()
com.servoy.j2db.dataprocessing.IFoundSet getFoundSet()
String getName()
ITable getTable()
int getView()
void invertRecords()
boolean isInFindMode()
boolean isShowingData()
void loadAllRecords()
void newRecord()
void omitRecord()
int performFind(boolean clear,
boolean reduce,
boolean showDialogOnNoResults)
reduce - true if find in find, otherwise it is expand searchshowDialogOnNoResults - true shows dialog
void print(boolean showManyRecordsDialog,
boolean printCurrentRecordOnly,
boolean showPrinterSelectDialog,
PrinterJob printerJob)
void printPreview()
void reLookupValues()
void removeLastFound()
Object setUsingAsExternalComponent(boolean external)
throws com.servoy.j2db.util.ServoyException
com.servoy.j2db.util.ServoyExceptionvoid setView(int v)
v - void showOmittedRecords()
void showSortDialog()
throws Exception
Exception
|
Copyright © 2009 Servoy B.V. | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||