public class VPopupButton
extends com.vaadin.client.ui.VButton
Modifier and Type | Class and Description |
---|---|
class |
VPopupButton.LayoutPopup |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Set the CSS class name to allow styling.
|
static java.lang.String |
POPUP_INDICATOR_CLASSNAME |
protected com.google.gwt.user.client.ui.Widget |
popupPositionWidget |
Constructor and Description |
---|
VPopupButton() |
Modifier and Type | Method and Description |
---|---|
void |
addToActiveChildren(com.google.gwt.dom.client.Element e) |
VPopupButton.LayoutPopup |
getPopup() |
void |
hidePopup() |
boolean |
isOrHasChildOfButton(com.google.gwt.dom.client.Element element) |
boolean |
isOrHasChildOfConsole(com.google.gwt.dom.client.Element element) |
boolean |
isOrHasChildOfPopup(com.google.gwt.dom.client.Element element) |
protected void |
onDetach() |
void |
onKeyDownOnVisiblePopup(com.google.gwt.dom.client.NativeEvent nativeEvent,
com.vaadin.client.ComponentConnector target) |
protected void |
onPopupOpened() |
boolean |
popupHasChild(com.google.gwt.dom.client.Element element)
Simply check if popup has child equal to passed element
Haulmont API |
void |
setDirection(int direction) |
void |
setPopupPositionWidget(com.google.gwt.user.client.ui.Widget popupPositionWidget) |
void |
setPopupStyleNames(java.util.List<java.lang.String> styleNames) |
void |
sync() |
getErrorIndicatorElement, getTabIndex, handleKeyboardEvents, isEnabled, onAttach, onBrowserEvent, onClick, onClick, setEnabled, setErrorIndicatorElementVisible, setHtml, setStyleName, setStylePrimaryName, setTabIndex, setText
addBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addFocusListener, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getFocusImpl, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey, setFocus
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
public static final java.lang.String CLASSNAME
public static final java.lang.String POPUP_INDICATOR_CLASSNAME
protected com.google.gwt.user.client.ui.Widget popupPositionWidget
public void setPopupPositionWidget(com.google.gwt.user.client.ui.Widget popupPositionWidget)
public void hidePopup()
public void sync()
public void onKeyDownOnVisiblePopup(com.google.gwt.dom.client.NativeEvent nativeEvent, com.vaadin.client.ComponentConnector target)
public void setDirection(int direction)
protected void onDetach()
onDetach
in class com.google.gwt.user.client.ui.Widget
public boolean isOrHasChildOfPopup(com.google.gwt.dom.client.Element element)
public boolean isOrHasChildOfButton(com.google.gwt.dom.client.Element element)
public boolean isOrHasChildOfConsole(com.google.gwt.dom.client.Element element)
public void setPopupStyleNames(java.util.List<java.lang.String> styleNames)
public void addToActiveChildren(com.google.gwt.dom.client.Element e)
public boolean popupHasChild(com.google.gwt.dom.client.Element element)
public VPopupButton.LayoutPopup getPopup()
protected void onPopupOpened()