Copyright © 2021 coderazzi. All rights reserved.

Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

adaptiveChoices - Static variable in class net.coderazzi.filters.gui.FilterSettings
Whether to enable adaptive choices, true by default.
addFilter(IFilter...) - Method in class net.coderazzi.filters.ComposedFilter
Subscribes one or more IFilter instances to receive filter events from this composition filter.
addFilter(IFilter...) - Method in class net.coderazzi.filters.gui.FiltersHandler
ComposedFilter interface.
addFilter(IFilter...) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Adds a filter -user specified- to the filter header.
addFilterEditor(FilterEditor) - Method in class net.coderazzi.filters.gui.FiltersHandler
Adds a new filter editor, called from the TableFilterHeader.
addFilterObserver(IFilterObserver) - Method in class net.coderazzi.filters.Filter
 
addFilterObserver(IFilterObserver) - Method in interface net.coderazzi.filters.IFilter
Adds an observer to receive filter change notifications.
addHeaderObserver(IFilterHeaderObserver) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Adds a new observer to the header.
addNotify() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Method automatically invoked when the class ancestor changes.
addPropertyChangeListener(PropertyChangeListener) - Method in interface net.coderazzi.filters.gui.IParserModel
Adds a PropertyChangeListener.
Any property change will be transmitted as an event
addPropertyChangeListener(PropertyChangeListener) - Method in class net.coderazzi.filters.gui.ParserModel
 
allowInstantVanishing - Static variable in class net.coderazzi.filters.gui.FilterSettings
Whether to allow vanishing during instant filtering, false by default.
AndFilter - Class in net.coderazzi.filters
Composed set of filters, added via logical AND.
AndFilter() - Constructor for class net.coderazzi.filters.AndFilter
Default constructor.
AndFilter(IFilter...) - Constructor for class net.coderazzi.filters.AndFilter
Constructor built up out of one or more IFilter instances.
applyEditorFilter(Filter) - Method in class net.coderazzi.filters.gui.FiltersHandler
Applies the passed filter, from an associated editor, and, on success, reports it to observers.
AutoChoices - Enum in net.coderazzi.filters.gui
Enumeration to define the available auto choices modes on a table filter or on each separated filter editor.
autoChoices - Static variable in class net.coderazzi.filters.gui.FilterSettings
If and how to provide content to the editor field's choices.
autoCompletion - Static variable in class net.coderazzi.filters.gui.FilterSettings
Whether to enable auto completion, true by default.
autoSelection - Static variable in class net.coderazzi.filters.gui.FilterSettings
Set to true to perform automatically the selection of a row that is uniquely identified by the existing filter.

B

backgroundColor - Static variable in class net.coderazzi.filters.gui.FilterSettings
Header's background color.
BooleanTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.BooleanTypeFormat
 
ByteTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.ByteTypeFormat
 

C

CharacterTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.CharacterTypeFormat
 
ChoiceRenderer - Interface in net.coderazzi.filters.gui
Interface to customize the rendering of choices in the IFilterEditor.
COMPARATOR_PROPERTY - Static variable in interface net.coderazzi.filters.gui.IParserModel
Property fired when any class' comparator changes.
compare(Date, Date) - Method in class net.coderazzi.filters.parser.DateComparator
 
ComparisonOperand() - Constructor for class net.coderazzi.filters.parser.Parser.ComparisonOperand
 
ComposedFilter - Class in net.coderazzi.filters
Abstract parent class to support the composition of multiple filters.
ComposedFilter() - Constructor for class net.coderazzi.filters.ComposedFilter
Default constructor.
ComposedFilter(IFilter...) - Constructor for class net.coderazzi.filters.ComposedFilter
Constructor built up out of one or more IFilter instances.
consolidateFilterChanges(int) - Method in class net.coderazzi.filters.gui.FiltersHandler
Method called when an editor has ended typing changes.
convertToRE(String) - Method in class net.coderazzi.filters.parser.Parser.WildcardOperand
Converts a wildcard expression into a regular expression.
create(Object) - Static method in class net.coderazzi.filters.gui.CustomChoice
Creates a CustomChoice that matches the given object; its stringfied format is the representation shown to the user.
create(Object, String) - Static method in class net.coderazzi.filters.gui.CustomChoice
Creates a CustomChoice that matches the given object, with the provided representation.
The choice can be a Pattern instance, in which case it is performed a complete regular expression match.
create(Parser, String) - Method in class net.coderazzi.filters.parser.Parser.ComparisonOperand
Parser.IOperand interface.
create(Parser, String) - Method in class net.coderazzi.filters.parser.Parser.EqualOperand
Parser.IOperand interface.
create(Parser, String) - Method in interface net.coderazzi.filters.parser.Parser.IOperand
 
create(Parser, String) - Method in class net.coderazzi.filters.parser.Parser.REOperand
Parser.IOperand interface.
createParser(IFilterEditor) - Method in interface net.coderazzi.filters.gui.IParserModel
Creates a text parser for the given editor.
createParser(Format, Comparator, Comparator, boolean, int) - Method in class net.coderazzi.filters.gui.LooseParserModel
Creates the parser as required with the given parameters
createParser(IFilterEditor) - Method in class net.coderazzi.filters.gui.ParserModel
 
