org.eclipse.nebula.widgets.nattable.grid.data
Class FixedSummaryRowHeaderLayer
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.AbstractLayer
org.eclipse.nebula.widgets.nattable.grid.layer.DimensionallyDependentLayer
org.eclipse.nebula.widgets.nattable.grid.layer.RowHeaderLayer
org.eclipse.nebula.widgets.nattable.grid.data.FixedSummaryRowHeaderLayer
- All Implemented Interfaces:
- ILayer, ILayerListener, IPersistable
public class FixedSummaryRowHeaderLayer
- extends RowHeaderLayer
Using this specialization of RowHeaderLayer
adds support for
configuring a fixed SummaryRowLayer
in the body region of a grid.
Methods inherited from class org.eclipse.nebula.widgets.nattable.grid.layer.DimensionallyDependentLayer |
configure, doCommand, getBaseLayer, getClientAreaProvider, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnWidthByPosition, 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 |
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayer |
addConfiguration, addLayerListener, clearConfiguration, dispose, fireLayerEvent, getBoundsByPosition, getCellByPosition, getCellPainter, getConfigLabelAccumulator, getRegionName, handleLayerEvent, hasLayerListener, registerCommandHandler, registerCommandHandlers, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterEventHandler, unregisterPersistable |
DEFAULT_SUMMARY_ROW_LABEL
public static final String DEFAULT_SUMMARY_ROW_LABEL
- See Also:
- Constant Field Values
summaryRowLabel
protected String summaryRowLabel
FixedSummaryRowHeaderLayer
public FixedSummaryRowHeaderLayer(IUniqueIndexLayer baseLayer,
ILayer verticalLayerDependency,
SelectionLayer selectionLayer)
FixedSummaryRowHeaderLayer
public FixedSummaryRowHeaderLayer(IUniqueIndexLayer baseLayer,
ILayer verticalLayerDependency,
SelectionLayer selectionLayer,
boolean useDefaultConfiguration)
FixedSummaryRowHeaderLayer
public FixedSummaryRowHeaderLayer(IUniqueIndexLayer baseLayer,
ILayer verticalLayerDependency,
SelectionLayer selectionLayer,
boolean useDefaultConfiguration,
ILayerPainter layerPainter)
getDataValueByPosition
public Object getDataValueByPosition(int columnPosition,
int rowPosition)
- Specified by:
getDataValueByPosition
in interface ILayer
- Overrides:
getDataValueByPosition
in class DimensionallyDependentLayer
getConfigLabelsByPosition
public LabelStack getConfigLabelsByPosition(int columnPosition,
int rowPosition)
- Specified by:
getConfigLabelsByPosition
in interface ILayer
- Overrides:
getConfigLabelsByPosition
in class RowHeaderLayer
getSummaryRowLabel
public String getSummaryRowLabel()
- Returns:
- The label that is used as data value for the horizontal dependent
cell to the row header column.
setSummaryRowLabel
public void setSummaryRowLabel(String summaryRowLabel)
- Parameters:
summaryRowLabel
- The label that should be used as data value for the horizontal
dependent cell to the row header column.
Copyright © 2015. All rights reserved.