public class ServerMessagesView extends BaseViewWithUiHandlers<ServerMesagesUiHandlers> implements ServerMessagesPresenter.MyView
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
ServerMessagesView.Binder
GWT UI creator.
|
Modifier and Type | Field and Description |
---|---|
(package private) org.gwtbootstrap3.client.ui.Button |
backAction
The Back button
|
(package private) com.google.gwt.view.client.ListDataProvider<java.lang.String> |
dataProvider
Data provider
|
(package private) org.gwtbootstrap3.client.ui.gwt.DataGrid<java.lang.String> |
grid
The grid with messages
|
(package private) com.google.gwt.user.client.ui.HasWidgets |
modalFragment
The modal container
|
(package private) com.google.gwt.user.cellview.client.SimplePager |
pager
widget
|
logger
Constructor and Description |
---|
ServerMessagesView(ServerMessagesView.Binder binder)
Create this view.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
onBackAction(com.google.gwt.event.dom.client.ClickEvent event)
The Back button click handler.
|
void |
setMessages(java.lang.String[] messages)
Sets the server messages list model.
|
addDialog, onAttach, onDetach, removeModaDialog, setUiHandlers, setupModaDialog, setupModalSlot
addToSlot, asWidget, bindSlot, bindSlot, bindSlot, initWidget, removeFromSlot, setInSlot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@UiField org.gwtbootstrap3.client.ui.Button backAction
@UiField com.google.gwt.user.client.ui.HasWidgets modalFragment
@UiField(provided=true) org.gwtbootstrap3.client.ui.gwt.DataGrid<java.lang.String> grid
@UiField(provided=true) com.google.gwt.user.cellview.client.SimplePager pager
com.google.gwt.view.client.ListDataProvider<java.lang.String> dataProvider
@Inject public ServerMessagesView(ServerMessagesView.Binder binder)
binder
- The injected GWT UI creatorpublic void setMessages(java.lang.String[] messages)
setMessages
in interface ServerMessagesPresenter.MyView
messages
- The array of messages@UiHandler(value="backAction") void onBackAction(com.google.gwt.event.dom.client.ClickEvent event)
event
- Click event