Interface FilterPanel
- All Superinterfaces:
Workspace
- All Known Implementing Classes:
AutoFilterPanel,HierarchicalAutoFilterPanel,StaticFilterPanel
A listenable panel that provides filters to apply to the base widget table.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(FilterPanelListener listener) Add a listener to this panel for changes in it's filter state.@NotNull JComponentGet the component to display the panel.@Nullable StringGet a map of Column to Filters for this panel.booleanmaybeHandleOneClick(String column, Collection<String> items, OneClickListener.OneClickUpdateType type) voidremoveListener(FilterPanelListener listener) Remove a listener from this panel.Methods inherited from interface com.illumon.iris.gui.workspace.Workspace
getWorkspaceInfo, isGlobalSetting, setWorkspaceInfo
-
Method Details
-
getComponent
Get the component to display the panel.- Returns:
- the component.
-
getFilters
Get a map of Column to Filters for this panel.- Returns:
- the filters for this panel. Empty if there are none, never null.
-
getFilterName
-
maybeHandleOneClick
boolean maybeHandleOneClick(String column, Collection<String> items, OneClickListener.OneClickUpdateType type) -
addListener
Add a listener to this panel for changes in it's filter state.- Parameters:
listener- the listener.
-
removeListener
Remove a listener from this panel.- Parameters:
listener- the listener
-