public class TextSearchController extends DefaultWidgetController
textsearch widget.| Modifier and Type | Field and Description |
|---|---|
protected static String |
COMP_SEARCH_BUTTON |
protected static String |
COMP_SEARCH_INPUT |
protected static String |
ENABLED_ATTRIBUTE |
protected static String |
QUERY_ATTRIBUTE |
protected static String |
SETTING_ENABLED_BY_DEFAULT |
static String |
SOCKET_IN_CLEARQUERY |
static String |
SOCKET_IN_ENABLE |
static String |
SOCKET_IN_QUERY |
static String |
SOCKET_OUT_QUERY |
| Constructor and Description |
|---|
TextSearchController() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearQuery() |
void |
enableTextSearch(Boolean enable) |
org.zkoss.zul.Textbox |
getSearchBox() |
org.zkoss.zul.Button |
getSearchButton() |
void |
initialize(org.zkoss.zk.ui.Component comp)
Override this method to do initialization stuff for your widget, like initialize widget settings, restore view
state from viewmodel, etc.
|
void |
initializeQuery(String value) |
void |
onQueryChange() |
void |
onSearch() |
doAfterCompose, doBeforeCompose, doBeforeComposeChildren, executeOperation, getDragAndDropStrategy, getLabel, getLabel, getModel, getValue, getWidgetDragAndDropStrategyRepository, getWidgetInstanceManager, getWidgetRoot, getWidgetSettings, getWidgetslot, getWidgetTitle, getWidgetUtils, initDragAndDropAwareness, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, invokeListenerMethod, onSocketInput, preInitialize, sendOutput, sendOutputAfterOperation, sendOutputAfterOperation, sendOutputAfterOperation, setValue, setWidgetInstanceManager, setWidgetTitlescanEventListenersalert, didActivate, getPage, willClone, willPassivatepublic static final String SOCKET_IN_QUERY
public static final String SOCKET_OUT_QUERY
public static final String SOCKET_IN_CLEARQUERY
public static final String SOCKET_IN_ENABLE
protected static final String QUERY_ATTRIBUTE
protected static final String ENABLED_ATTRIBUTE
protected static final String SETTING_ENABLED_BY_DEFAULT
protected static final String COMP_SEARCH_BUTTON
protected static final String COMP_SEARCH_INPUT
public void initialize(org.zkoss.zk.ui.Component comp)
DefaultWidgetControllerDefaultWidgetController.doAfterCompose(Component) everytime your widget
view is created. See GenericForwardComposer.doAfterCompose(Component) for more details.initialize in class DefaultWidgetControllerpublic void clearQuery()
public void initializeQuery(String value)
public void enableTextSearch(Boolean enable)
public void onQueryChange()
public void onSearch()
public org.zkoss.zul.Textbox getSearchBox()
public org.zkoss.zul.Button getSearchButton()
Copyright © 2018. All rights reserved.