public class DefaultInputListboxWidget<T extends WidgetModel,U extends WidgetController> extends DefaultWidget<T,U> implements ListboxWidget<T,U>, InputWidget<T,U>
LAZY_LOAD_EVT_KEY| Constructor and Description |
|---|
DefaultInputListboxWidget() |
| Modifier and Type | Method and Description |
|---|---|
protected InputElement |
getInputComponent() |
protected Listbox |
getListbox() |
void |
handleFocus(boolean focused)
Called whenever the focus view state of this component should be changed.
|
void |
setInputComponent(InputElement input)
Sets this widget's input component to
input. |
void |
setListBox(Listbox listbox)
Sets the widget's list box component to
listbox |
cleanup, initialize, onModelEvent, updategetCaption, getContent, getControllerCtx, getWidgetCode, getWidgetContainer, getWidgetController, getWidgetModel, getWidgetRenderer, getWidgetTitle, isFocusable, isInitialized, isLazyLoadingEnabled, setCaption, setContent, setControllerCtx, setFocusable, setLazyLoadingEnabled, setWidgetCode, setWidgetContainer, setWidgetController, setWidgetModel, setWidgetRenderer, setWidgetTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcleanup, getCaption, getContent, getControllerCtx, getWidgetCode, getWidgetContainer, getWidgetController, getWidgetModel, getWidgetRenderer, getWidgetTitle, initialize, isFocusable, isInitialized, isLazyLoadingEnabled, setControllerCtx, setFocusable, setLazyLoadingEnabled, setWidgetCode, setWidgetContainer, setWidgetController, setWidgetModel, setWidgetRenderer, setWidgetTitleonModelEventprotected Listbox getListbox()
public void setListBox(Listbox listbox)
ListboxWidgetlistboxsetListBox in interface ListboxWidget<T extends WidgetModel,U extends WidgetController>protected InputElement getInputComponent()
public void setInputComponent(InputElement input)
InputWidgetinput. This method is typically called by the used
WidgetRenderer in order to allow the widget to access its input component directly (e.g. for focus
handling and updating purposes).setInputComponent in interface InputWidget<T extends WidgetModel,U extends WidgetController>input - input componentpublic void handleFocus(boolean focused)
FocusableComponenthandleFocus in interface FocusableComponenthandleFocus in class AbstractWidget<T extends WidgetModel,U extends WidgetController>focused - true if the component should be rendered as focused, false otherwiseCopyright © 2017 SAP SE. All Rights Reserved.