public class RowHeaderLayer extends DimensionallyDependentLayer
layerPainter
DOT, VALUE_SEPARATOR
Constructor and Description |
---|
RowHeaderLayer(IUniqueIndexLayer baseLayer,
ILayer verticalLayerDependency,
SelectionLayer selectionLayer)
Creates a row header layer using the default configuration and painter
|
RowHeaderLayer(IUniqueIndexLayer baseLayer,
ILayer verticalLayerDependency,
SelectionLayer selectionLayer,
boolean useDefaultConfiguration) |
RowHeaderLayer(IUniqueIndexLayer baseLayer,
ILayer verticalLayerDependency,
SelectionLayer selectionLayer,
boolean useDefaultConfiguration,
ILayerPainter layerPainter) |
Modifier and Type | Method and Description |
---|---|
LabelStack |
getConfigLabelsByPosition(int columnPosition,
int rowPosition) |
String |
getDisplayModeByPosition(int columnPosition,
int rowPosition) |
configure, doCommand, getBaseLayer, getClientAreaProvider, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnWidthByPosition, getDataValueByPosition, getHeight, getHorizontalLayerDependency, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByY, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getVerticalLayerDependency, getWidth, isColumnPositionResizable, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, saveState, setClientAreaProvider, setHorizontalLayerDependency, setVerticalLayerDependency, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions
addConfiguration, addLayerListener, clearConfiguration, dispose, fireLayerEvent, getBoundsByPosition, getCellByPosition, getCellPainter, getConfigLabelAccumulator, getRegionName, handleLayerEvent, hasLayerListener, registerCommandHandler, registerCommandHandlers, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterPersistable
public RowHeaderLayer(IUniqueIndexLayer baseLayer, ILayer verticalLayerDependency, SelectionLayer selectionLayer)
baseLayer
- The data provider for this layerverticalLayerDependency
- The layer to link the vertical dimension to, typically the body layerselectionLayer
- The selection layer required to respond to selection eventspublic RowHeaderLayer(IUniqueIndexLayer baseLayer, ILayer verticalLayerDependency, SelectionLayer selectionLayer, boolean useDefaultConfiguration)
public RowHeaderLayer(IUniqueIndexLayer baseLayer, ILayer verticalLayerDependency, SelectionLayer selectionLayer, boolean useDefaultConfiguration, ILayerPainter layerPainter)
baseLayer
- The data provider for this layerverticalLayerDependency
- The layer to link the vertical dimension to, typically the body layerselectionLayer
- The selection layer required to respond to selection eventsuseDefaultConfiguration
- If default configuration should be applied to this layerlayerPainter
- The painter for this layer or null
to use the painter of the base layerpublic String getDisplayModeByPosition(int columnPosition, int rowPosition)
getDisplayModeByPosition
in interface ILayer
getDisplayModeByPosition
in class DimensionallyDependentLayer
columnPosition
- the column position of the cellrowPosition
- the row position of the cellDisplayMode
for the cell at the given position.
The DisplayMode
affects the settings out of the ConfigRegistry
.
Display mode is NORMAL by default.
Example: SelectionLayer
overrides this to return the SELECT
label for cells which are selected.
public LabelStack getConfigLabelsByPosition(int columnPosition, int rowPosition)
getConfigLabelsByPosition
in interface ILayer
getConfigLabelsByPosition
in class DimensionallyDependentLayer
Copyright © 2013. All Rights Reserved.