|
Servoy 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 manipulating a form
| Field Summary | |
|---|---|
static int |
LIST_VIEW
Constant for method setView(...) to show in listview. |
static int |
LOCKED_RECORD_VIEW
|
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. |
String |
getDataSource()
|
IFoundSet |
getFoundSet()
|
String |
getName()
Get the form name |
ITable |
getTable()
Deprecated. |
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 LOCKED_RECORD_VIEW
static final int RECORD_VIEW
| Method Detail |
|---|
boolean deleteAllRecords()
boolean deleteRecord()
void duplicateRecord()
Object eval(String javascript)
void find()
String getDataSource()
IFoundSet getFoundSet()
String getName()
@Deprecated 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 ServoyException
ServoyExceptionvoid setView(int v)
v - void showOmittedRecords()
void showSortDialog()
throws Exception
Exception
|
Copyright © 2010 Servoy B.V. | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||