Class SearchStateManager
- java.lang.Object
-
- org.opennms.features.vaadin.nodemaps.internal.gwt.client.ui.controls.search.SearchStateManager
-
public abstract class SearchStateManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SearchStateManager(ValueItem valueItem, ValueItem history, OpenNMSEventManager eventManager, ComponentTracker componentTracker)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
clearSearchInput()
abstract void
entrySelected()
abstract void
focusAutocompleteWidget()
abstract void
focusInput()
protected ValueItem
getValueItem()
boolean
handleAutocompleteEvent(com.google.gwt.dom.client.NativeEvent event)
void
handleInputEvent(com.google.gwt.dom.client.NativeEvent event)
void
handleSearchIconEvent(com.google.gwt.dom.client.NativeEvent event)
abstract void
hideAutocomplete()
abstract void
refresh()
void
reset()
protected void
sendSearchStringSetEvent(java.lang.String value)
abstract void
showAutocomplete()
protected void
updateHistorySearchString()
void
updateMatchCount(int matchCount)
-
-
-
Constructor Detail
-
SearchStateManager
public SearchStateManager(ValueItem valueItem, ValueItem history, OpenNMSEventManager eventManager, ComponentTracker componentTracker)
-
-
Method Detail
-
getValueItem
protected ValueItem getValueItem()
-
updateMatchCount
public void updateMatchCount(int matchCount)
-
handleAutocompleteEvent
public boolean handleAutocompleteEvent(com.google.gwt.dom.client.NativeEvent event)
-
handleSearchIconEvent
public void handleSearchIconEvent(com.google.gwt.dom.client.NativeEvent event)
-
handleInputEvent
public void handleInputEvent(com.google.gwt.dom.client.NativeEvent event)
-
sendSearchStringSetEvent
protected void sendSearchStringSetEvent(java.lang.String value)
-
reset
public void reset()
-
updateHistorySearchString
protected void updateHistorySearchString()
-
refresh
public abstract void refresh()
-
entrySelected
public abstract void entrySelected()
-
clearSearchInput
public abstract void clearSearchInput()
-
focusInput
public abstract void focusInput()
-
focusAutocompleteWidget
public abstract void focusAutocompleteWidget()
-
showAutocomplete
public abstract void showAutocomplete()
-
hideAutocomplete
public abstract void hideAutocomplete()
-
-