public class RowHeaderLayer extends DimensionallyDependentLayer
layerPainterDOT, 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, underlyingToLocalRowPositionsaddConfiguration, addLayerListener, clearConfiguration, dispose, fireLayerEvent, getBoundsByPosition, getCellByPosition, getCellPainter, getConfigLabelAccumulator, getRegionName, handleLayerEvent, hasLayerListener, registerCommandHandler, registerCommandHandlers, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterPersistablepublic 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 ILayergetDisplayModeByPosition in class DimensionallyDependentLayercolumnPosition - 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 ILayergetConfigLabelsByPosition in class DimensionallyDependentLayerCopyright © 2013. All Rights Reserved.