Class SuggestionsContainer
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
io.jmix.ui.widget.client.suggestionfield.menu.SuggestionsContainer
- 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.HasVisibility
,com.google.gwt.user.client.ui.IsWidget
public class SuggestionsContainer
extends com.google.gwt.user.client.ui.Widget
-
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
Modifier and TypeFieldDescriptionprotected final com.google.gwt.dom.client.Element
protected final List<SuggestionItem>
protected int
protected SuggestionItem
protected static final String
protected final JmixSuggestionFieldWidget
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addItem
(SuggestionItem item) void
protected SuggestionItem
findItem
(com.google.gwt.dom.client.Element element) getItems()
void
void
onBrowserEvent
(com.google.gwt.user.client.Event event) protected void
protected void
preventEvent
(com.google.gwt.user.client.Event event) void
selectItem
(int index) protected void
selectItem
(SuggestionItem item) void
void
protected void
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, isAttached, isOrWasAttached, onAttach, onDetach, 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, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Field Details
-
STYLENAME
- See Also:
-
items
-
selectedItem
-
container
protected final com.google.gwt.dom.client.Element container -
suggestionFieldWidget
-
itemsPerPage
protected int itemsPerPage
-
-
Constructor Details
-
SuggestionsContainer
-
-
Method Details
-
selectItem
public void selectItem(int index) -
getItems
-
clearItems
public void clearItems() -
getSelectedItem
-
selectNextItem
public void selectNextItem() -
selectPrevItem
public void selectPrevItem() -
onBrowserEvent
public void onBrowserEvent(com.google.gwt.user.client.Event event) - Specified by:
onBrowserEvent
in interfacecom.google.gwt.user.client.EventListener
- Overrides:
onBrowserEvent
in classcom.google.gwt.user.client.ui.Widget
-
findItem
-
preventEvent
protected void preventEvent(com.google.gwt.user.client.Event event) -
initPaging
public void initPaging()
-