public class DataTableFillLayout
extends org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
implements org.eclipse.nebula.widgets.nattable.layer.IUniqueIndexLayer
Constructor and Description |
---|
DataTableFillLayout(org.eclipse.swt.widgets.Control parent,
org.eclipse.nebula.widgets.nattable.layer.IUniqueIndexLayer underlyingDataLayer,
DataTableContext context,
DataTableBodyLayerStack bodyLayerStack) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.nebula.widgets.nattable.layer.cell.ILayerCell |
getCellByPosition(int columnPosition,
int rowPosition) |
int |
getColumnCount() |
int |
getColumnIndexByPosition(int columnPosition) |
int |
getColumnPositionByIndex(int columnIndex) |
int |
getColumnPositionByX(int x) |
int |
getColumnWidthByPosition(int columnPosition) |
org.eclipse.nebula.widgets.nattable.layer.LabelStack |
getConfigLabelsByPosition(int columnPosition,
int rowPosition) |
java.lang.Object |
getDataValueByPosition(int columnPosition,
int rowPosition)
NOTE: Since this is a
IUniqueIndexLayer sitting close to the DataLayer , columnPosition == columnIndex. |
int |
getPreferredColumnCount() |
int |
getPreferredWidth() |
int |
getRowPositionByIndex(int rowIndex) |
int |
getStartXOfColumnPosition(int columnPosition) |
int |
getWidth() |
void |
handleLayerEvent(org.eclipse.nebula.widgets.nattable.layer.event.ILayerEvent event) |
configure, dispose, doCommand, getCellPainter, getDisplayModeByPosition, getHeight, getLayerPainter, getPreferredHeight, getPreferredRowCount, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByY, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, isColumnPositionResizable, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, saveState, setClientAreaProvider, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions
addConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getBoundsByPosition, getClientAreaProvider, getConfigLabelAccumulator, getRegionName, hasLayerListener, registerCommandHandler, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterEventHandler, unregisterPersistable
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addLayerListener, configure, dispose, doCommand, fireLayerEvent, getBoundsByPosition, getCellPainter, getClientAreaProvider, getDisplayModeByPosition, getHeight, getLayerPainter, getPreferredHeight, getPreferredRowCount, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByY, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, hasLayerListener, isColumnPositionResizable, isRowPositionResizable, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, registerCommandHandler, registerPersistable, removeLayerListener, setClientAreaProvider, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions, unregisterCommandHandler, unregisterPersistable
public DataTableFillLayout(org.eclipse.swt.widgets.Control parent, org.eclipse.nebula.widgets.nattable.layer.IUniqueIndexLayer underlyingDataLayer, DataTableContext context, DataTableBodyLayerStack bodyLayerStack)
parent
- underlyingDataLayer
- context
- bodyLayerStack
- public org.eclipse.nebula.widgets.nattable.layer.cell.ILayerCell getCellByPosition(int columnPosition, int rowPosition)
getCellByPosition
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getCellByPosition
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public int getColumnCount()
getColumnCount
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getColumnCount
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public int getColumnIndexByPosition(int columnPosition)
getColumnIndexByPosition
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getColumnIndexByPosition
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public int getColumnPositionByIndex(int columnIndex)
getColumnPositionByIndex
in interface org.eclipse.nebula.widgets.nattable.layer.IUniqueIndexLayer
public int getColumnPositionByX(int x)
getColumnPositionByX
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getColumnPositionByX
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public int getColumnWidthByPosition(int columnPosition)
getColumnWidthByPosition
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getColumnWidthByPosition
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public org.eclipse.nebula.widgets.nattable.layer.LabelStack getConfigLabelsByPosition(int columnPosition, int rowPosition)
getConfigLabelsByPosition
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getConfigLabelsByPosition
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public java.lang.Object getDataValueByPosition(int columnPosition, int rowPosition)
IUniqueIndexLayer
sitting close to the DataLayer
, columnPosition == columnIndex.getDataValueByPosition
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getDataValueByPosition
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
columnPosition
- rowPosition
- public int getPreferredColumnCount()
getPreferredColumnCount
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getPreferredColumnCount
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public int getPreferredWidth()
getPreferredWidth
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getPreferredWidth
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public int getRowPositionByIndex(int rowIndex)
getRowPositionByIndex
in interface org.eclipse.nebula.widgets.nattable.layer.IUniqueIndexLayer
public int getStartXOfColumnPosition(int columnPosition)
getStartXOfColumnPosition
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getStartXOfColumnPosition
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public int getWidth()
getWidth
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getWidth
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public void handleLayerEvent(org.eclipse.nebula.widgets.nattable.layer.event.ILayerEvent event)
handleLayerEvent
in interface org.eclipse.nebula.widgets.nattable.layer.ILayerListener
handleLayerEvent
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayer