org.eclipse.nebula.widgets.nattable.layer.cell
Class TranslatedLayerCell

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.layer.cell.AbstractLayerCell
      extended by org.eclipse.nebula.widgets.nattable.layer.cell.TransformedLayerCell
          extended by org.eclipse.nebula.widgets.nattable.layer.cell.TranslatedLayerCell
All Implemented Interfaces:
ILayerCell

public class TranslatedLayerCell
extends TransformedLayerCell

A transformed LayerCell that translates the position of the underlying cell.


Constructor Summary
TranslatedLayerCell(ILayerCell cell, ILayer layer, int originColumnPosition, int originRowPosition, int columnPosition, int rowPosition)
           
 
Method Summary
 int getColumnPosition()
           
 ILayer getLayer()
           
 int getOriginColumnPosition()
           
 int getOriginRowPosition()
           
 int getRowPosition()
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslatedLayerCell

public TranslatedLayerCell(ILayerCell cell,
                           ILayer layer,
                           int originColumnPosition,
                           int originRowPosition,
                           int columnPosition,
                           int rowPosition)
Method Detail

getLayer

public ILayer getLayer()
Specified by:
getLayer in interface ILayerCell
Overrides:
getLayer in class TransformedLayerCell

getOriginColumnPosition

public int getOriginColumnPosition()
Specified by:
getOriginColumnPosition in interface ILayerCell
Overrides:
getOriginColumnPosition in class TransformedLayerCell

getOriginRowPosition

public int getOriginRowPosition()
Specified by:
getOriginRowPosition in interface ILayerCell
Overrides:
getOriginRowPosition in class TransformedLayerCell

getColumnPosition

public int getColumnPosition()
Specified by:
getColumnPosition in interface ILayerCell
Overrides:
getColumnPosition in class TransformedLayerCell

getRowPosition

public int getRowPosition()
Specified by:
getRowPosition in interface ILayerCell
Overrides:
getRowPosition in class TransformedLayerCell


Copyright © 2015. All rights reserved.