public static interface AssetPagePresenter.Display
AssetPagePresenter
will work with every ui that is
implementing this Display interface.Modifier and Type | Method and Description |
---|---|
com.google.gwt.user.client.ui.Widget |
asWidget()
Recommend by GWT MVP design.
|
void |
cleanUp()
Cleans all ui changes, notes....
|
AssetCommand |
getData()
Fetches all data from the display as an
AssetCommand . |
com.google.gwt.event.dom.client.HasClickHandlers |
getResetButton()
get the reset button to add manage the related actions
|
com.google.gwt.event.dom.client.HasClickHandlers |
getSaveButton()
get the save button to add manage the related actions
|
boolean |
isUiValid()
Checks if the display ui is in a valid status.
|
void |
setData(AssetCommand asset)
Puts an
AssetCommand to the display. |
void |
setDataSugg(AssetSuggCommand assetSugg)
Puts an
AssetSuggCommand to the display. |
void |
setEnable(Boolean enabled)
Set the display ui in write enable or disable mode.
|
void |
setError(String description,
Throwable throwable)
Puts an error with description and throwable to the display ui.
|
void |
setInfo(String info)
Sets status info to the display ui.
|
com.google.gwt.user.client.ui.Widget asWidget()
Widget
void cleanUp()
AssetCommand getData()
AssetCommand
.AssetCommand
com.google.gwt.event.dom.client.HasClickHandlers getResetButton()
HasClickHandlers
com.google.gwt.event.dom.client.HasClickHandlers getSaveButton()
HasClickHandlers
boolean isUiValid()
void setData(AssetCommand asset)
AssetCommand
to the display. To show all necessary
content into the ui. AssetCommand contains asset-data and additional.{@link
- AssetCommand}void setDataSugg(AssetSuggCommand assetSugg)
AssetSuggCommand
to the display. That contains all
suggestions for all FieldSetSuggestBox
es at Display.void setEnable(Boolean enabled)
enabled
- for edit-mode.void setError(String description, Throwable throwable)
description
- of the errorthrowable
- of the errorvoid setInfo(String info)
String
- info what will be shown at the display ui.Copyright © 2016. All rights reserved.