createParser(Format, Comparator, Comparator, boolean, int) - Method in class net.coderazzi.filters.gui.ParserModel
Creates the parser as required with the given parameters
createSet(Object[]) - Static method in class net.coderazzi.filters.gui.CustomChoice
Creates a set of CustomChoice instances, one for each provided choice.
createSet(Collection) - Static method in class net.coderazzi.filters.gui.CustomChoice
Creates a set of CustomChoice instances, one for each provided choice.
CustomChoice - Class in net.coderazzi.filters.gui
Class to specify a custom filter in the choices list.
CustomChoice(String, Icon, int) - Constructor for class net.coderazzi.filters.gui.CustomChoice
Full constructor.
CustomChoice(String) - Constructor for class net.coderazzi.filters.gui.CustomChoice
Creates a custom choice without associated icon, and with default precedence, to be handled exclusively as text.
CustomChoice(String, Icon) - Constructor for class net.coderazzi.filters.gui.CustomChoice
Creates a custom choice with associated icon and default precedence.
CustomChoiceDecorator - Interface in net.coderazzi.filters.gui
Interface that allows customizing the appearance of CustomChoices in those IFilterEditors without associated ChoiceRenderer.
CustomChoiceDecorator.DefaultDecorator - Class in net.coderazzi.filters.gui
Default decorator, delegating always to the associated methods on the CustomChoice instances.
customChoiceDecoratorClass - Static variable in class net.coderazzi.filters.gui.FilterSettings
The class defining the generic CustomChoiceDecorator
It must have a default constructor.

D

DateComparator - Class in net.coderazzi.filters.parser
Class to deduce a sensible Comparator for Date instances.
DateComparator() - Constructor for class net.coderazzi.filters.parser.DateComparator
 
dateFormat - Static variable in class net.coderazzi.filters.gui.FilterSettings
The default date format, used on the default filter model.
decorateComponent(IFilterEditor, boolean, JComponent, Graphics) - Method in class net.coderazzi.filters.gui.CustomChoice
Decorates the choice on the given editor.
decorateComponent(CustomChoice, IFilterEditor, boolean, JComponent, Graphics) - Method in interface net.coderazzi.filters.gui.CustomChoiceDecorator
Decorates the choice on the given editor.
decorateComponent(CustomChoice, IFilterEditor, boolean, JComponent, Graphics) - Method in class net.coderazzi.filters.gui.CustomChoiceDecorator.DefaultDecorator
 
DEFAULT_PRECEDENCE - Static variable in class net.coderazzi.filters.gui.CustomChoice
 
DefaultDecorator() - Constructor for class net.coderazzi.filters.gui.CustomChoiceDecorator.DefaultDecorator
 
diff(Date, Date) - Method in class net.coderazzi.filters.parser.DateComparator
 
disabledBackgroundColor - Static variable in class net.coderazzi.filters.gui.FilterSettings
Header's disabled color.
disabledColor - Static variable in class net.coderazzi.filters.gui.FilterSettings
Header's disabled color.
DoubleTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.DoubleTypeFormat
 

E

enableNotifications(boolean) - Method in class net.coderazzi.filters.gui.FiltersHandler
Temporarily enable/disable notifications to the observers, including the registered JTable.
EnumTypeFormat(Class<? extends Enum>) - Constructor for class net.coderazzi.filters.gui.ParserModel.EnumTypeFormat
 
EqualOperand(boolean) - Constructor for class net.coderazzi.filters.parser.Parser.EqualOperand
Single constructor.
errorColor - Static variable in class net.coderazzi.filters.gui.FilterSettings
Header's error color.
escape(String) - Method in interface net.coderazzi.filters.IParser
Escapes a given expression, such that, when parsed, the parser will make no character/operator substitutions.
escape(String) - Method in class net.coderazzi.filters.parser.Parser
IParser interface.
expression - Variable in class net.coderazzi.filters.IParser.InstantFilter
 

F

Filter - Class in net.coderazzi.filters
Commodity class implementing the interface IFilter on a RowFilter.
Filter() - Constructor for class net.coderazzi.filters.Filter
 
filter - Variable in class net.coderazzi.filters.IParser.InstantFilter
 
filterOnUpdates - Static variable in class net.coderazzi.filters.gui.FilterSettings
If true, table updates trigger filter and sort updates.
filterRowHeightDelta - Static variable in class net.coderazzi.filters.gui.FilterSettings
Setting to add / decrease height to the filter row.
This setting could be specifically required on specific Look And Feels -Substance seems to require additional height.
filters - Variable in class net.coderazzi.filters.ComposedFilter
Set of associated IFilters.
FilterSettings - Class in net.coderazzi.filters.gui
Class to define some common settings to the TableFilter library.
It is just a sugar replacement to using directly system properties (which could be not available, anyway)
FilterSettings() - Constructor for class net.coderazzi.filters.gui.FilterSettings
 
FiltersHandler - Class in net.coderazzi.filters.gui
FiltersHandler represents a RowFilter instance that can be attached to a JTable to compose dynamically the outcome of one or more filter editors.
filterUpdated(IFilter) - Method in class net.coderazzi.filters.ComposedFilter
 
filterUpdated(IFilter) - Method in class net.coderazzi.filters.gui.FiltersHandler
ComposedFilter interface.
filterUpdated(IFilter) - Method in interface net.coderazzi.filters.IFilterObserver
Notification made by the observer when the associated IFilter instance updates the held filter.
FloatTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.FloatTypeFormat
 
