public class AddRecordLockView extends ModalViewWithUiHandlers<AcquiredLocksUIHandler>
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
AddRecordLockView.Binder
GWT UI creator
|
Modifier and Type | Field and Description |
---|---|
(package private) org.gwtbootstrap3.client.ui.Button |
addAction
The Add button
|
(package private) org.gwtbootstrap3.client.ui.Button |
cancelAction
The Cancel button
|
(package private) org.gwtbootstrap3.client.ui.ListBox |
databaseListBox
The databases list box
|
(package private) org.gwtbootstrap3.client.ui.Modal |
modal
The underlined modal dialog
|
(package private) org.gwtbootstrap3.client.ui.TextBox |
recordIdTextBox
The record id text box
|
(package private) org.gwtbootstrap3.client.ui.ListBox |
tableListBox
The tables list box
|
logger
Constructor and Description |
---|
AddRecordLockView(AddRecordLockView.Binder binder)
Constructs this view, used by MPV gwtplatform of ArcBees Inc.
|
Modifier and Type | Method and Description |
---|---|
protected org.gwtbootstrap3.client.ui.Modal |
getModal()
Provides an access to the target modal dialog.
|
(package private) void |
onCancelAction(com.google.gwt.event.dom.client.ClickEvent e)
The Cancel button click handler.
|
(package private) void |
onSaveAction(com.google.gwt.event.dom.client.ClickEvent e)
The Add button click handler.
|
void |
setDatabaseList(java.lang.String[] databases)
Sets the databases model.
|
void |
setTableList(java.lang.String[] tables)
Sets the tables model.
|
addHideHandler, addShowHandler
getUiHandlers, setUiHandlers
@UiField org.gwtbootstrap3.client.ui.Modal modal
@UiField org.gwtbootstrap3.client.ui.TextBox recordIdTextBox
@UiField org.gwtbootstrap3.client.ui.ListBox databaseListBox
@UiField org.gwtbootstrap3.client.ui.ListBox tableListBox
@UiField org.gwtbootstrap3.client.ui.Button addAction
@UiField org.gwtbootstrap3.client.ui.Button cancelAction
@Inject public AddRecordLockView(AddRecordLockView.Binder binder)
binder
- UI creator@UiHandler(value="addAction") void onSaveAction(com.google.gwt.event.dom.client.ClickEvent e)
e
- Click event@UiHandler(value="cancelAction") void onCancelAction(com.google.gwt.event.dom.client.ClickEvent e)
e
- Click eventpublic void setDatabaseList(java.lang.String[] databases)
databases
- The array of databasespublic void setTableList(java.lang.String[] tables)
tables
- The array of tablesprotected org.gwtbootstrap3.client.ui.Modal getModal()
getModal
in class ModalViewWithUiHandlers<AcquiredLocksUIHandler>