public class GxFilterBasicDateTime extends GxOptionsDateTime implements GxFilterInterface
The class represents the date time filter
Modifier and Type | Field and Description |
---|---|
BBjNumber | ApplyButton! Set to true to have the filter use an Apply button. If the Apply button is present, then the filter is only applied after the user hits the Apply button. |
BBjNumber | ClearButton! Set to true to have the filter use a Clear button. The Clear button will clear the details of the filter thus resetting it. |
BBjString | DefaultOption! The default Filter Options to be selected. By default it is Equals |
JsonArray | FilterOptions! What Filter Options to present to the user. By default all supported options are presented |
BBjNumber | InRangeInclusive! If true then doing 'inRange' filter option will include values equal to the start and end of the range. |
BBjNumber | RestButton! Set to true to have the filter use a Reset button. The Reset button will clear the details of the filter and any active filters on that column. |
BBjNumber | SuppressAndOrCondition! If true, the filter will only offer Condition 1. |
Constructor and Description |
---|
GxFilterBasicDateTime(BBjString mask!) Construct new GxFilterBasicDateTime |
Modifier and Type | Method and Description |
---|---|
boolean | equals(GxFilterInterface filter!) Compare two filters |
JsonObject | getAsJsonObject() Convert the filter definition to Json Object |
static BBjString | getFilterName() A constant which holds the client filter real name |
public BBjNumber ApplyButton!
Set to true to have the filter use an Apply button. If the Apply button is present, then the filter is only applied after the user hits the Apply button.
public BBjNumber ClearButton!
Set to true to have the filter use a Clear button. The Clear button will clear the details of the filter thus resetting it.
public BBjString DefaultOption!
The default Filter Options to be selected. By default it is Equals
public JsonArray FilterOptions!
What Filter Options to present to the user. By default all supported options are presented
GxColumnFilterDateTimeFilterOptions
public BBjNumber InRangeInclusive!
If true then doing 'inRange' filter option will include values equal to the start and end of the range.
public BBjNumber RestButton!
Set to true to have the filter use a Reset button. The Reset button will clear the details of the filter and any active filters on that column.
public BBjNumber SuppressAndOrCondition!
If true, the filter will only offer Condition 1.
public GxFilterBasicDateTime(BBjString mask!)
Construct new GxFilterBasicDateTime
mask!
BBj date maskpublic boolean equals(GxFilterInterface filter!)
Compare two filters
filter!
- Another filter instance to compare withpublic JsonObject getAsJsonObject()
Convert the filter definition to Json Object
public static BBjString getFilterName()
A constant which holds the client filter real name