|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.coderazzi.filters.gui.FilterSettings
public class FilterSettings
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)
Field Summary | |
---|---|
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 Color |
backgroundColor
Header's background color. |
static Class<? extends CustomChoiceDecorator> |
customChoiceDecoratorClass
The class defining the generic IParserModel It must have a default constructor. It corresponds to the property ParserModel.class |
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 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 |
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. |
Constructor Summary | |
---|---|
FilterSettings()
|
Method Summary | |
---|---|
static CustomChoiceDecorator |
newCustomChoiceDecorator()
Creates a CustomChoiceDecorator as defined by default. |
static IParserModel |
newParserModel()
Creates a TextParser as defined by default. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROPERTIES_PREFIX
public static AutoChoices autoChoices
public static boolean autoCompletion
public static Color backgroundColor
public static Class<? extends CustomChoiceDecorator> customChoiceDecoratorClass
IParserModel
public static String dateFormat
public static Color disabledBackgroundColor
public static Color disabledColor
public static Color errorColor
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 ignoreCase
public static boolean instantFiltering
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
Constructor Detail |
---|
public FilterSettings()
Method Detail |
---|
public static IParserModel newParserModel()
public static CustomChoiceDecorator newCustomChoiceDecorator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |