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

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
 
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.
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
 
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.
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
Whether to automatically fill with content the editor field's choices.
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.

C

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
 
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.
createParser(IFilterEditor) - Method in interface net.coderazzi.filters.gui.IParserModel
Creates a text parser for the given editor.
createParser(IFilterEditor) - Method in class net.coderazzi.filters.gui.ParserModel
 
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.
CustomChoiceDecorator.DefaultDecorator() - Constructor for class net.coderazzi.filters.gui.CustomChoiceDecorator.DefaultDecorator
 
customChoiceDecoratorClass - 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

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
 
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.

E

enableNotifications(boolean) - Method in class net.coderazzi.filters.gui.FiltersHandler
Temporarily enable/disable notifications to the observers, including the registered JTable.
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
 

F

Filter - Class in net.coderazzi.filters
Commodity class implementing the interface IFilter on a RowFilter.
Filter() - Constructor for class net.coderazzi.filters.Filter
 
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
 
filterUpdated(IFilter) - Method in interface net.coderazzi.filters.IFilterObserver
Notification made by the observer when the associated IFilter instance updates the held filter.
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

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
 
getBeanDescriptor() - Method in class net.coderazzi.filters.gui.TableFilterHeaderBeanInfo
 
getComparator() - Method in interface net.coderazzi.filters.gui.IFilterEditor
Returns the associated Comparator, which can nver be 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
 
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.
getDisabledBackground() - Method in class net.coderazzi.filters.gui.Look
 
getDisabledBackground() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the background color used for disabled fields.
getDisabledForeground() - Method in class net.coderazzi.filters.gui.Look
 
getDisabledForeground() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the color used for disabled fields.
getEditor(int) - Method in class net.coderazzi.filters.gui.FiltersHandler
 
getEditors() - Method in class net.coderazzi.filters.gui.FiltersHandler
 
getErrorForeground() - Method in class net.coderazzi.filters.gui.Look
 
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
 
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
 
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 ParserModel.StringTypeFormat for the given class.
getGridColor() - Method in class net.coderazzi.filters.gui.Look
 
getGridColor() - Method in class net.coderazzi.filters.gui.TableFilterHeader
.
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
 
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
 
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
 
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.
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.
getSelectionBackground() - Method in class net.coderazzi.filters.gui.Look
 
getSelectionBackground() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the color set by default as foreground on selected filters
getSelectionForeground() - Method in class net.coderazzi.filters.gui.Look
 
getSelectionForeground() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the color set by default as foreground on selected filters
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
 
getTextSelectionColor() - Method in class net.coderazzi.filters.gui.TableFilterHeader
Returns the color set by default as text selection on filters
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.

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
 
IParser - Interface in net.coderazzi.filters
Interface defining the requirements on text parsing for filter expressions.
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.
isAutoSelection() - Method in class net.coderazzi.filters.gui.FiltersHandler
Returns the autoselection mode.
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.
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
 

L

Look - Class in net.coderazzi.filters.gui
Class representing the current TableFilterHeader appearance.
Look() - Constructor for class net.coderazzi.filters.gui.Look
 

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

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
 
ParserModel - Class in net.coderazzi.filters.gui
Default ParserModel.StringTypeFormat 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.BooleanTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.BooleanTypeFormat
 
ParserModel.ByteTypeFormat - Class in net.coderazzi.filters.gui
Factory to build byte objects.
ParserModel.ByteTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.ByteTypeFormat
 
ParserModel.CharacterTypeFormat - Class in net.coderazzi.filters.gui
Factory to build character objects.
ParserModel.CharacterTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.CharacterTypeFormat
 
ParserModel.DoubleTypeFormat - Class in net.coderazzi.filters.gui
Factory to build double objects.
ParserModel.DoubleTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.DoubleTypeFormat
 
ParserModel.EnumTypeFormat - Class in net.coderazzi.filters.gui
Factory to build character objects.
ParserModel.EnumTypeFormat(Class<? extends Enum>) - Constructor for class net.coderazzi.filters.gui.ParserModel.EnumTypeFormat
 
ParserModel.FloatTypeFormat - Class in net.coderazzi.filters.gui
Factory to build float objects.
ParserModel.FloatTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.FloatTypeFormat
 
ParserModel.IntegerTypeFormat - Class in net.coderazzi.filters.gui
Factory to build integer objects.
ParserModel.IntegerTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.IntegerTypeFormat
 
ParserModel.LongTypeFormat - Class in net.coderazzi.filters.gui
Factory to build long objects.
ParserModel.LongTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.LongTypeFormat
 
ParserModel.ShortTypeFormat - Class in net.coderazzi.filters.gui
Factory to build short objects.
ParserModel.ShortTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.ShortTypeFormat
 
ParserModel.StringTypeFormat - Class in net.coderazzi.filters.gui
Factory to build string objects.
ParserModel.StringTypeFormat() - Constructor for class net.coderazzi.filters.gui.ParserModel.StringTypeFormat
 
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
 
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.

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
 
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 an existing editor.
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
 
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.
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, setting the AutoChoices automatically changes the editable flag: it is set to true for DISABLED values, false otherwise.
setAutoChoices(AutoChoices) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the auto choices flag.
setAutoSelection(boolean) - Method in class net.coderazzi.filters.gui.FiltersHandler
Sets the autoselection mode
setBackground(Color) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the background color used by the parsed-based editors.
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.
It is initially retrieved from the IParserModel, and set also in the underlying TableRowSorter associated to the table.
Setting a comparator to null resets the used comparator (i.e: the comparator is never null)
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 fields.
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.
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 ParserModel.StringTypeFormat for the given class.
setGridColor(Color) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Sets the color used to draw the header's grid.
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
 
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
 
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
Defines the behaviour of the header concerning its position related to the table.
setRenderer(ChoiceRenderer) - Method in interface net.coderazzi.filters.gui.IFilterEditor
Sets the ChoiceRenderer for the choices / history.
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.
setVisible(boolean) - Method in class net.coderazzi.filters.gui.TableFilterHeader
Hides / makes visible the header.

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
Constructor; the object is functional after a table is attached.
TableFilterHeader(JTable) - Constructor for class net.coderazzi.filters.gui.TableFilterHeader
Basic constructor, using default IParserModel.
TableFilterHeader(JTable, IParserModel) - 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
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.
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.

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

Copyright © 2011 coderazzi. All Rights Reserved.