@Templated(value="/org/overlord/sramp/ui/client/local/site/artifact-details_dialogs.html#propval-editor-popover") @Dependent public class EditableInlineLabelPopover extends com.google.gwt.user.client.ui.Composite implements IMouseInOutWidget
| Constructor and Description |
|---|
EditableInlineLabelPopover()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the popover.
|
com.google.gwt.user.client.ui.Anchor |
getEditButton() |
com.google.gwt.user.client.ui.Anchor |
getRemoveButton() |
void |
onMouseIn()
Called when the mouse enters the widget.
|
void |
onMouseOut()
Called when the mouse leaves the widget.
|
protected void |
onPostConstruct() |
protected void |
positionOver(com.google.gwt.user.client.Element popoverElement,
com.google.gwt.user.client.Element widgetElement)
Positions the given popoverElement on top of the given widget element.
|
void |
setSupportsEdit(boolean flag)
Whether the "edit" button should be shown.
|
void |
setSupportsRemove(boolean flag)
Whether the "remove" button should be shown.
|
void |
showOver(com.google.gwt.user.client.Element element)
Add to the root panel and then position appropriately.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAttachHandler, getElementpublic void setSupportsRemove(boolean flag)
flag - public void setSupportsEdit(boolean flag)
flag - @PostConstruct protected void onPostConstruct()
public void showOver(com.google.gwt.user.client.Element element)
protected final void positionOver(com.google.gwt.user.client.Element popoverElement,
com.google.gwt.user.client.Element widgetElement)
popoverElement - element - public void onMouseIn()
IMouseInOutWidgetonMouseIn in interface IMouseInOutWidgetIMouseInOutWidget.onMouseIn()public void onMouseOut()
IMouseInOutWidgetonMouseOut in interface IMouseInOutWidgetIMouseInOutWidget.onMouseOut()public void close()
public com.google.gwt.user.client.ui.Anchor getEditButton()
public com.google.gwt.user.client.ui.Anchor getRemoveButton()
Copyright © 2012-2013 JBoss, a division of Red Hat. All Rights Reserved.