Class JmixSingleListSelectWidget
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
com.vaadin.client.ui.VListSelect
io.jmix.ui.widget.client.listselect.JmixAbstractListSelectWidget
io.jmix.ui.widget.client.listselect.single.JmixSingleListSelectWidget
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasEnabled
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.IsRenderable
,com.google.gwt.user.client.ui.IsWidget
,com.vaadin.client.connectors.AbstractMultiSelectConnector.MultiSelectWidget
,com.vaadin.client.Focusable
,com.vaadin.client.ui.Field
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-
Field Summary
Fields inherited from class io.jmix.ui.widget.client.listselect.JmixAbstractListSelectWidget
doubleClickListener
Fields inherited from class com.vaadin.client.ui.VListSelect
container, select
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
manageNullItem
(boolean nullOptionVisible) void
setDoubleClickListener
(Consumer<Integer> doubleClickListener) void
void
setNullOptionVisible
(boolean nullOptionVisible) Methods inherited from class io.jmix.ui.widget.client.listselect.JmixAbstractListSelectWidget
getDoubleClickListener, selectionEvent
Methods inherited from class com.vaadin.client.ui.VListSelect
addSelectionChangeListener, focus, getRows, getSelectedItemKeys, getSelectedItems, getTabIndex, isEnabled, isReadOnly, setEnabled, setHeight, setReadOnly, setRows, setStylePrimaryName, setTabIndex, setWidth, updateEnabledState
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString
-
Field Details
-
NULL_ITEM_KEY
- See Also:
-
nullOptionVisible
protected boolean nullOptionVisible -
nullOptionSelected
protected boolean nullOptionSelected
-
-
Constructor Details
-
JmixSingleListSelectWidget
public JmixSingleListSelectWidget()
-
-
Method Details
-
setDoubleClickListener
- Overrides:
setDoubleClickListener
in classJmixAbstractListSelectWidget
-
setItems
- Specified by:
setItems
in interfacecom.vaadin.client.connectors.AbstractMultiSelectConnector.MultiSelectWidget
- Overrides:
setItems
in classcom.vaadin.client.ui.VListSelect
-
isNullOptionVisible
public boolean isNullOptionVisible() -
setNullOptionVisible
public void setNullOptionVisible(boolean nullOptionVisible) -
manageNullItem
protected void manageNullItem(boolean nullOptionVisible)
-