public class DefaultColumnHeaderDataProvider extends Object implements IDataProvider
Constructor and Description |
---|
DefaultColumnHeaderDataProvider(String[] columnLabels) |
DefaultColumnHeaderDataProvider(String[] propertyNames,
Map<String,String> propertyToLabelMap) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
String |
getColumnHeaderLabel(int columnIndex) |
Object |
getDataValue(int columnIndex,
int rowIndex)
This class does not support multiple rows in the column header layer.
|
int |
getRowCount() |
void |
setDataValue(int columnIndex,
int rowIndex,
Object newValue)
Sets the value at the given column and row index.
|
public DefaultColumnHeaderDataProvider(String[] columnLabels)
public String getColumnHeaderLabel(int columnIndex)
public int getColumnCount()
getColumnCount
in interface IDataProvider
public int getRowCount()
getRowCount
in interface IDataProvider
public Object getDataValue(int columnIndex, int rowIndex)
getDataValue
in interface IDataProvider
public void setDataValue(int columnIndex, int rowIndex, Object newValue)
IDataProvider
setDataValue
in interface IDataProvider
Copyright © 2013. All Rights Reserved.