|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface AssetPagePresenter.Display
Interface that defines the asset page to show edit and create new assets.
The presenter AssetPagePresenter will work with every ui that is
implementing this Display interface.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
com.google.gwt.user.client.ui.Widget asWidget()
Widgetvoid cleanUp()
AssetCommand getData()
AssetCommand.
AssetCommandcom.google.gwt.event.dom.client.HasClickHandlers getResetButton()
HasClickHandlerscom.google.gwt.event.dom.client.HasClickHandlers getSaveButton()
HasClickHandlersboolean 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 FieldSetSuggestBoxes 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||