Package org.openl.rules.table
Class CompositeCell
- java.lang.Object
-
- org.openl.rules.table.CompositeCell
-
-
Constructor Summary
Constructors Constructor Description CompositeCell(int column, int row, IGridRegion region, ICell delegate, IGridTable gridTable)parameters column and row are different from inner column and row in cell delegate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAbsoluteColumn()IGridRegiongetAbsoluteRegion()intgetAbsoluteRow()intgetColumn()ICellCommentgetComment()ICellFontgetFont()StringgetFormula()intgetHeight()booleangetNativeBoolean()DategetNativeDate()doublegetNativeNumber()intgetNativeType()ObjectgetObjectValue()IGridRegiongetRegion()intgetRow()StringgetStringValue()ICellStylegetStyle()ICellgetTopLeftCellFromRegion()intgetType()Returns one of IGrid.CELL_TYPE_* values.StringgetUri()intgetWidth()booleanhasNativeType()
-
-
-
Constructor Detail
-
CompositeCell
public CompositeCell(int column, int row, IGridRegion region, ICell delegate, IGridTable gridTable)parameters column and row are different from inner column and row in cell delegate.
-
-
Method Detail
-
getTopLeftCellFromRegion
public ICell getTopLeftCellFromRegion()
- Specified by:
getTopLeftCellFromRegionin interfaceICell
-
getAbsoluteColumn
public int getAbsoluteColumn()
- Specified by:
getAbsoluteColumnin interfaceICell- Returns:
- Absolute column index inside the sheet.
-
getAbsoluteRow
public int getAbsoluteRow()
- Specified by:
getAbsoluteRowin interfaceICell- Returns:
- Absolute row index inside the sheet.
-
getAbsoluteRegion
public IGridRegion getAbsoluteRegion()
- Specified by:
getAbsoluteRegionin interfaceICell- Returns:
- Absolute region of cell inside the sheet.
-
getRegion
public IGridRegion getRegion()
-
getStyle
public ICellStyle getStyle()
-
getObjectValue
public Object getObjectValue()
- Specified by:
getObjectValuein interfaceICell
-
getStringValue
public String getStringValue()
- Specified by:
getStringValuein interfaceICell
-
getFormula
public String getFormula()
- Specified by:
getFormulain interfaceICell
-
getType
public int getType()
Description copied from interface:ICellReturns one of IGrid.CELL_TYPE_* values.
-
getNativeBoolean
public boolean getNativeBoolean()
- Specified by:
getNativeBooleanin interfaceICell
-
getNativeNumber
public double getNativeNumber()
- Specified by:
getNativeNumberin interfaceICell
-
getNativeType
public int getNativeType()
- Specified by:
getNativeTypein interfaceICell- Returns:
- IGrid.CELL_TYPE... constant, in case of CELL_TYPE_FORMULA returns cached value type
-
hasNativeType
public boolean hasNativeType()
- Specified by:
hasNativeTypein interfaceICell- Returns:
- true if the cell has ability to provide fast access to the native value(cached) If cell has not such an ability, the native methods should not be used
-
getNativeDate
public Date getNativeDate()
- Specified by:
getNativeDatein interfaceICell
-
getComment
public ICellComment getComment()
- Specified by:
getCommentin interfaceICell
-
-