public class LayerRowFillLayout extends CTLayer implements org.eclipse.nebula.widgets.nattable.layer.IUniqueIndexLayer
Constructor and Description |
---|
LayerRowFillLayout(org.eclipse.nebula.widgets.nattable.layer.IUniqueIndexLayer underlyingDataLayer,
CTConfiguration config,
CTContext context) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.nebula.widgets.nattable.layer.cell.ILayerCell |
getCellByPosition(int columnPosition,
int rowPosition) |
int |
getColumnPositionByIndex(int columnIndex) |
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 |
getHeight() |
int |
getPreferredHeight() |
int |
getPreferredRowCount() |
int |
getRowCount() |
int |
getRowHeightByPosition(int rowPosition) |
int |
getRowIndexByPosition(int rowPosition) |
int |
getRowPositionByIndex(int rowIndex) |
int |
getRowPositionByY(int y) |
getConfig, getContext
configure, dispose, doCommand, getCellPainter, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnWidthByPosition, getDisplayModeByPosition, getLayerPainter, getPreferredColumnCount, getPreferredWidth, getRegionLabelsByXY, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, isColumnPositionResizable, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, saveState, setClientAreaProvider, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions
addConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getBoundsByPosition, getClientAreaProvider, getConfigLabelAccumulator, getRegionName, handleLayerEvent, 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, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnWidthByPosition, getDisplayModeByPosition, getLayerPainter, getPreferredColumnCount, getPreferredWidth, getRegionLabelsByXY, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, hasLayerListener, isColumnPositionResizable, isRowPositionResizable, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, registerCommandHandler, registerPersistable, removeLayerListener, setClientAreaProvider, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions, unregisterCommandHandler, unregisterPersistable
public LayerRowFillLayout(org.eclipse.nebula.widgets.nattable.layer.IUniqueIndexLayer underlyingDataLayer, CTConfiguration config, CTContext context)
underlyingDataLayer
- config
- context
- 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 getColumnPositionByIndex(int columnIndex)
getColumnPositionByIndex
in interface org.eclipse.nebula.widgets.nattable.layer.IUniqueIndexLayer
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 getHeight()
getHeight
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getHeight
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public int getPreferredHeight()
getPreferredHeight
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getPreferredHeight
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public int getPreferredRowCount()
getPreferredRowCount
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getPreferredRowCount
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public int getRowCount()
getRowCount
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getRowCount
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public int getRowHeightByPosition(int rowPosition)
getRowHeightByPosition
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getRowHeightByPosition
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
public int getRowIndexByPosition(int rowPosition)
getRowIndexByPosition
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getRowIndexByPosition
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 getRowPositionByY(int y)
getRowPositionByY
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
getRowPositionByY
in class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform