public class FilterSettings extends 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 Color |
backgroundColor
Header's background color.
|
static Class<? extends CustomChoiceDecorator> |
customChoiceDecoratorClass
|
static String |
dateFormat
The default date format, used on the default filter model.
|
static Color |
disabledBackgroundColor
Header's disabled color.
|
static Color |
disabledColor
Header's disabled color.
|
static 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 Font |
font
Header's font.
|
static Color |
foregroundColor
Header's foreground color.
|
static 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 Icon |
matchEmptyFilterIcon
The default icon used to represent null/empty values.
|
static 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 Class<? extends IParserModel> |
parserModelClass
The class defining the generic
IParserModel It must have a default constructor. It corresponds to the property ParserModel.class |
static String |
PROPERTIES_PREFIX
Properties must be defined with this prefix.
|
static Color |
selectionBackgroundColor
Header's selection background color.
|
static Color |
selectionColor
Header's selection color.
|
static Color |
selectionForegroundColor
Header's selection foreground color.
|
static 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 String PROPERTIES_PREFIX
public static boolean adaptiveChoices
public static AutoChoices autoChoices
public static boolean autoCompletion
public static boolean autoSelection
public static Color backgroundColor
public static Class<? extends CustomChoiceDecorator> customChoiceDecoratorClass
public static String dateFormat
public static Color disabledBackgroundColor
public static Color disabledColor
public static Color errorColor
public static boolean filterOnUpdates
public static int filterRowHeightDelta
public static Font font
public static Color foregroundColor
public static 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 Icon matchEmptyFilterIcon
public static 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 Class<? extends IParserModel> parserModelClass
IParserModel
public static Color selectionBackgroundColor
public static Color selectionColor
public static Color selectionForegroundColor
public static Color warningColor
public static IParserModel newParserModel()
public static CustomChoiceDecorator newCustomChoiceDecorator()