public abstract class AbstractPopoverView extends Object implements PopoverView
PopoverView.Position| Modifier and Type | Field and Description |
|---|---|
static String |
ABSOLUTE |
protected org.uberfire.client.views.pfly.widgets.JQueryProducer.JQuery<org.uberfire.client.views.pfly.widgets.Popover> |
jQueryPopover |
static String |
LEFT |
protected org.uberfire.client.views.pfly.widgets.PopoverOptions |
options |
protected org.uberfire.client.views.pfly.widgets.Popover |
popover |
protected org.jboss.errai.common.client.dom.Div |
popoverContainerElement |
protected org.jboss.errai.common.client.dom.Div |
popoverContentElement |
protected org.jboss.errai.common.client.dom.Div |
popoverElement |
static String |
POSITION |
static String |
PX |
static String |
TITLE |
static String |
TOP |
protected org.jboss.errai.common.client.ui.ElementWrapperWidget<?> |
wrappedWidget |
| Constructor and Description |
|---|
AbstractPopoverView() |
AbstractPopoverView(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 |
|---|---|
protected void |
addWidgetToRootPanel() |
int |
getActualHeight()
Retrieve the actual height of the
ErrorReportPopover |
void |
hide() |
boolean |
isShown() |
protected void |
removeWidgetFromRootPanel() |
protected void |
scheduleTask() |
void |
setup(Optional<String> editorTitle,
int mx,
int my,
PopoverView.Position position)
Method to set/update status of the elements before actually showing the view.
|
void |
show()
Method that actually show the view
|
public static final String TOP
public static final String LEFT
public static final String POSITION
public static final String PX
public static final String ABSOLUTE
public static final String TITLE
@DataField(value="popover") protected org.jboss.errai.common.client.dom.Div popoverElement
@DataField(value="popover-container") protected org.jboss.errai.common.client.dom.Div popoverContainerElement
@DataField(value="popover-content") protected org.jboss.errai.common.client.dom.Div popoverContentElement
protected org.uberfire.client.views.pfly.widgets.JQueryProducer.JQuery<org.uberfire.client.views.pfly.widgets.Popover> jQueryPopover
protected org.uberfire.client.views.pfly.widgets.Popover popover
protected org.jboss.errai.common.client.ui.ElementWrapperWidget<?> wrappedWidget
protected org.uberfire.client.views.pfly.widgets.PopoverOptions options
public AbstractPopoverView()
public AbstractPopoverView(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(Optional<String> editorTitle, int mx, int my, PopoverView.Position position)
PopoverViewsetup in interface PopoverViewpublic void show()
PopoverViewshow in interface PopoverViewpublic boolean isShown()
isShown in interface PopoverViewpublic void hide()
hide in interface PopoverViewpublic int getActualHeight()
ErrorReportPopoverprotected void addWidgetToRootPanel()
protected void removeWidgetFromRootPanel()
protected void scheduleTask()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.