org.eclipse.nebula.widgets.nattable.layer
Class SpanningDataLayer
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.AbstractLayer
org.eclipse.nebula.widgets.nattable.layer.DataLayer
org.eclipse.nebula.widgets.nattable.layer.SpanningDataLayer
- All Implemented Interfaces:
- ILayer, ILayerListener, IUniqueIndexLayer, IPersistable
public class SpanningDataLayer
- extends DataLayer
| Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.DataLayer |
doCommand, getColumnCount, getColumnIndexByPosition, getColumnPositionByIndex, getColumnPositionByX, getColumnWidthByPosition, getDataValue, getDataValueByPosition, getDefaultColumnWidth, getDefaultRowHeight, getHeight, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByIndex, getRowPositionByY, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, isColumnPercentageSizing, isColumnPercentageSizing, isColumnPositionResizable, isRowPercentageSizing, isRowPercentageSizing, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, registerCommandHandlers, saveState, setColumnPercentageSizing, setColumnPercentageSizing, setColumnPositionResizable, setColumnsResizableByDefault, setColumnWidthByPosition, setColumnWidthByPosition, setColumnWidthPercentageByPosition, setDataProvider, setDataValueByPosition, setDefaultColumnWidth, setDefaultColumnWidthByPosition, setDefaultRowHeight, setDefaultRowHeightByPosition, setRowHeightByPosition, setRowHeightByPosition, setRowHeightPercentageByPosition, setRowPercentageSizing, setRowPercentageSizing, setRowPositionResizable, setRowsResizableByDefault, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions |
| Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayer |
addConfiguration, addLayerListener, clearConfiguration, configure, dispose, fireLayerEvent, getCellPainter, getClientAreaProvider, getConfigLabelAccumulator, getConfigLabelsByPosition, getDisplayModeByPosition, getLayerPainter, getRegionLabelsByXY, getRegionName, handleLayerEvent, hasLayerListener, registerCommandHandler, registerEventHandler, registerPersistable, removeLayerListener, setClientAreaProvider, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterEventHandler, unregisterPersistable |
| Methods inherited from interface org.eclipse.nebula.widgets.nattable.layer.ILayer |
addLayerListener, configure, dispose, fireLayerEvent, getCellPainter, getClientAreaProvider, getConfigLabelsByPosition, getDisplayModeByPosition, getLayerPainter, getRegionLabelsByXY, hasLayerListener, registerCommandHandler, registerPersistable, removeLayerListener, setClientAreaProvider, unregisterCommandHandler, unregisterPersistable |
SpanningDataLayer
public SpanningDataLayer(ISpanningDataProvider dataProvider)
SpanningDataLayer
public SpanningDataLayer(ISpanningDataProvider dataProvider,
int defaultColumnWidth,
int defaultRowHeight)
SpanningDataLayer
protected SpanningDataLayer()
SpanningDataLayer
protected SpanningDataLayer(int defaultColumnWidth,
int defaultRowHeight)
getDataProvider
public ISpanningDataProvider getDataProvider()
- Overrides:
getDataProvider in class DataLayer
getCellByPosition
public ILayerCell getCellByPosition(int columnPosition,
int rowPosition)
- Specified by:
getCellByPosition in interface ILayer- Overrides:
getCellByPosition in class AbstractLayer
getBoundsByPosition
public org.eclipse.swt.graphics.Rectangle getBoundsByPosition(int columnPosition,
int rowPosition)
- Description copied from interface:
ILayer
- Calculates the bounds in pixel for the given cell position.
- Specified by:
getBoundsByPosition in interface ILayer- Overrides:
getBoundsByPosition in class AbstractLayer
- Parameters:
columnPosition - the column position of the cellrowPosition - the row position of the cell
- Returns:
- the bounds, or
null if there are no valid bounds
setDataValue
public void setDataValue(int columnIndex,
int rowIndex,
Object newValue)
- Description copied from class:
DataLayer
- Sets the value at the given column and row index. Optional operation.
Should throw UnsupportedOperationException if this operation is not
supported.
- Overrides:
setDataValue in class DataLayer
Copyright © 2015. All rights reserved.