public class CustomDropDown
extends com.google.gwt.user.client.ui.HorizontalPanel
implements com.google.gwt.user.client.ui.HasText
Modifier and Type | Class and Description |
---|---|
static class |
CustomDropDown.MODE |
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
com.google.gwt.user.client.ui.HasHorizontalAlignment.AutoHorizontalAlignmentConstant, com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant
Constructor and Description |
---|
CustomDropDown(String labelText,
com.google.gwt.user.client.ui.MenuBar menuBar,
CustomDropDown.MODE mode) |
Modifier and Type | Method and Description |
---|---|
protected com.google.gwt.user.client.ui.MenuBar |
getMenuBar() |
String |
getText() |
void |
hidePopup() |
boolean |
isEnabled() |
void |
onBrowserEvent(com.google.gwt.user.client.Event event) |
void |
setEnabled(boolean enabled) |
protected void |
setMenuBar(com.google.gwt.user.client.ui.MenuBar menuBar) |
void |
setText(String text) |
add, getHorizontalAlignment, getVerticalAlignment, insert, insert, onEnsureDebugId, remove, setHorizontalAlignment, setVerticalAlignment
getBody, getSpacing, getTable, setBorderWidth, setCellHeight, setCellHeight, setCellHorizontalAlignment, setCellHorizontalAlignment, setCellHorizontalAlignment, setCellVerticalAlignment, setCellVerticalAlignment, setCellVerticalAlignment, setCellWidth, setCellWidth, setSpacing
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getWidgetIndex
getWidget, getWidgetCount, getWidgetIndex, remove
forEach, spliterator
public CustomDropDown(String labelText, com.google.gwt.user.client.ui.MenuBar menuBar, CustomDropDown.MODE mode)
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent
in interface com.google.gwt.user.client.EventListener
onBrowserEvent
in class com.google.gwt.user.client.ui.Widget
public String getText()
getText
in interface com.google.gwt.user.client.ui.HasText
public void setText(String text)
setText
in interface com.google.gwt.user.client.ui.HasText
protected com.google.gwt.user.client.ui.MenuBar getMenuBar()
protected void setMenuBar(com.google.gwt.user.client.ui.MenuBar menuBar)
public void hidePopup()
public boolean isEnabled()
public void setEnabled(boolean enabled)
Copyright © 2021 Hitachi Vantara. All rights reserved.