Class GlazedListsGridLayer<T>
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.layer.AbstractLayer
-
- org.eclipse.nebula.widgets.nattable.layer.CompositeLayer
-
- org.eclipse.nebula.widgets.nattable.grid.layer.GridLayer
-
- org.eclipse.nebula.widgets.nattable.examples.fixtures.GlazedListsGridLayer<T>
-
- All Implemented Interfaces:
ILayer
,ILayerListener
,IPersistable
public class GlazedListsGridLayer<T> extends GridLayer
Factory for assembling GridLayer and the child layers - with support for GlazedLists and sorting- See Also:
- http://publicobject.com/ glazedlists/
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.nebula.widgets.nattable.layer.CompositeLayer
CompositeLayer.CompositeLayerPainter
-
-
Field Summary
-
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 GlazedListsGridLayer(ca.odell.glazedlists.EventList<T> eventList, String[] propertyNames, Map<String,String> propertyToLabelMap, IConfigRegistry configRegistry)
GlazedListsGridLayer(ca.odell.glazedlists.EventList<T> eventList, String[] propertyNames, Map<String,String> propertyToLabelMap, IConfigRegistry configRegistry, boolean useDefaultConfiguration)
GlazedListsGridLayer(ca.odell.glazedlists.EventList<T> eventList, IColumnPropertyAccessor<T> columnPropertyAccessor, IDataProvider columnHeaderDataProvider, IConfigRegistry configRegistry, boolean useDefaultConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataLayer
getBodyDataLayer()
ListDataProvider<T>
getBodyDataProvider()
DefaultBodyLayerStack
getBodyLayerStack()
GlazedListsColumnHeaderLayerStack<T>
getColumnHeaderLayerStack()
ColumnOverrideLabelAccumulator
getColumnLabelAccumulator()
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.grid.layer.GridLayer
doCommand, doCommandOnChildLayers, getBodyLayer, getColumnHeaderLayer, getCornerLayer, getRowHeaderLayer, init, registerCommandHandlers, setBodyLayer, setColumnHeaderLayer, setCornerLayer, setRowHeaderLayer, toString
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.CompositeLayer
addConfigLabelAccumulatorForRegion, configure, dispose, getBoundsByPosition, getCellByPosition, getCellPainter, getChildLayerByLayoutCoordinate, getChildLayerByRegionName, getChildLayerLayout, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnPositionOffset, getColumnWidthByPosition, getConfigLabelAccumulatorByRegionName, getConfigLabelsByPosition, getDataValueByPosition, getDisplayModeByPosition, getHeight, getHeightOffset, getLayoutXByColumnPosition, getLayoutXByPixelX, getLayoutXCount, getLayoutXYByChildLayer, getLayoutXYByPixelXY, getLayoutXYByPosition, getLayoutYByPixelY, getLayoutYByRowPosition, getLayoutYCount, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getProvidedLabels, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByY, getRowPositionOffset, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, getWidthOffset, isColumnPositionResizable, isDynamicSizeLayer, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, saveState, setChildLayer, setConfigLabelAccumulatorForRegion, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayer
addConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getClientAreaProvider, getConfigLabelAccumulator, getLayerPainter, getRegionName, handleLayerEvent, hasLayerListener, registerCommandHandler, registerEventHandler, registerPersistable, removeLayerListener, setClientAreaProvider, setConfigLabelAccumulator, setLayerPainter, setRegionName, unregisterCommandHandler, unregisterEventHandler, unregisterPersistable
-
-
-
-
Constructor Detail
-
GlazedListsGridLayer
public GlazedListsGridLayer(ca.odell.glazedlists.EventList<T> eventList, String[] propertyNames, Map<String,String> propertyToLabelMap, IConfigRegistry configRegistry)
-
GlazedListsGridLayer
public GlazedListsGridLayer(ca.odell.glazedlists.EventList<T> eventList, String[] propertyNames, Map<String,String> propertyToLabelMap, IConfigRegistry configRegistry, boolean useDefaultConfiguration)
-
GlazedListsGridLayer
public GlazedListsGridLayer(ca.odell.glazedlists.EventList<T> eventList, IColumnPropertyAccessor<T> columnPropertyAccessor, IDataProvider columnHeaderDataProvider, IConfigRegistry configRegistry, boolean useDefaultConfiguration)
-
-
Method Detail
-
getColumnLabelAccumulator
public ColumnOverrideLabelAccumulator getColumnLabelAccumulator()
-
getBodyDataLayer
public DataLayer getBodyDataLayer()
-
getBodyDataProvider
public ListDataProvider<T> getBodyDataProvider()
-
getColumnHeaderLayerStack
public GlazedListsColumnHeaderLayerStack<T> getColumnHeaderLayerStack()
-
getBodyLayerStack
public DefaultBodyLayerStack getBodyLayerStack()
-
-