Interface TableConfiguration
-
- All Known Implementing Classes:
TableConfigurationImpl
public interface TableConfigurationA TableConfiguration is used to describe how a table viewer should be configured. Currently all configured TableConfiguration keys are passed down to each column as well. This is subject to change.- Author:
- Mat Hansen
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Set<Feature>ALL_FEATURESAll configurable features.static java.lang.StringDMRData key for a domain model reference.static FeatureFEATURE_COLUMN_FILTERFeature toggle for column filter support.static FeatureFEATURE_COLUMN_HIDE_SHOWFeature toggle for column hide/show support.static FeatureFEATURE_COLUMN_REGEX_FILTERFeature toggle for column regular expression filter support.static Feature[]FEATURESDeprecated.Since 1.21, use the immutableALL_FEATURESset instead of this, which can be modified in place.static java.lang.StringIDTable data configuration key.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispose()Dispose this configuration and all its properties.java.util.Map<java.lang.String,java.lang.Object>getData()Get the underlying data map.java.util.Set<Feature>getEnabledFeatures()Returns a static array of enabled features.
-
-
-
Field Detail
-
FEATURE_COLUMN_HIDE_SHOW
static final Feature FEATURE_COLUMN_HIDE_SHOW
Feature toggle for column hide/show support.
-
FEATURE_COLUMN_FILTER
static final Feature FEATURE_COLUMN_FILTER
Feature toggle for column filter support.
-
FEATURE_COLUMN_REGEX_FILTER
static final Feature FEATURE_COLUMN_REGEX_FILTER
Feature toggle for column regular expression filter support.- Since:
- 1.21
-
ALL_FEATURES
static final java.util.Set<Feature> ALL_FEATURES
All configurable features.- Since:
- 1.21
-
FEATURES
@Deprecated static final Feature[] FEATURES
Deprecated.Since 1.21, use the immutableALL_FEATURESset instead of this, which can be modified in place.All configurable features.
-
ID
static final java.lang.String ID
Table data configuration key.- See Also:
- Constant Field Values
-
DMR
static final java.lang.String DMR
Data key for a domain model reference.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEnabledFeatures
java.util.Set<Feature> getEnabledFeatures()
Returns a static array of enabled features.- Returns:
- array of enabled features.
-
getData
java.util.Map<java.lang.String,java.lang.Object> getData()
Get the underlying data map.- Returns:
- data map object
-
dispose
void dispose()
Dispose this configuration and all its properties.
-
-