@ApplicationScoped @Templated public class ErrorReportPopoverView extends AbstractPopoverView implements ErrorReportPopover
ErrorReportPopover.Presenter
PopoverView.Position
Modifier and Type | Field and Description |
---|---|
protected com.google.gwt.dom.client.ButtonElement |
applyButton |
protected org.uberfire.mvp.Command |
applyCommand |
protected org.jboss.errai.common.client.dom.Div |
errorContent |
protected com.google.gwt.dom.client.ButtonElement |
keepButton |
ABSOLUTE, jQueryPopover, LEFT, options, popover, popoverContainerElement, popoverContentElement, popoverElement, POSITION, PX, TITLE, TOP, wrappedWidget
Constructor and Description |
---|
ErrorReportPopoverView() |
ErrorReportPopoverView(org.jboss.errai.common.client.dom.Div errorContent,
org.jboss.errai.common.client.dom.Div popoverElement,
org.jboss.errai.common.client.dom.Div popoverContainerElement,
org.jboss.errai.common.client.dom.Div popoverContentElement,
org.uberfire.client.views.pfly.widgets.JQueryProducer.JQuery<org.uberfire.client.views.pfly.widgets.Popover> jQueryPopover) |
Modifier and Type | Method and Description |
---|---|
void |
onApplyButtonClicked(com.google.gwt.event.dom.client.ClickEvent clickEvent) |
void |
onKeepButtonClicked(com.google.gwt.event.dom.client.ClickEvent clickEvent) |
void |
setup(String errorTitleText,
String errorContentText,
String keepText,
int mx,
int my,
PopoverView.Position position)
Makes the
ErrorReportPopover visible with keep button only. |
void |
setup(String errorTitleText,
String errorContentText,
String keepText,
String applyText,
org.uberfire.mvp.Command applyCommand,
int mx,
int my,
PopoverView.Position position)
Makes the
ErrorReportPopover visible with Keep/Apply buttons. |
addWidgetToRootPanel, getActualHeight, hide, isShown, removeWidgetFromRootPanel, scheduleTask, setup, show
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hide, isShown
setup, show
protected org.uberfire.mvp.Command applyCommand
@DataField(value="keepButton") protected com.google.gwt.dom.client.ButtonElement keepButton
@DataField(value="applyButton") protected com.google.gwt.dom.client.ButtonElement applyButton
@DataField(value="errorContent") protected org.jboss.errai.common.client.dom.Div errorContent
public ErrorReportPopoverView()
@Inject public ErrorReportPopoverView(org.jboss.errai.common.client.dom.Div errorContent, org.jboss.errai.common.client.dom.Div popoverElement, org.jboss.errai.common.client.dom.Div popoverContainerElement, org.jboss.errai.common.client.dom.Div popoverContentElement, org.uberfire.client.views.pfly.widgets.JQueryProducer.JQuery<org.uberfire.client.views.pfly.widgets.Popover> jQueryPopover)
public void setup(String errorTitleText, String errorContentText, String keepText, String applyText, org.uberfire.mvp.Command applyCommand, int mx, int my, PopoverView.Position position)
ErrorReportPopover
ErrorReportPopover
visible with Keep/Apply buttons.setup
in interface ErrorReportPopover
mx
- x position of the popovermy
- y position of the popoverposition
- position where the popover is put (LEFT or RIGHT)public void setup(String errorTitleText, String errorContentText, String keepText, int mx, int my, PopoverView.Position position)
ErrorReportPopover
ErrorReportPopover
visible with keep button only.setup
in interface ErrorReportPopover
mx
- x position of the popovermy
- y position of the popoverposition
- position where the popover is put (LEFT or RIGHT)@EventHandler(value="keepButton") public void onKeepButtonClicked(com.google.gwt.event.dom.client.ClickEvent clickEvent)
@EventHandler(value="applyButton") public void onApplyButtonClicked(com.google.gwt.event.dom.client.ClickEvent clickEvent)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.