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.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() |
void |
hide() |
boolean |
isShown() |
protected void |
removeWidgetFromRootPanel() |
protected void |
scheduleTask() |
void |
show(Optional<String> editorTitle,
int mx,
int my,
PopoverView.Position position) |
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
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 show(Optional<String> editorTitle, int mx, int my, PopoverView.Position position)
show
in interface PopoverView
public boolean isShown()
isShown
in interface PopoverView
public void hide()
hide
in interface PopoverView
protected void addWidgetToRootPanel()
protected void removeWidgetFromRootPanel()
protected void scheduleTask()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.