Interface ErrorReportPopover.Presenter
-
- All Known Implementing Classes:
ErrorReportPopoverPresenter
- Enclosing interface:
- ErrorReportPopover
public static interface ErrorReportPopover.Presenter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetActualHeight()Retrieve the actual height of theErrorReportPopovervoidhide()Makes this popover container(and the main content along with it) invisible.booleanisShown()Returns the status of theErrorReportPopover(open or closed)voidsetup(String errorTitleText, String errorContentText, String keepText, int mx, int my, PopoverView.Position position)Method to set/update status of theErrorReportPopoverbefore actually showing the view.voidsetup(String errorTitleText, String errorContentText, String keepText, String applyText, org.uberfire.mvp.Command applyCommand, int mx, int my, PopoverView.Position position)Method to set/update status of theErrorReportPopoverbefore actually showing the view.voidshow()Method that actually show the view
-
-
-
Method Detail
-
setup
void setup(String errorTitleText, String errorContentText, String keepText, String applyText, org.uberfire.mvp.Command applyCommand, int mx, int my, PopoverView.Position position)
Method to set/update status of theErrorReportPopoverbefore actually showing the view. Implemented to decouple this setup from the actual show, to be able to eventually add other modifications (e.g. change vertical position based on the actual height, that is available only after this method has been invoked)- Parameters:
errorTitleText-errorContentText-keepText-applyText-applyCommand-mx- x position of the replacemy- y position of the popoverposition- position where the popover is put (LEFT or RIGHT)
-
setup
void setup(String errorTitleText, String errorContentText, String keepText, int mx, int my, PopoverView.Position position)
Method to set/update status of theErrorReportPopoverbefore actually showing the view. Implemented to decouple this setup from the actual show, to be able to eventually add other modifications (e.g. change vertical position based on the actual height, that is available only after this method has been invoked)- Parameters:
errorTitleText-errorContentText-keepText-mx- x position of the replacemy- y position of the popoverposition- position where the popover is put (LEFT or RIGHT)
-
hide
void hide()
Makes this popover container(and the main content along with it) invisible. Has no effect if the popover is not already showing.
-
isShown
boolean isShown()
Returns the status of theErrorReportPopover(open or closed)- Returns:
- true if shown, false otherwise
-
show
void show()
Method that actually show the view
-
getActualHeight
int getActualHeight()
Retrieve the actual height of theErrorReportPopover- Returns:
-
-