public interface AQTableDataEditor
JFrame
)
where an entry form can be programmatically installed.
TODO (provide script example)
Modifier and Type | Method and Description |
---|---|
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.
|
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.
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.