font - Static variable in class net.coderazzi.filters.gui.FilterSettings
Header's font.
foregroundColor - Static variable in class net.coderazzi.filters.gui.FilterSettings
Header's foreground color.
FORMAT_PROPERTY - Static variable in interface net.coderazzi.filters.gui.IParserModel
Property fired when any class' format changes.

G

getAppliedExpression(String) - Method in class net.coderazzi.filters.parser.Parser.WildcardOperand
After the operand is used, this method returns the expression that has been really applied to obtain the filter.
getAutoChoices() - Method in class net.coderazzi.filters.gui.FiltersHandler
Returns the auto choices mode.
getAutoChoices() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the autoChoices mode.
getAutoChoices() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the auto choices flag.
getBackground(IFilterEditor, boolean) - Method in class net.coderazzi.filters.gui.CustomChoice
Returns the background color, or null to use the default one.
getBackground(CustomChoice, IFilterEditor, boolean) - Method in class net.coderazzi.filters.gui.CustomChoiceDecorator.DefaultDecorator
 
getBackground(CustomChoice, IFilterEditor, boolean) - Method in interface net.coderazzi.filters.gui.CustomChoiceDecorator
Returns the background color.
getBackground() - Method in class net.coderazzi.filters.gui.Look
Returns the background color used by the editors.
getBeanDescriptor() - Method in class net.coderazzi.filters.gui.TableFilterHeaderBeanInfo
 
getChoicesComparator() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the associated Comparator choices comparator.
getComparator() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the associated Comparator, which is never null.
getComparator(Class) - Method in interface net.coderazzi.filters.gui.IParserModel
Returns the Comparator for the given class.
It never returns null.
getComparator(Class) - Method in class net.coderazzi.filters.gui.ParserModel
Returns the Comparator for the given class.
getContent() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the current editor's content.
getCustomChoiceDecorator() - Method in class net.coderazzi.filters.gui.Look
Returns the registered CustomChoiceDecorator.
getCustomChoiceDecorator() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the CustomChoiceDecorator instance.
getCustomChoices() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the current choices.
getDateComparator(Format) - Static method in class net.coderazzi.filters.parser.DateComparator
Factory constructor, returning an instance suitable for the given format.
getDefaultOperator(boolean) - Method in class net.coderazzi.filters.parser.Parser
Returns the default operator if none is specified by the user
getDisabledBackground() - Method in class net.coderazzi.filters.gui.Look
Returns the background color used for disabled editors.
getDisabledBackground() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the background color used for disabled editors.
getDisabledForeground() - Method in class net.coderazzi.filters.gui.Look
Returns the foreground color used for disabled editors.
getDisabledForeground() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the color used for disabled editors.
getEditor(int) - Method in class net.coderazzi.filters.gui.FiltersHandler
Returns the FilterEditor instance on the given column.
getEditors() - Method in class net.coderazzi.filters.gui.FiltersHandler
Returns all registered FilterEditors.
getErrorForeground() - Method in class net.coderazzi.filters.gui.Look
Returns the color set by default as foreground on each text editor when the user commits any error on the filter expression.
getErrorForeground() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the color set by default as foreground on each text editor when the user commits any error on the filter expression.
getFilter(IFilterEditor) - Method in class net.coderazzi.filters.gui.CustomChoice
Returns the associated filter.
getFilter() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the IFilter associated to the editor's content
The returned instance can then be used to enable or disable the filter and its GUI component.
getFilterEditor(int) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the filter editor for the given column in the table model.
getFilterObservers() - Method in class net.coderazzi.filters.Filter
Returns all the registered IFilterObserver instances.
getFilters() - Method in class net.coderazzi.filters.ComposedFilter
Returns all IFilter instances previously added.
getFont(IFilterEditor, boolean) - Method in class net.coderazzi.filters.gui.CustomChoice
Returns the font, or null to use the default one.
getFont(CustomChoice, IFilterEditor, boolean) - Method in class net.coderazzi.filters.gui.CustomChoiceDecorator.DefaultDecorator
 
getFont(CustomChoice, IFilterEditor, boolean) - Method in interface net.coderazzi.filters.gui.CustomChoiceDecorator
Returns the font.
getFont() - Method in class net.coderazzi.filters.gui.Look
Returns the font used on editors.
getForeground(IFilterEditor, boolean) - Method in class net.coderazzi.filters.gui.CustomChoice
Returns the foreground color, or null to use the default one.
getForeground(CustomChoice, IFilterEditor, boolean) - Method in class net.coderazzi.filters.gui.CustomChoiceDecorator.DefaultDecorator
 
getForeground(CustomChoice, IFilterEditor, boolean) - Method in interface net.coderazzi.filters.gui.CustomChoiceDecorator
Returns the foreground color.
getForeground() - Method in class net.coderazzi.filters.gui.Look
Returns the foreground color used by the editors.
getFormat() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the associated Format.
getFormat(Class) - Method in interface net.coderazzi.filters.gui.IParserModel
Returns the Format for the given class.
getFormat(Class) - Method in class net.coderazzi.filters.gui.ParserModel
Returns the Format for the given class.
getGridColor() - Method in class net.coderazzi.filters.gui.Look
Returns the color set by default for the header's grid.
getGridColor() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the color set by default for the header's grid.
getHistory() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the current history contents
getIcon() - Method in class net.coderazzi.filters.gui.CustomChoice
Returns the associated icon, if any.
getIcon(int) - Method in class net.coderazzi.filters.gui.TableFilterHeaderBeanInfo
 
