public class FilterSettings
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
adaptiveChoices
Whether to enable adaptive choices, true by default.
|
static boolean |
allowInstantVanishing
Whether to allow vanishing during instant filtering, false by default.
|
static AutoChoices |
autoChoices
If and how to provide content to the editor field's choices.
|
static boolean |
autoCompletion
Whether to enable auto completion, true by default.
|
static boolean |
autoSelection
Set to true to perform automatically the selection of a row that is
uniquely identified by the existing filter.
|
static java.awt.Color |
backgroundColor
Header's background color.
|
static java.lang.Class<? extends CustomChoiceDecorator> |
customChoiceDecoratorClass
|
static java.lang.String |
dateFormat
The default date format, used on the default filter model.
|
static java.awt.Color |
disabledBackgroundColor
Header's disabled color.
|
static java.awt.Color |
disabledColor
Header's disabled color.
|
static java.awt.Color |
errorColor
Header's error color.
|
static boolean |
filterOnUpdates
If true, table updates trigger filter and sort updates.
|
static int |
filterRowHeightDelta
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. |
static java.awt.Font |
font
Header's font.
|
static java.awt.Color |
foregroundColor
Header's foreground color.
|
static java.awt.Color |
gridColor
Header's grid color.
|
static TableFilterHeader.Position |
headerPosition
The header position,
TableFilterHeader.Position.INLINE by default. |
static boolean |
hidePopupsOnTableUpdates
Set to true to automatically hide any filter popups during table updates.
|
static boolean |
ignoreCase
Whether to ignore case or not, false by default (case sensitive).
|
static boolean |
instantFiltering
Whether to enable instant filtering, true by default.
|
static javax.swing.Icon |
matchEmptyFilterIcon
The default icon used to represent null/empty values.
|
static java.lang.String |
matchEmptyFilterString
The default string associated to a nop operation.
|
static int |
maxPopupHistory
The maximum size of the history when no choices are present.
|
static int |
maxVisiblePopupRows
The maximum number of visible tows on the popup menus.
|
static java.lang.Class<? extends IParserModel> |
parserModelClass
The class defining the generic
IParserModelIt must have a default constructor. It corresponds to the property ParserModel.class |
static java.lang.String |
PROPERTIES_PREFIX
Properties must be defined with this prefix.
|
static java.awt.Color |
selectionBackgroundColor
Header's selection background color.
|
static java.awt.Color |
selectionColor
Header's selection color.
|
static java.awt.Color |
selectionForegroundColor
Header's selection foreground color.
|
static java.awt.Color |
warningColor
Header's warning color.
|
| Constructor and Description |
|---|
FilterSettings() |
| Modifier and Type | Method and Description |
|---|---|
static CustomChoiceDecorator |
newCustomChoiceDecorator()
Creates a CustomChoiceDecorator as defined by default.
|
static IParserModel |
newParserModel()
Creates a TextParser as defined by default.
|
public static final java.lang.String PROPERTIES_PREFIX
public static boolean adaptiveChoices
public static AutoChoices autoChoices
public static boolean autoCompletion
public static boolean autoSelection
public static java.awt.Color backgroundColor
public static java.lang.Class<? extends CustomChoiceDecorator> customChoiceDecoratorClass
public static java.lang.String dateFormat
public static java.awt.Color disabledBackgroundColor
public static java.awt.Color disabledColor
public static java.awt.Color errorColor
public static boolean filterOnUpdates
public static int filterRowHeightDelta
public static java.awt.Font font
public static java.awt.Color foregroundColor
public static java.awt.Color gridColor
public static TableFilterHeader.Position headerPosition
TableFilterHeader.Position.INLINE by default.public static boolean hidePopupsOnTableUpdates
public static boolean ignoreCase
public static boolean instantFiltering
public static boolean allowInstantVanishing
public static javax.swing.Icon matchEmptyFilterIcon
public static java.lang.String matchEmptyFilterString
It is chosen as = because that is the expression that the default text parser can use to find null/empty values. If any other parse is chosen, it could be meaningful to update this string.
public static int maxPopupHistory
public static int maxVisiblePopupRows
public static java.lang.Class<? extends IParserModel> parserModelClass
IParserModelpublic static java.awt.Color selectionBackgroundColor
public static java.awt.Color selectionColor
public static java.awt.Color selectionForegroundColor
public static java.awt.Color warningColor
public static IParserModel newParserModel()
public static CustomChoiceDecorator newCustomChoiceDecorator()
Copyright © 2019 coderazzi. All Rights Reserved.