static interface PrintPreviewPresenter.MyView extends com.gwtplatform.mvp.client.View, com.gwtplatform.mvp.client.HasUiHandlers<PrintPreviewUiHandlers>, java.util.function.Consumer<ReportPreview>
Modifier and Type | Method and Description |
---|---|
void |
checkDisplayDetails(boolean b)
Requests the extended detailed report or the short form report.
|
com.google.gwt.view.client.Range |
getCurrentRange()
Gets the current preview range that is defined by the start page and the page count.
|
void |
onHide()
The view callback method that is invoked by its presenter executing onHide()
lifecycle method.
|
void |
onReportReady()
This is called when presenter has all the information to render the preview.
|
void |
setDisplayDetailsVisible(boolean visible)
Shows or hides the Display All Details check box.
|
void |
setPaperFormat(java.lang.String value)
Sets the requested paper format.
|
void |
setPaperOrientation(java.lang.String value)
Sets the requested paper orientation.
|
void |
setPreviewTitle(java.lang.String title)
Sets the preview title.
|
void setPreviewTitle(java.lang.String title)
title
- The title textvoid onReportReady()
com.google.gwt.view.client.Range getCurrentRange()
void onHide()
void setPaperFormat(java.lang.String value)
value
- The paper format stringvoid setPaperOrientation(java.lang.String value)
value
- The paper orientation well-known string, LANDSCAPE or PORTRAIT.void checkDisplayDetails(boolean b)
b
- The true value means to display the extended detailed report, otherwise
the short form report.void setDisplayDetailsVisible(boolean visible)
visible
- The boolean value that defines the visibility of the Display All Details
check box