getInstantAppliedExpression(String) - Method in class net.coderazzi.filters.parser.Parser
 
getLook() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the current editor's look.
getMaxHistory() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the maximum history size, as defined by the user.
This is not the real maximum history size, as it depends on the max number of visible rows and whether the popup contains only history or also choices
getMaxHistory() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the maximum history size.
getMaxVisiblePopupRows() - Method in class net.coderazzi.filters.gui.Look
Returns the maximum number of visible rows in the popup menu.
getMaxVisibleRows() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the maximum number of visible rows in the popup menu.
getModelClass() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the class associated to the editor on the model.
getModelIndex() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the model position associated to this editor.
getParserModel() - Method in class net.coderazzi.filters.gui.FiltersHandler
Returns the registered IParserModel instance.
getParserModel() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Retrieves the current IParserModel; The returned reference is required to update properties like Format or Comparator instances associated to each class, or whether to ignore case.
getPattern(String, boolean) - Method in class net.coderazzi.filters.parser.Parser.REOperand
Returns the Pattern instance associated to the provided expression.
getPattern(String, boolean) - Method in class net.coderazzi.filters.parser.Parser.WildcardOperand
Parser.REOperand interface.
getPosition() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the mode currently associated to the TableHeader.
getPrecedence() - Method in class net.coderazzi.filters.gui.CustomChoice
Returns the precedence value.
getRenderer() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the associated ChoiceRenderer.
getRendererComponent(IFilterEditor, Object, boolean) - Method in interface net.coderazzi.filters.gui.ChoiceRenderer
Returns the component used to represent the choice (normally, an element from the associated table).
The value can be as well CustomChoice instances; to use the default rendering in this case, the method should return null.
getRendererComponent(IFilterEditor, Object, boolean) - Method in class net.coderazzi.filters.gui.HtmlChoiceRenderer
 
getRepresentation() - Method in class net.coderazzi.filters.gui.CustomChoice
Returns the associated string.
getRowHeightDelta() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the filter row's height delta.
getSelectionBackground() - Method in class net.coderazzi.filters.gui.Look
Returns the background color on focused editors.
getSelectionBackground() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the background color on focused editors.
getSelectionForeground() - Method in class net.coderazzi.filters.gui.Look
Returns the foreground color on focused editors.
getSelectionForeground() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the foreground color on focused editors.
getStringComparator(boolean) - Method in interface net.coderazzi.filters.gui.IParserModel
Returns the Comparator used for String comparisons.
getStringComparator(boolean) - Method in class net.coderazzi.filters.gui.ParserModel
 
getTable() - Method in class net.coderazzi.filters.gui.FiltersHandler
Returns the associated table.
getTable() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the table currently attached.
getTextSelection() - Method in class net.coderazzi.filters.gui.Look
Returns the color set by default as text selection on filters.
getTextSelectionColor() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the color set by default as text selection on filters.
getWarningForeground() - Method in class net.coderazzi.filters.gui.Look
Returns the color set by default as foreground on each text editor when the filter would produce no visible rows
getWarningForeground() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the color set by default as foreground on each text editor when the filter would produce no visible rows
gridColor - Static variable in class net.coderazzi.filters.gui.FilterSettings
Header's grid color.

H

headerPosition - Static variable in class net.coderazzi.filters.gui.FilterSettings
The header position, TableFilterHeader.Position.INLINE by default.
hidePopupsOnTableUpdates - Static variable in class net.coderazzi.filters.gui.FilterSettings
Set to true to automatically hide any filter popups during table updates.
HtmlChoiceRenderer - Class in net.coderazzi.filters.gui
Class to render properly columns having html content.
HtmlChoiceRenderer() - Constructor for class net.coderazzi.filters.gui.HtmlChoiceRenderer
 

I

IFilter - Interface in net.coderazzi.filters
Interface to be implemented by any instance holding a filter than can be updated dynamically.
IFilterEditor - Interface in net.coderazzi.filters.gui
Public interface of the editors associated to each table's column.
IFilterHeaderObserver - Interface in net.coderazzi.filters.gui
A ITableFilterHeaderObserver instance receives notifications when the associated IFilterEditor instances are created, destroyed, or update the held filter.
IFilterObserver - Interface in net.coderazzi.filters
A IFilterObserver instance receives notifications when the associated IFilter instance updates the held filter.
IGNORE_CASE_PROPERTY - Static variable in interface net.coderazzi.filters.gui.IParserModel
Property fired when the ignore case value changes.
ignoreCase - Static variable in class net.coderazzi.filters.gui.FilterSettings
Whether to ignore case or not, false by default (case sensitive).
include(RowFilter.Entry) - Method in class net.coderazzi.filters.AndFilter
 
include(RowFilter.Entry) - Method in interface net.coderazzi.filters.IFilter
RowFilter interface.
include(RowFilter.Entry) - Method in class net.coderazzi.filters.NotFilter
 
include(RowFilter.Entry) - Method in class net.coderazzi.filters.OrFilter
 
InstantFilter() - Constructor for class net.coderazzi.filters.IParser.InstantFilter
 
instantFiltering - Static variable in class net.coderazzi.filters.gui.FilterSettings
Whether to enable instant filtering, true by default.
IntegerTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.IntegerTypeFormat
 
