Class ColumnStructureUpdatesExampleGridLayer.ListDataProviderExample<E>
java.lang.Object
org.eclipse.nebula.widgets.nattable.data.ListDataProvider<E>
org.eclipse.nebula.widgets.nattable.examples.fixtures.ColumnStructureUpdatesExampleGridLayer.ListDataProviderExample<E>
- All Implemented Interfaces:
IDataProvider,IRowDataProvider<E>
- Enclosing class:
- ColumnStructureUpdatesExampleGridLayer<T>
public class ColumnStructureUpdatesExampleGridLayer.ListDataProviderExample<E>
extends ListDataProvider<E>
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.nattable.data.ListDataProvider
columnAccessor, list -
Constructor Summary
ConstructorsConstructorDescriptionListDataProviderExample(ca.odell.glazedlists.SortedList<E> sortedList, IColumnPropertyAccessor<E> columnPropertyAccessor) -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.data.ListDataProvider
getDataValue, getList, getRowCount, getRowObject, indexOfRowObject, setDataValue
-
Constructor Details
-
ListDataProviderExample
public ListDataProviderExample(ca.odell.glazedlists.SortedList<E> sortedList, IColumnPropertyAccessor<E> columnPropertyAccessor)
-
-
Method Details
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceIDataProvider- Overrides:
getColumnCountin classListDataProvider<E>- Returns:
- The number of columns this
IDataProviderhandles.
-
setColumnCount
public void setColumnCount(int pColumnCount)
-