org.eclipse.nebula.widgets.nattable.grid.data
Class DefaultColumnHeaderDataProvider
java.lang.Object
org.eclipse.nebula.widgets.nattable.grid.data.DefaultColumnHeaderDataProvider
- All Implemented Interfaces:
- IDataProvider
public class DefaultColumnHeaderDataProvider
- extends Object
- implements IDataProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultColumnHeaderDataProvider
public DefaultColumnHeaderDataProvider(String[] columnLabels)
DefaultColumnHeaderDataProvider
public DefaultColumnHeaderDataProvider(String[] propertyNames,
Map<String,String> propertyToLabelMap)
getColumnHeaderLabel
public String getColumnHeaderLabel(int columnIndex)
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interface IDataProvider
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface IDataProvider
getDataValue
public Object getDataValue(int columnIndex,
int rowIndex)
- This class does not support multiple rows in the column header layer.
- Specified by:
getDataValue
in interface IDataProvider
- Returns:
- the data value associated with the specified cell
setDataValue
public void setDataValue(int columnIndex,
int rowIndex,
Object newValue)
- Description copied from interface:
IDataProvider
- Sets the value at the given column and row index. Optional operation.
Should throw UnsupportedOperationException if this operation is not
supported.
- Specified by:
setDataValue
in interface IDataProvider
Copyright © 2015. All rights reserved.