IParser - Interface in net.coderazzi.filters
Interface defining the requirements on text parsing for filter expressions.
IParser.InstantFilter - Class in net.coderazzi.filters
Helper class used on IParser.parseInstantText(String).
IParserModel - Interface in net.coderazzi.filters.gui
Interface defining the model required to use and create IParser instances.
isAdaptiveChoices() - Method in class net.coderazzi.filters.gui.FiltersHandler
Returns the adaptive choices mode.
isAdaptiveChoices() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the adaptive choices mode.
isAllowedInstantVanishing() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the instant filtering flag.
isAllowedInstantVanishing() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns true if vanishing is enabled during instant filtering
isAutoCompletion() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the auto completion flag.
isAutoCompletion() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns true if auto completion is enabled.
isAutoSelection() - Method in class net.coderazzi.filters.gui.FiltersHandler
Returns the autoselection mode.
isAutoSelection() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns true if auto selection is enabled.
isDisabled(IFilter) - Method in class net.coderazzi.filters.ComposedFilter
Returns true if there is information of this filter as disabled.
isEditable() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the editable flag.
isEnabled() - Method in class net.coderazzi.filters.Filter
 
isEnabled() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the current enable status.
isEnabled() - Method in interface net.coderazzi.filters.IFilter
Returns true if the filter is enabled.
isFilterOnUpdates() - Method in class net.coderazzi.filters.gui.FiltersHandler
Returns true if the filter is reapplied on updates.
isFilterOnUpdates() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns true if the filter is reapplied on updates.
isHidePopupOnTableUpdates() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the auto hide-popup flag
isHidePopupsOnTableUpdates() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns true if popups automatically hide during table updates.
isIgnoreCase() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the ignore case flag.
isIgnoreCase() - Method in interface net.coderazzi.filters.gui.IParserModel
Returns true if the String comparator ignores case
Note that this is redundant information, which can be retrieved from the IParserModel.getComparator(Class) method with a String.class parameter.
isIgnoreCase() - Method in class net.coderazzi.filters.gui.ParserModel
 
isInstantFiltering() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the instant filtering flag.
isInstantFiltering() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns true if instant filtering is enabled.
isUserInteractionEnabled() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the user interaction mode.

L

LongTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.LongTypeFormat
 
Look - Class in net.coderazzi.filters.gui
Class representing the current TableFilterHeader appearance.
Look() - Constructor for class net.coderazzi.filters.gui.Look
 
LooseParserModel - Class in net.coderazzi.filters.gui
Default Format instances, supporting all the basic java types
It also includes support for Comparator of Date instances.
LooseParserModel() - Constructor for class net.coderazzi.filters.gui.LooseParserModel
 

M

MATCH_ALL - Static variable in class net.coderazzi.filters.gui.CustomChoice
Empty filter, returns all entries.
MATCH_ALL_PRECEDENCE - Static variable in class net.coderazzi.filters.gui.CustomChoice
 
MATCH_EMPTY - Static variable in class net.coderazzi.filters.gui.CustomChoice
Special empty filter, returns all entries with null or empty values.
matchEmptyFilterIcon - Static variable in class net.coderazzi.filters.gui.FilterSettings
The default icon used to represent null/empty values.
matchEmptyFilterString - Static variable in class net.coderazzi.filters.gui.FilterSettings
The default string associated to a nop operation.
maxPopupHistory - Static variable in class net.coderazzi.filters.gui.FilterSettings
The maximum size of the history when no choices are present.
maxVisiblePopupRows - Static variable in class net.coderazzi.filters.gui.FilterSettings
The maximum number of visible tows on the popup menus.

N

net.coderazzi.filters - package net.coderazzi.filters
 
net.coderazzi.filters.gui - package net.coderazzi.filters.gui
 
net.coderazzi.filters.parser - package net.coderazzi.filters.parser
 
newCustomChoiceDecorator() - Static method in class net.coderazzi.filters.gui.FilterSettings
Creates a CustomChoiceDecorator as defined by default.
newParserModel() - Static method in class net.coderazzi.filters.gui.FilterSettings
Creates a TextParser as defined by default.
NotFilter - Class in net.coderazzi.filters
Composed set of filters, added via logical AND, and then NOT-ed the result.
NotFilter() - Constructor for class net.coderazzi.filters.NotFilter
Default constructor.
NotFilter(IFilter...) - Constructor for class net.coderazzi.filters.NotFilter
Constructor built up out of one or more IFilter instances.

O

OrFilter - Class in net.coderazzi.filters
Composed set of filters, added via logical OR.
OrFilter() - Constructor for class net.coderazzi.filters.OrFilter
Default constructor.
OrFilter(IFilter...) - Constructor for class net.coderazzi.filters.OrFilter
Constructor built up out of one or more IFilter instances.

P

parseInstantText(String) - Method in interface net.coderazzi.filters.IParser
Parses the text, considered to be a part of the whole text to enter.
parseInstantText(String) - Method in class net.coderazzi.filters.parser.Parser
IParser interface.
parseObject(String) - Method in class net.coderazzi.filters.gui.ParserModel.BooleanTypeFormat
 
parseObject(String) - Method in class net.coderazzi.filters.gui.ParserModel.ByteTypeFormat
 
parseObject(String) - Method in class net.coderazzi.filters.gui.ParserModel.CharacterTypeFormat
 
