public class CustomListBox extends com.google.gwt.user.client.ui.ListBox implements HasMultipleValue<String>
Constructor and Description |
---|
CustomListBox() |
Modifier and Type | Method and Description |
---|---|
void |
addValue(String item,
String value) |
com.google.gwt.event.shared.HandlerRegistration |
addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> handler) |
String |
getValue() |
void |
setItemSelected(int index) |
void |
setValue(String value) |
void |
setValue(String value,
boolean fireEvents) |
addChangeHandler, addChangeListener, addItem, addItem, addItem, addItem, clear, getDirectionEstimator, getItemCount, getItemText, getName, getSelectedIndex, getValue, getVisibleItemCount, insertItem, insertItem, insertItem, insertItem, isItemSelected, isMultipleSelect, removeChangeListener, removeItem, setDirectionEstimator, setDirectionEstimator, setItemSelected, setItemText, setItemText, setMultipleSelect, setName, setSelectedIndex, setValue, setVisibleItemCount, wrap
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, getTabIndex, isEnabled, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey, setEnabled, setFocus, setTabIndex
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getItemCount
public String getValue()
getValue
in interface com.google.gwt.user.client.TakesValue<String>
getValue
in interface com.google.gwt.user.client.ui.HasValue<String>
getValue
in interface HasMultipleValue<String>
public void setValue(String value)
setValue
in interface com.google.gwt.user.client.TakesValue<String>
setValue
in interface com.google.gwt.user.client.ui.HasValue<String>
setValue
in interface HasMultipleValue<String>
public void setValue(String value, boolean fireEvents)
setValue
in interface com.google.gwt.user.client.ui.HasValue<String>
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> handler)
addValueChangeHandler
in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>
public void addValue(String item, String value)
addValue
in interface HasMultipleValue<String>
public void setItemSelected(int index)
setItemSelected
in interface HasMultipleValue<String>
Copyright © 2015 Nuxeo SA. All rights reserved.