Class SpanningLayerCell
- 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.SpanningLayerCell
-
- All Implemented Interfaces:
ILayerCell
public class SpanningLayerCell extends TransformedLayerCell
This implementation ofILayerCell
is used to support spanning updates in case spanned rows/columns are hidden.- Since:
- 1.6
-
-
Constructor Summary
Constructors Constructor Description SpanningLayerCell(ILayerCell cell, int columnSpan, int rowSpan)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getColumnSpan()
int
getRowSpan()
int
hashCode()
boolean
isSpannedCell()
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.cell.TransformedLayerCell
getColumnIndex, getColumnPosition, getLayer, getOriginColumnPosition, getOriginRowPosition, getRowIndex, getRowPosition
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.cell.AbstractLayerCell
getBounds, getConfigLabels, getDataValue, getDisplayMode
-
-
-
-
Constructor Detail
-
SpanningLayerCell
public SpanningLayerCell(ILayerCell cell, int columnSpan, int rowSpan)
-
-
Method Detail
-
getColumnSpan
public int getColumnSpan()
- Specified by:
getColumnSpan
in interfaceILayerCell
- Overrides:
getColumnSpan
in classTransformedLayerCell
-
getRowSpan
public int getRowSpan()
- Specified by:
getRowSpan
in interfaceILayerCell
- Overrides:
getRowSpan
in classTransformedLayerCell
-
isSpannedCell
public boolean isSpannedCell()
- Specified by:
isSpannedCell
in interfaceILayerCell
- Overrides:
isSpannedCell
in classAbstractLayerCell
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTransformedLayerCell
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classTransformedLayerCell
-
-