parseObject(String) - Method in class net.coderazzi.filters.gui.ParserModel.DoubleTypeFormat
 
parseObject(String) - Method in class net.coderazzi.filters.gui.ParserModel.EnumTypeFormat
 
parseObject(String) - Method in class net.coderazzi.filters.gui.ParserModel.FloatTypeFormat
 
parseObject(String) - Method in class net.coderazzi.filters.gui.ParserModel.IntegerTypeFormat
 
parseObject(String) - Method in class net.coderazzi.filters.gui.ParserModel.LongTypeFormat
 
parseObject(String) - Method in class net.coderazzi.filters.gui.ParserModel.ShortTypeFormat
 
parseObject(String) - Method in class net.coderazzi.filters.gui.ParserModel.StringTypeFormat
 
Parser - Class in net.coderazzi.filters.parser
Basic implementation of a IParser, supporting only simple operators referring to the content of a single column.
The supporter operators include: Comparison operators.
Parser(Format, Comparator, Comparator<String>, boolean, int) - Constructor for class net.coderazzi.filters.parser.Parser
 
Parser.ComparisonOperand - Class in net.coderazzi.filters.parser
IOperand for comparison operations.
Parser.EqualOperand - Class in net.coderazzi.filters.parser
IOperand for equal/unequal operations.
Parser.IOperand - Interface in net.coderazzi.filters.parser
Internal interface, to be implemented by all operands.
Parser.REOperand - Class in net.coderazzi.filters.parser
Operand for regular expressions.
Parser.WildcardOperand - Class in net.coderazzi.filters.parser
Operand for wildcard expressions.
ParserModel - Class in net.coderazzi.filters.gui
Default Format instances, supporting all the basic java types
It also includes support for Comparator of Date instances.
ParserModel() - Constructor for class net.coderazzi.filters.gui.ParserModel
 
ParserModel.BooleanTypeFormat - Class in net.coderazzi.filters.gui
Factory to build boolean objects.
ParserModel.ByteTypeFormat - Class in net.coderazzi.filters.gui
Factory to build byte objects.
ParserModel.CharacterTypeFormat - Class in net.coderazzi.filters.gui
Factory to build character objects.
ParserModel.DoubleTypeFormat - Class in net.coderazzi.filters.gui
Factory to build double objects.
ParserModel.EnumTypeFormat - Class in net.coderazzi.filters.gui
Factory to build character objects.
ParserModel.FloatTypeFormat - Class in net.coderazzi.filters.gui
Factory to build float objects.
ParserModel.IntegerTypeFormat - Class in net.coderazzi.filters.gui
Factory to build integer objects.
ParserModel.LongTypeFormat - Class in net.coderazzi.filters.gui
Factory to build long objects.
ParserModel.ShortTypeFormat - Class in net.coderazzi.filters.gui
Factory to build short objects.
ParserModel.StringTypeFormat - Class in net.coderazzi.filters.gui
Factory to build string objects.
parserModelClass - Static variable in class net.coderazzi.filters.gui.FilterSettings
The class defining the generic IParserModel
It must have a default constructor.
It corresponds to the property ParserModel.class
parseText(String) - Method in interface net.coderazzi.filters.IParser
Parses the text, returning a filter that can be applied to the table.
parseText(String) - Method in class net.coderazzi.filters.parser.Parser
IParser interface.
PROPERTIES_PREFIX - Static variable in class net.coderazzi.filters.gui.FilterSettings
Properties must be defined with this prefix.
propertyChange(PropertyChangeEvent) - Method in class net.coderazzi.filters.gui.FiltersHandler
PropertyChangeListener interface, for changes on IParserModel.
propertyChange(PropertyChangeEvent) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Required to track model changes on the table

R

removeFilter(IFilter...) - Method in class net.coderazzi.filters.ComposedFilter
Unsubscribes one or more IFilters that were previously subscribed to receive filter events.
removeFilter(IFilter...) - Method in class net.coderazzi.filters.gui.FiltersHandler
ComposedFilter interface.
removeFilter(IFilter...) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Adds a filter -user specified- to the filter header.
removeFilterEditor(FilterEditor) - Method in class net.coderazzi.filters.gui.FiltersHandler
Removes a filter editor, called from the TableFilterHeader.
removeFilterObserver(IFilterObserver) - Method in class net.coderazzi.filters.Filter
 
removeFilterObserver(IFilterObserver) - Method in interface net.coderazzi.filters.IFilter
Unregisters an observer, that will not receive any further filter update notifications.
removeHeaderObserver(IFilterHeaderObserver) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Removes an existing observer from the header.
removePropertyChangeListener(PropertyChangeListener) - Method in interface net.coderazzi.filters.gui.IParserModel
Removes an existing PropertyChangeListener.
removePropertyChangeListener(PropertyChangeListener) - Method in class net.coderazzi.filters.gui.ParserModel
 
REOperand(boolean) - Constructor for class net.coderazzi.filters.parser.Parser.REOperand
Single constructor.
reportFilterUpdatedToObservers() - Method in class net.coderazzi.filters.Filter
Method to be called by subclasses to report to the observers that the filter has changed.
resetFilter() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Resets the filter, which implies set its content to empty and reset its history choices.
resetFilter() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Invokes resetFilter on all the editor filters.

S

