public class FilterableLayoutExtension
extends com.vaadin.server.AbstractExtension
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Constructor and Description |
---|
FilterableLayoutExtension(com.vaadin.ui.TextField textField,
com.vaadin.ui.AbstractLayout layout) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
applyFilter(String filter,
String caption)
Method that applies the filter to the component's caption
|
void |
filterComponents(String filter,
com.vaadin.ui.AbstractLayout layout) |
String |
getFilteredStyleName() |
boolean |
isHideFilteredComponents() |
void |
setFilteredStyleName(String filteredStyleName) |
void |
setHideFilteredComponents(boolean hideFilteredComponents) |
extend, getParent, getSupportedParentType, remove, setParent
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, attach, beforeClientResponse, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getState, getState, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public FilterableLayoutExtension(com.vaadin.ui.TextField textField, com.vaadin.ui.AbstractLayout layout)
public void filterComponents(String filter, com.vaadin.ui.AbstractLayout layout)
protected boolean applyFilter(String filter, String caption)
filter
- caption
- public String getFilteredStyleName()
public void setFilteredStyleName(String filteredStyleName)
public boolean isHideFilteredComponents()
public void setHideFilteredComponents(boolean hideFilteredComponents)
Copyright © 2018–2020 Flowing Code. All rights reserved.