Class GlazedListsColumnHeaderLayerStack<T>
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.layer.AbstractLayer
-
- org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
-
- org.eclipse.nebula.widgets.nattable.examples.fixtures.GlazedListsColumnHeaderLayerStack<T>
-
- All Implemented Interfaces:
ILayer
,ILayerListener
,IPersistable
public class GlazedListsColumnHeaderLayerStack<T> extends AbstractLayerTransform
Column header layer stack, with aSortHeaderLayer
. UtilizesGlazedListsSortModel
for sorting
-
-
Field Summary
-
Fields inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
underlyingLayer
-
Fields inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayer
commandHandlers, eventHandlers, eventHelperLock, layerPainter
-
Fields inherited from interface org.eclipse.nebula.widgets.nattable.persistence.IPersistable
DOT, VALUE_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description GlazedListsColumnHeaderLayerStack(String[] propertyNames, Map<String,String> propertyToLabelMap, ca.odell.glazedlists.SortedList<T> sortedList, IColumnPropertyAccessor<T> columnPropertyAccessor, IConfigRegistry configRegistry, DefaultBodyLayerStack bodyLayerStack)
GlazedListsColumnHeaderLayerStack(IDataProvider dataProvider, ca.odell.glazedlists.SortedList<T> sortedList, IColumnPropertyAccessor<T> columnPropertyAccessor, IConfigRegistry configRegistry, DefaultBodyLayerStack bodyLayerStack)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnHeaderLayer
getColumnHeaderLayer()
DataLayer
getDataLayer()
IDataProvider
getDataProvider()
void
setClientAreaProvider(IClientAreaProvider clientAreaProvider)
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
configure, dispose, doCommand, getCellByPosition, getCellPainter, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnWidthByPosition, getConfigLabelsByPosition, getDataValueByPosition, getDisplayModeByPosition, getHeight, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByY, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayer, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, isColumnPositionResizable, isDynamicSizeLayer, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, saveState, setUnderlyingLayer, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayer
addConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getBoundsByPosition, getClientAreaProvider, getConfigLabelAccumulator, getProvidedLabels, getRegionName, handleLayerEvent, hasLayerListener, registerCommandHandler, registerCommandHandlers, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterEventHandler, unregisterPersistable
-
-
-
-
Constructor Detail
-
GlazedListsColumnHeaderLayerStack
public GlazedListsColumnHeaderLayerStack(String[] propertyNames, Map<String,String> propertyToLabelMap, ca.odell.glazedlists.SortedList<T> sortedList, IColumnPropertyAccessor<T> columnPropertyAccessor, IConfigRegistry configRegistry, DefaultBodyLayerStack bodyLayerStack)
-
GlazedListsColumnHeaderLayerStack
public GlazedListsColumnHeaderLayerStack(IDataProvider dataProvider, ca.odell.glazedlists.SortedList<T> sortedList, IColumnPropertyAccessor<T> columnPropertyAccessor, IConfigRegistry configRegistry, DefaultBodyLayerStack bodyLayerStack)
-
-
Method Detail
-
setClientAreaProvider
public void setClientAreaProvider(IClientAreaProvider clientAreaProvider)
- Specified by:
setClientAreaProvider
in interfaceILayer
- Overrides:
setClientAreaProvider
in classAbstractLayerTransform
- Parameters:
clientAreaProvider
- TheIClientAreaProvider
that specifies the rectangular area available on this layer.
-
getDataLayer
public DataLayer getDataLayer()
-
getDataProvider
public IDataProvider getDataProvider()
-
getColumnHeaderLayer
public ColumnHeaderLayer getColumnHeaderLayer()
-
-