selectionBackgroundColor - Static variable in class net.coderazzi.filters.gui.FilterSettings
Header's selection background color.
selectionColor - Static variable in class net.coderazzi.filters.gui.FilterSettings
Header's selection color.
selectionForegroundColor - Static variable in class net.coderazzi.filters.gui.FilterSettings
Header's selection foreground color.
setAdaptiveChoices(boolean) - Method in class net.coderazzi.filters.gui.FiltersHandler
Sets the adaptive choices mode.
setAdaptiveChoices(boolean) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the adaptive choices mode.
setAllowedInstantVanishing(boolean) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Sets the allow instant vanishing flag.
setAllowedInstantVanishing(boolean) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Enables vanishing during instant filtering
If enabled, entering a filter expression that produces no rows will hide; otherwise, the filter is just marked with warning color.
setAutoChoices(AutoChoices) - Method in class net.coderazzi.filters.gui.FiltersHandler
Sets/unsets the auto choices flag.
setAutoChoices(AutoChoices) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Using autoChoices, the choices displayed on the popup menu are automatically extracted from the associated TableModel.
For editors associated to boolean or short enumerations, if AutoCompletion is not set, setting the AutoChoices automatically changes the editable flag to true, unless AutoChoices has the DISABLED value
setAutoChoices(AutoChoices) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the auto choices flag.
setAutoCompletion(boolean) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Sets the auto completion flag.
setAutoCompletion(boolean) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Enables auto completion, as the user edits the filter's text.
setAutoSelection(boolean) - Method in class net.coderazzi.filters.gui.FiltersHandler
Sets the autoselection mode
setAutoSelection(boolean) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Enables / Disables auto selection mode
setBackground(Color) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the background color used by the parsed-based editors.
setChoicesComparator(Comparator) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Sets the Comparator used to sort out the choices.
setComparator(Comparator) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Sets the Comparator required to compare (and sort) instances of the associated class in the table model.
This operation sets also this operator as the choices comparator (see IFilterEditor.setChoicesComparator(Comparator))
setComparator(Class, Comparator) - Method in interface net.coderazzi.filters.gui.IParserModel
Defines the Comparator for the given class.
setComparator(Class, Comparator) - Method in class net.coderazzi.filters.gui.ParserModel
Defines the Comparator for the given class.
setContent(Object) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Sets the content, adapted to the editors' type.
setCustomChoiceDecorator(CustomChoiceDecorator) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the CustomChoiceDecorator instance.
setCustomChoices(Set<CustomChoice>) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Sets the available choices, shown on the popup menu.
setDisabledBackground(Color) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the background color used for disabled editors.
setDisabledForeground(Color) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the color used for disabled fields.
setEditable(boolean) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Defines the editor, if text based -i.e., without associated ChoiceRenderer, as editable: this flag means that the user can enter any text, not being limited to the existing choices
setEnabled(boolean) - Method in class net.coderazzi.filters.ComposedFilter
 
setEnabled(boolean) - Method in class net.coderazzi.filters.Filter
 
setEnabled(boolean) - Method in class net.coderazzi.filters.gui.FiltersHandler
Enables/Disables the filtering.
setEnabled(boolean) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Enables/Disables the filters.
setEnabled(boolean) - Method in interface net.coderazzi.filters.IFilter
Enables/Disables the filter.
setErrorForeground(Color) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the foreground color used by the parsing text editors when there are errors on the filter expressions.
setFilterOnUpdates(boolean) - Method in class net.coderazzi.filters.gui.FiltersHandler
Sets the filter on updates flag.
It sets the sortOnUpdates flag on the underlying DefaultRowSorter
setFilterOnUpdates(boolean) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the filter on updates flag.
It sets the sortOnUpdates flag on the underlying DefaultRowSorter it is, in fact, just a helper to set this flag without accessing directly the row sorter.
setFont(Font) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the font used on all the editors.
setForeground(Color) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the foreground color used by the editors.
setFormat(Format) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Sets the Format required by the editor to handle the user's input when the associated class is not a String
It is initially retrieved from the IParserModel.
setFormat(Class, Format) - Method in interface net.coderazzi.filters.gui.IParserModel
Defines the Format for the given class.
setFormat(Class, Format) - Method in class net.coderazzi.filters.gui.ParserModel
Defines the Format for the given class.
setGridColor(Color) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the color used to draw the header's grid.
setHidePopupOnTableUpdates(boolean) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Sets the auto hide-popup flag
setHidePopupsOnTableUpdates(boolean) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Enables / Disables automatic hiding of popups during table updates
setHistory(List<Object>) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Sets the history contents.
setIcon(Icon) - Method in class net.coderazzi.filters.gui.CustomChoice
Sets the associated icon.
setIgnoreCase(boolean) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Sets the ignore case flag.
setIgnoreCase(boolean) - Method in interface net.coderazzi.filters.gui.IParserModel
Sets a String comparator that is case sensitive/insensitive.
setIgnoreCase(boolean) - Method in class net.coderazzi.filters.gui.ParserModel
 
