public class DefaultSummaryRowHeaderDataProvider extends DefaultRowHeaderDataProvider implements IDataProvider
IDataProvider to use for the RowHeaderLayer if the
SummaryRowLayer is present in the body layer stack. This adds an
extra row to the row header for displaying the summary row.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SUMMARY_ROW_LABEL |
bodyDataProvider| Constructor and Description |
|---|
DefaultSummaryRowHeaderDataProvider(IDataProvider bodyDataProvider) |
DefaultSummaryRowHeaderDataProvider(IDataProvider bodyDataProvider,
String summaryRowLabel) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDataValue(int columnIndex,
int rowIndex)
Gets the value at the given column and row index.
|
int |
getRowCount() |
getColumnCount, setDataValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumnCount, setDataValuepublic static final String DEFAULT_SUMMARY_ROW_LABEL
public DefaultSummaryRowHeaderDataProvider(IDataProvider bodyDataProvider)
public DefaultSummaryRowHeaderDataProvider(IDataProvider bodyDataProvider, String summaryRowLabel)
summaryRowLabel - label to display in the row header for the Summary Rowpublic int getRowCount()
getRowCount in interface IDataProvidergetRowCount in class DefaultRowHeaderDataProviderIDataProvider handles.public Object getDataValue(int columnIndex, int rowIndex)
IDataProvidergetDataValue in interface IDataProvidergetDataValue in class DefaultRowHeaderDataProvidercolumnIndex - The column index of the cell whose value is requested.rowIndex - The row index of the cell whose value is requested.Copyright © 2017. All rights reserved.