T
- type of the underlying row objectpublic class FilterRowDataLayer<T> extends DataLayer
DataLayer
with a custom IDataProvider
which stores/tracks the filter text on columns.
Applies region name of GridRegion.FILTER_ROW
to the filter row.
Persists the filter text to the properties file.Modifier and Type | Field and Description |
---|---|
static String |
FILTER_ROW_COLUMN_LABEL_PREFIX
Prefix of the column label applied to each column in the filter row
|
static String |
PERSISTENCE_KEY_FILTER_ROW_TOKENS
Prefix for the persistence key in the properties file
|
dataProvider, DEFAULT_COLUMN_WIDTH, DEFAULT_ROW_HEIGHT, PERSISTENCE_KEY_COLUMN_WIDTH, PERSISTENCE_KEY_ROW_HEIGHT
layerPainter
DOT, VALUE_SEPARATOR
Constructor and Description |
---|
FilterRowDataLayer(IFilterStrategy<T> filterStrategy,
ILayer columnHeaderLayer,
IDataProvider columnHeaderDataProvider,
IConfigRegistry configRegistry) |
Modifier and Type | Method and Description |
---|---|
boolean |
doCommand(ILayerCommand command)
Opportunity to respond to a command as it flows down the stack.
|
LabelStack |
getConfigLabelsByPosition(int columnPosition,
int rowPosition) |
FilterRowDataProvider<T> |
getFilterRowDataProvider() |
getColumnCount, getColumnIndexByPosition, getColumnPositionByIndex, getColumnPositionByX, getColumnWidthByPosition, getDataProvider, getDataValueByPosition, getHeight, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByIndex, getRowPositionByY, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, isColumnPercentageSizing, isColumnPositionResizable, isRowPercentageSizing, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, registerCommandHandlers, saveState, setColumnPercentageSizing, setColumnPositionResizable, setColumnsResizableByDefault, setColumnWidthByPosition, setColumnWidthPercentageByPosition, setDataProvider, setDefaultColumnWidth, setDefaultColumnWidthByPosition, setDefaultRowHeight, setDefaultRowHeightByPosition, setRowHeightByPosition, setRowHeightPercentageByPosition, setRowPercentageSizing, setRowPositionResizable, setRowsResizableByDefault, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions
addConfiguration, addLayerListener, clearConfiguration, configure, dispose, fireLayerEvent, getBoundsByPosition, getCellByPosition, getCellPainter, getClientAreaProvider, getConfigLabelAccumulator, getDisplayModeByPosition, getLayerPainter, getRegionLabelsByXY, getRegionName, handleLayerEvent, hasLayerListener, registerCommandHandler, registerEventHandler, registerPersistable, removeLayerListener, setClientAreaProvider, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterPersistable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addLayerListener, configure, dispose, fireLayerEvent, getBoundsByPosition, getCellByPosition, getCellPainter, getClientAreaProvider, getDisplayModeByPosition, getLayerPainter, getRegionLabelsByXY, hasLayerListener, registerCommandHandler, registerPersistable, removeLayerListener, setClientAreaProvider, unregisterCommandHandler, unregisterPersistable
handleLayerEvent
public static final String FILTER_ROW_COLUMN_LABEL_PREFIX
public static final String PERSISTENCE_KEY_FILTER_ROW_TOKENS
public FilterRowDataLayer(IFilterStrategy<T> filterStrategy, ILayer columnHeaderLayer, IDataProvider columnHeaderDataProvider, IConfigRegistry configRegistry)
public FilterRowDataProvider<T> getFilterRowDataProvider()
public boolean doCommand(ILayerCommand command)
ILayer
ILayerCommand.convertToTargetLayer(ILayer)
public LabelStack getConfigLabelsByPosition(int columnPosition, int rowPosition)
getConfigLabelsByPosition
in interface ILayer
getConfigLabelsByPosition
in class AbstractLayer
Copyright © 2013. All Rights Reserved.