setInstantFiltering(boolean) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Sets the instant filtering flag.
setInstantFiltering(boolean) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Enables instant filtering, as the user edits the filter's text
The exact way the instant filtering works depends on the associated.
setInstantMode(boolean) - Method in class net.coderazzi.filters.parser.Parser.WildcardOperand
Sets the instant mode (as is '*' was appended)
setMaxHistory(int) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Limits the history size.
This limit is only used when the popup contains also choices.
setMaxHistory(int) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the maximum history size, always lower than the max number of visible rows.
setMaxVisibleRows(int) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the maximum number of visible rows in the popup menu (a minimum is always enforced).
setParserModel(IParserModel) - Method in class net.coderazzi.filters.gui.FiltersHandler
Sets the IParserModel instance.
setParserModel(IParserModel) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the IParserModel, used to define the parsing of text on the filter editors.
setPosition(TableFilterHeader.Position) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the position of the header related to the table.
setPrecedence(int) - Method in class net.coderazzi.filters.gui.CustomChoice
Sets the precedence value.
setRenderer(ChoiceRenderer) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Sets the ChoiceRenderer for the choices / history.
setRepresentation(String) - Method in class net.coderazzi.filters.gui.CustomChoice
Sets the representation value.
setRowHeightDelta(int) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Setting to add / decrease height to the filter row.
setSelectionBackground(Color) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the background color used to represent selected state.
setSelectionForeground(Color) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the foreground color used to represent selected state.
setTable(JTable) - Method in class net.coderazzi.filters.gui.FiltersHandler
Method to set the associated table.
setTable(JTable) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Attaches the table where the filtering will be applied.
setTextSelectionColor(Color) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the color set by default as text selection on filters.
setupComponent(Component, boolean, boolean) - Method in class net.coderazzi.filters.gui.Look
Prepares the provided component to have the expected appearance
Only the background, foreground and font are updated.
setUserInteractionEnabled(boolean) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Enables or disables the user's interaction; if disabled, the control is disabled but the associated filter remains in place.
setVisible(boolean) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Hides / makes visible the header.
setWarningForeground(Color) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the foreground color used by the parsing text editors when the associated filter would produce no visible rows.
ShortTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.ShortTypeFormat
 
stringComparator(boolean) - Static method in class net.coderazzi.filters.gui.ParserModel
Returns a default singleton comparator for the given case flag.
StringTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.StringTypeFormat
 
stripHtml(String) - Method in interface net.coderazzi.filters.IParser
Removes any Html content from the passed string, converting special Html characters to Java characters.
stripHtml(String) - Method in class net.coderazzi.filters.parser.Parser
IParser interface.

T

tableFilterEditorCreated(TableFilterHeader, IFilterEditor, TableColumn) - Method in interface net.coderazzi.filters.gui.IFilterHeaderObserver
Informs the observer than a new filter editor is created
tableFilterEditorExcluded(TableFilterHeader, IFilterEditor, TableColumn) - Method in interface net.coderazzi.filters.gui.IFilterHeaderObserver
Informs the observer than an existing filter editor has been excluded from the filter header
TableFilterHeader - Class in net.coderazzi.filters.gui
Implementation of a table filter that displays a set of editors associated to each table's column.
TableFilterHeader() - Constructor for class net.coderazzi.filters.gui.TableFilterHeader
Basic constructor, requires an attached table.
TableFilterHeader(JTable) - Constructor for class net.coderazzi.filters.gui.TableFilterHeader
Basic constructor, using default IParserModel.
TableFilterHeader(JTable, AutoChoices) - Constructor for class net.coderazzi.filters.gui.TableFilterHeader
Advanced constructor, enabling setting the AutoChoices mode
TableFilterHeader(JTable, IParserModel) - Constructor for class net.coderazzi.filters.gui.TableFilterHeader
Advanced constructor.
TableFilterHeader(JTable, IParserModel, AutoChoices) - Constructor for class net.coderazzi.filters.gui.TableFilterHeader
Full constructor.
TableFilterHeader.Position - Enum in net.coderazzi.filters.gui
Location of the header in relation to the table
TableFilterHeaderBeanInfo - Class in net.coderazzi.filters.gui
 
TableFilterHeaderBeanInfo() - Constructor for class net.coderazzi.filters.gui.TableFilterHeaderBeanInfo
 
tableFilterUpdated(TableFilterHeader, IFilterEditor, TableColumn) - Method in interface net.coderazzi.filters.gui.IFilterHeaderObserver
Notification made by the IFilterEditor when the filter's content is updated
tableUpdated() - Method in class net.coderazzi.filters.gui.FiltersHandler
Report that the table is updated.
toString() - Method in class net.coderazzi.filters.gui.CustomChoice
Returns the string representation of the filter.

U

updateEditorChoices(FilterEditor) - Method in class net.coderazzi.filters.gui.FiltersHandler
Method invoked by the FilterEditor when its autoChoices mode OR user choices change; in return, it will set the proper choices on the specified editor.
updateModel() - Method in class net.coderazzi.filters.gui.FiltersHandler
 
updateTableFilter() - Method in class net.coderazzi.filters.gui.FiltersHandler
Method to set/update the filtering.
updateUI() - Method in class net.coderazzi.filters.gui.TableFilterHeader
 

V

valueOf(String) - Static method in enum net.coderazzi.filters.gui.AutoChoices
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.coderazzi.filters.gui.TableFilterHeader.Position
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.coderazzi.filters.gui.AutoChoices
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.coderazzi.filters.gui.TableFilterHeader.Position
Returns an array containing the constants of this enum type, in the order they are declared.

W

warningColor - Static variable in class net.coderazzi.filters.gui.FilterSettings
Header's warning color.
WildcardOperand(boolean) - Constructor for class net.coderazzi.filters.parser.Parser.WildcardOperand
Constructor for equal/unequal simple regular expression.
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links