Class AbstractLookupField.FilterEvent<FILTERTYPE>

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<AbstractLookupField>
com.vaadin.componentfactory.lookupfield.AbstractLookupField.FilterEvent<FILTERTYPE>
Type Parameters:
FILTERTYPE - the type of the filter value
All Implemented Interfaces:
Serializable
Enclosing class:
AbstractLookupField<T,SelectT,ComboboxT extends com.vaadin.flow.component.HasEnabled & com.vaadin.flow.component.HasValidation & com.vaadin.flow.component.HasSize & com.vaadin.flow.component.HasValue<?,SelectT>,ComponentT extends AbstractLookupField<T,SelectT,ComboboxT,ComponentT,FilterType>,FilterType>

@DomEvent("vcf-lookup-field-filter-event") public static class AbstractLookupField.FilterEvent<FILTERTYPE> extends com.vaadin.flow.component.ComponentEvent<AbstractLookupField>
Event fired when the user filters the grid through the custom filter.
See Also:
  • Constructor Details

    • FilterEvent

      public FilterEvent(AbstractLookupField source, boolean fromClient, @EventData("event.detail.value") FILTERTYPE filterValue)
      Creates a new filter event.
      Parameters:
      source - the source component
      fromClient - true if the event originated from the client
      filterValue - the filter value
  • Method Details

    • getFilterValue

      public FILTERTYPE getFilterValue()
      Gets the filter value carried by this event.
      Returns:
      the filter value