public class GlazedListsGridLayer<T> extends GridLayer
CompositeLayer.CompositeLayerPainter
layerPainter
DOT, VALUE_SEPARATOR
Constructor and 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)
The underlying
DataLayer created is able to handle Events raised by GlazedLists
and fire corresponding NatTable events. |
Modifier and Type | Method and Description |
---|---|
DataLayer |
getBodyDataLayer() |
ListDataProvider<T> |
getBodyDataProvider() |
DefaultBodyLayerStack |
getBodyLayerStack() |
DataLayer |
getColumnHeaderDataLayer() |
ColumnOverrideLabelAccumulator |
getColumnLabelAccumulator() |
GlazedListsEventLayer<T> |
getGlazedListsEventLayer() |
void |
setClientAreaProvider(IClientAreaProvider clientAreaProvider) |
doCommand, doCommandOnChildLayers, getBodyLayer, getColumnHeaderLayer, getCornerLayer, getRowHeaderLayer, init, registerCommandHandlers, setBodyLayer, setColumnHeaderLayer, setCornerLayer, setRowHeaderLayer, toString
addConfigLabelAccumulatorForRegion, configure, dispose, getBoundsByPosition, getCellByPosition, getCellPainter, getChildLayerByLayoutCoordinate, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnPositionOffset, getColumnWidthByPosition, getConfigLabelAccumulatorByRegionName, getConfigLabelsByPosition, getDataValueByPosition, getDisplayModeByPosition, getHeight, getHeightOffset, getLayerPainter, getLayoutXByColumnPosition, getLayoutXByPixelX, getLayoutXYByChildLayer, getLayoutXYByPixelXY, getLayoutXYByPosition, getLayoutYByPixelY, getLayoutYByRowPosition, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByY, getRowPositionOffset, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, getWidthOffset, isColumnPositionResizable, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, saveState, setChildLayer, setConfigLabelAccumulatorForRegion, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions
addConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getClientAreaProvider, getConfigLabelAccumulator, getRegionName, handleLayerEvent, hasLayerListener, registerCommandHandler, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, unregisterCommandHandler, unregisterPersistable
public GlazedListsGridLayer(ca.odell.glazedlists.EventList<T> eventList, String[] propertyNames, Map<String,String> propertyToLabelMap, IConfigRegistry configRegistry)
public GlazedListsGridLayer(ca.odell.glazedlists.EventList<T> eventList, String[] propertyNames, Map<String,String> propertyToLabelMap, IConfigRegistry configRegistry, boolean useDefaultConfiguration)
DataLayer
created is able to handle Events raised by GlazedLists
and fire corresponding NatTable events.
The SortHeaderLayer
triggers sorting on the the underlying SortedList when
a SortColumnCommand
is received.public ColumnOverrideLabelAccumulator getColumnLabelAccumulator()
public void setClientAreaProvider(IClientAreaProvider clientAreaProvider)
setClientAreaProvider
in interface ILayer
setClientAreaProvider
in class AbstractLayer
public DataLayer getBodyDataLayer()
public ListDataProvider<T> getBodyDataProvider()
public DataLayer getColumnHeaderDataLayer()
public DefaultBodyLayerStack getBodyLayerStack()
public GlazedListsEventLayer<T> getGlazedListsEventLayer()
Copyright © 2013. All Rights Reserved.