Class CellFixture
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.layer.cell.AbstractLayerCell
-
- org.eclipse.nebula.widgets.nattable.layer.cell.LayerCell
-
- org.eclipse.nebula.widgets.nattable.test.fixture.layer.CellFixture
-
- All Implemented Interfaces:
ILayerCell
public class CellFixture extends LayerCell
-
-
Field Summary
Fields Modifier and Type Field Description static org.eclipse.swt.graphics.Rectangle
TEST_BOUNDS
static String
TEST_CELL_DATA
static String
TEST_CONFIG_TYPE
-
Constructor Summary
Constructors Constructor Description CellFixture()
CellFixture(Object dataValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConfigLabels(String... additionalConfigLabels)
org.eclipse.swt.graphics.Rectangle
getBounds()
LabelStack
getConfigLabels()
Object
getDataValue()
DisplayMode
getDisplayMode()
void
setBounds(org.eclipse.swt.graphics.Rectangle bounds)
void
setConfigLabels(LabelStack configLabels)
void
setDataValue(Object dataValue)
void
setDisplayMode(DisplayMode displayMode)
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.cell.LayerCell
equals, getColumnIndex, getColumnPosition, getColumnSpan, getLayer, getOriginColumnPosition, getOriginRowPosition, getRowIndex, getRowPosition, getRowSpan, hashCode, toString
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.cell.AbstractLayerCell
isSpannedCell
-
-
-
-
Field Detail
-
TEST_BOUNDS
public static final org.eclipse.swt.graphics.Rectangle TEST_BOUNDS
-
TEST_CONFIG_TYPE
public static final String TEST_CONFIG_TYPE
- See Also:
- Constant Field Values
-
TEST_CELL_DATA
public static final String TEST_CELL_DATA
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CellFixture
public CellFixture()
-
CellFixture
public CellFixture(Object dataValue)
-
-
Method Detail
-
getDisplayMode
public DisplayMode getDisplayMode()
- Specified by:
getDisplayMode
in interfaceILayerCell
- Overrides:
getDisplayMode
in classAbstractLayerCell
- Returns:
- The
DisplayMode
this cell is currently in.
-
setDisplayMode
public void setDisplayMode(DisplayMode displayMode)
-
getConfigLabels
public LabelStack getConfigLabels()
- Specified by:
getConfigLabels
in interfaceILayerCell
- Overrides:
getConfigLabels
in classAbstractLayerCell
-
setConfigLabels
public void setConfigLabels(LabelStack configLabels)
-
addConfigLabels
public void addConfigLabels(String... additionalConfigLabels)
-
getDataValue
public Object getDataValue()
- Specified by:
getDataValue
in interfaceILayerCell
- Overrides:
getDataValue
in classAbstractLayerCell
-
setDataValue
public void setDataValue(Object dataValue)
-
getBounds
public org.eclipse.swt.graphics.Rectangle getBounds()
- Specified by:
getBounds
in interfaceILayerCell
- Overrides:
getBounds
in classAbstractLayerCell
-
setBounds
public void setBounds(org.eclipse.swt.graphics.Rectangle bounds)
-
-