public class SpanningDataLayer extends DataLayer
columnWidthConfig, dataProvider, DEFAULT_COLUMN_WIDTH, DEFAULT_ROW_HEIGHT, PERSISTENCE_KEY_COLUMN_WIDTH, PERSISTENCE_KEY_ROW_HEIGHT, rowHeightConfigcommandHandlers, eventHandlers, eventHelperLock, layerPainterDOT, VALUE_SEPARATOR| Modifier | Constructor and Description |
|---|---|
protected |
SpanningDataLayer() |
protected |
SpanningDataLayer(int defaultColumnWidth,
int defaultRowHeight) |
|
SpanningDataLayer(ISpanningDataProvider dataProvider) |
|
SpanningDataLayer(ISpanningDataProvider dataProvider,
int defaultColumnWidth,
int defaultRowHeight) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.swt.graphics.Rectangle |
getBoundsByPosition(int columnPosition,
int rowPosition)
Calculates the bounds in pixel for the given cell position.
|
ILayerCell |
getCellByPosition(int columnPosition,
int rowPosition) |
ISpanningDataProvider |
getDataProvider() |
void |
setDataValue(int columnIndex,
int rowIndex,
Object newValue)
Sets the value at the given column and row index.
|
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, underlyingToLocalRowPositionsaddConfiguration, addLayerListener, clearConfiguration, configure, dispose, fireLayerEvent, getCellPainter, getClientAreaProvider, getConfigLabelAccumulator, getConfigLabelsByPosition, getDisplayModeByPosition, getLayerPainter, getProvidedLabels, getRegionLabelsByXY, getRegionName, handleLayerEvent, hasLayerListener, isDynamicSizeLayer, registerCommandHandler, registerEventHandler, registerPersistable, removeLayerListener, setClientAreaProvider, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterEventHandler, unregisterPersistableclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLayerListener, configure, dispose, fireLayerEvent, getCellPainter, getClientAreaProvider, getConfigLabelsByPosition, getDisplayModeByPosition, getLayerPainter, getRegionLabelsByXY, hasLayerListener, registerCommandHandler, registerPersistable, removeLayerListener, setClientAreaProvider, unregisterCommandHandler, unregisterPersistablehandleLayerEventpublic SpanningDataLayer(ISpanningDataProvider dataProvider)
public SpanningDataLayer(ISpanningDataProvider dataProvider, int defaultColumnWidth, int defaultRowHeight)
protected SpanningDataLayer()
protected SpanningDataLayer(int defaultColumnWidth,
int defaultRowHeight)
public ISpanningDataProvider getDataProvider()
getDataProvider in class DataLayerIDataProvider that is used by this DataLayer.public ILayerCell getCellByPosition(int columnPosition, int rowPosition)
getCellByPosition in interface ILayergetCellByPosition in class AbstractLayerpublic org.eclipse.swt.graphics.Rectangle getBoundsByPosition(int columnPosition,
int rowPosition)
ILayergetBoundsByPosition in interface ILayergetBoundsByPosition in class AbstractLayercolumnPosition - the column position of the cellrowPosition - the row position of the cellnull if there are no valid boundspublic void setDataValue(int columnIndex,
int rowIndex,
Object newValue)
DataLayersetDataValue in class DataLayercolumnIndex - The column index of the cell whose value is requested.rowIndex - The row index of the cell whose value is requested.newValue - The new value that should be set.Copyright © 2017. All rights reserved.