Class SearchBoxConnector
- java.lang.Object
-
- com.vaadin.client.ui.AbstractConnector
-
- com.vaadin.client.ui.AbstractComponentConnector
-
- org.opennms.features.topology.app.internal.gwt.client.SearchBoxConnector
-
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler
,com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
,com.vaadin.client.ComponentConnector
,com.vaadin.client.ServerConnector
,com.vaadin.client.ui.HasErrorIndicator
,com.vaadin.shared.Connector
,java.io.Serializable
public class SearchBoxConnector extends com.vaadin.client.ui.AbstractComponentConnector
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchBoxConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToFocus(SearchSuggestion searchSugestion)
void
centerOnSuggestion(SearchSuggestion searchSuggestion)
VSearchBox
createWidget()
SearchBoxState
getState()
VSearchBox
getWidget()
void
onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
void
query(com.google.gwt.user.client.ui.SuggestOracle.Request request, com.google.gwt.user.client.ui.SuggestOracle.Callback callback, int indexFrom, int indexTo)
void
removeFocused(SearchSuggestion searchSuggestion)
void
removeSelected(SearchSuggestion searchSuggestion)
void
selectSuggestion(SearchSuggestion suggestion)
void
toggleSuggestionCollapse(SearchSuggestion searchSuggestion)
-
Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector
delegateCaptionHandling, flush, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasTooltip, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, onUnregister, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSize, updateWidgetStyleNames
-
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, init, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpc
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.client.ServerConnector
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag
-
-
-
-
Method Detail
-
getWidget
public VSearchBox getWidget()
- Specified by:
getWidget
in interfacecom.vaadin.client.ComponentConnector
- Overrides:
getWidget
in classcom.vaadin.client.ui.AbstractComponentConnector
-
getState
public SearchBoxState getState()
- Specified by:
getState
in interfacecom.vaadin.client.ComponentConnector
- Specified by:
getState
in interfacecom.vaadin.client.ServerConnector
- Overrides:
getState
in classcom.vaadin.client.ui.AbstractComponentConnector
-
onStateChanged
public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
- Specified by:
onStateChanged
in interfacecom.vaadin.client.communication.StateChangeEvent.StateChangeHandler
- Overrides:
onStateChanged
in classcom.vaadin.client.ui.AbstractComponentConnector
-
createWidget
public VSearchBox createWidget()
- Overrides:
createWidget
in classcom.vaadin.client.ui.AbstractComponentConnector
-
query
public void query(com.google.gwt.user.client.ui.SuggestOracle.Request request, com.google.gwt.user.client.ui.SuggestOracle.Callback callback, int indexFrom, int indexTo)
-
selectSuggestion
public void selectSuggestion(SearchSuggestion suggestion)
-
removeSelected
public void removeSelected(SearchSuggestion searchSuggestion)
-
removeFocused
public void removeFocused(SearchSuggestion searchSuggestion)
-
addToFocus
public void addToFocus(SearchSuggestion searchSugestion)
-
centerOnSuggestion
public void centerOnSuggestion(SearchSuggestion searchSuggestion)
-
toggleSuggestionCollapse
public void toggleSuggestionCollapse(SearchSuggestion searchSuggestion)
-
-