public static interface ErrorReportPopover.Presenter
Modifier and Type | Method and Description |
---|---|
int |
getActualHeight()
Retrieve the actual height of the
ErrorReportPopover |
void |
hide()
Makes this popover container(and the main content along with it) invisible.
|
boolean |
isShown()
Returns the status of the
ErrorReportPopover (open or closed) |
void |
setup(String errorTitleText,
String errorContentText,
String keepText,
int mx,
int my,
PopoverView.Position position)
Method to set/update status of the
ErrorReportPopover before actually showing the view. |
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 the
ErrorReportPopover before actually showing the view. |
void |
show()
Method that actually show the view
|
void setup(String errorTitleText, String errorContentText, String keepText, String applyText, org.uberfire.mvp.Command applyCommand, int mx, int my, PopoverView.Position position)
ErrorReportPopover
before 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)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)void setup(String errorTitleText, String errorContentText, String keepText, int mx, int my, PopoverView.Position position)
ErrorReportPopover
before 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)errorTitleText
- errorContentText
- keepText
- mx
- x position of the replacemy
- y position of the popoverposition
- position where the popover is put (LEFT or RIGHT)void hide()
boolean isShown()
ErrorReportPopover
(open or closed)void show()
int getActualHeight()
ErrorReportPopover
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.