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, setDataValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumnCount, setDataValue
public 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 IDataProvider
getRowCount
in class DefaultRowHeaderDataProvider
public Object getDataValue(int columnIndex, int rowIndex)
IDataProvider
getDataValue
in interface IDataProvider
getDataValue
in class DefaultRowHeaderDataProvider
Copyright © 2013. All Rights Reserved.