|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQTableDataEditor
This class represents a table data editor frame (JFrame
)
where an entry form can be programmatically installed.
Method Summary | |
---|---|
void |
execute(AQServerConnection conn,
String sql)
Executes an edit query and inserts resulting table into the bottom part of this table data editor frame. |
void |
openForm(Object createFunction,
Object setupFunction)
Creates and opens a table data editor frame with the user-supplied form installed. |
Method Detail |
---|
void openForm(Object createFunction, Object setupFunction)
JComponent
.
createFunction
- An AquaScript function which must return an object of type JComponent
.setupFunction
- An AquaScript function which will be called when the form component created by
createFunction is installed in a JFrame
. This function must be declared with a single argument
which is a pointer to the Table Data Editor JFrame
instance.
This argument can be null.void execute(AQServerConnection conn, String sql)
conn
- Server connection.sql
- Query string.
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |