Class ColumnStructureUpdatesExampleGridLayer<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.ColumnStructureUpdatesExampleGridLayer<T>
-
- All Implemented Interfaces:
ILayer
,ILayerListener
,IPersistable
public class ColumnStructureUpdatesExampleGridLayer<T> extends GridLayer
Factory for assembling GridLayer and the child layers - with support for GlazedLists- See Also:
- http://publicobject.com/ glazedlists/
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ColumnStructureUpdatesExampleGridLayer.ListDataProviderExample<E>
-
Nested classes/interfaces inherited from class org.eclipse.nebula.widgets.nattable.layer.CompositeLayer
CompositeLayer.CompositeLayerPainter
-
-
Field Summary
Fields Modifier and Type Field Description ColumnStructureUpdatesExampleGridLayer.ListDataProviderExample<T>
bodyDataProvider
-
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 ColumnStructureUpdatesExampleGridLayer(ca.odell.glazedlists.EventList<T> eventList, String[] propertyNames, Map<String,String> propertyToLabelMap, IConfigRegistry configRegistry)
ColumnStructureUpdatesExampleGridLayer(ca.odell.glazedlists.EventList<T> eventList, String[] propertyNames, Map<String,String> propertyToLabelMap, IConfigRegistry configRegistry, boolean useDefaultConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataLayer
getBodyDataLayer()
AbstractLayer
getColumnHeaderDataLayer()
ColumnOverrideLabelAccumulator
getColumnLabelAccumulator()
void
setClientAreaProvider(IClientAreaProvider clientAreaProvider)
-
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, setConfigLabelAccumulator, setLayerPainter, setRegionName, unregisterCommandHandler, unregisterEventHandler, unregisterPersistable
-
-
-
-
Field Detail
-
bodyDataProvider
public ColumnStructureUpdatesExampleGridLayer.ListDataProviderExample<T> bodyDataProvider
-
-
Method Detail
-
getColumnLabelAccumulator
public ColumnOverrideLabelAccumulator getColumnLabelAccumulator()
-
setClientAreaProvider
public void setClientAreaProvider(IClientAreaProvider clientAreaProvider)
- Specified by:
setClientAreaProvider
in interfaceILayer
- Overrides:
setClientAreaProvider
in classAbstractLayer
- Parameters:
clientAreaProvider
- TheIClientAreaProvider
that specifies the rectangular area available on this layer.
-
getBodyDataLayer
public DataLayer getBodyDataLayer()
-
getColumnHeaderDataLayer
public AbstractLayer getColumnHeaderDataLayer()
-
-