Class TranslatedLayerCell
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.cell.AbstractLayerCell
org.eclipse.nebula.widgets.nattable.layer.cell.TransformedLayerCell
org.eclipse.nebula.widgets.nattable.layer.cell.TranslatedLayerCell
- All Implemented Interfaces:
ILayerCell
A transformed LayerCell that translates the position of the underlying cell.
-
Constructor Summary
ConstructorDescriptionTranslatedLayerCell
(ILayerCell cell, ILayer layer, int originColumnPosition, int originRowPosition, int columnPosition, int rowPosition) -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.cell.TransformedLayerCell
equals, getColumnIndex, getColumnSpan, getRowIndex, getRowSpan, hashCode
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.cell.AbstractLayerCell
getBounds, getConfigLabels, getDataValue, getDisplayMode, isSpannedCell
-
Constructor Details
-
TranslatedLayerCell
public TranslatedLayerCell(ILayerCell cell, ILayer layer, int originColumnPosition, int originRowPosition, int columnPosition, int rowPosition)
-
-
Method Details
-
getLayer
- Specified by:
getLayer
in interfaceILayerCell
- Overrides:
getLayer
in classTransformedLayerCell
-
getOriginColumnPosition
public int getOriginColumnPosition()- Specified by:
getOriginColumnPosition
in interfaceILayerCell
- Overrides:
getOriginColumnPosition
in classTransformedLayerCell
-
getOriginRowPosition
public int getOriginRowPosition()- Specified by:
getOriginRowPosition
in interfaceILayerCell
- Overrides:
getOriginRowPosition
in classTransformedLayerCell
-
getColumnPosition
public int getColumnPosition()- Specified by:
getColumnPosition
in interfaceILayerCell
- Overrides:
getColumnPosition
in classTransformedLayerCell
-
getRowPosition
public int getRowPosition()- Specified by:
getRowPosition
in interfaceILayerCell
- Overrides:
getRowPosition
in classTransformedLayerCell
-