java.lang.Object
org.controlsfx.control.spreadsheet.ClipboardCell
- All Implemented Interfaces:
Serializable
This class will holds a cell value when we do a copy in the
SpreadsheetView.
It is internally used by the SpreadsheetView but developpers may want
to tweak the behavior of retrieve the content of the Clipboard.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClipboardCell(int row, int column, SpreadsheetCell spc) Constructor of a ClipboardCell for a cell. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the column of this cell.If the original cell had itsSpreadsheetCell.isCellGraphic()totrue, the cell HTML content will be here and the string version ingetValue().intgetRow()Returns the row of this cell.getValue()Returns the value of this cell.
-
Constructor Details
-
ClipboardCell
Constructor of a ClipboardCell for a cell. The SpreadsheetCell item must be serializable.- Parameters:
row- the row of thisClipboardCellcolumn- the column of thisClipboardCellspc- the SpreadsheetCell which value will be serialized
-
-
Method Details
-
getRow
public int getRow()Returns the row of this cell.- Returns:
- the row of this cell.
-
getColumn
public int getColumn()Returns the column of this cell.- Returns:
- the column of this cell.
-
getValue
Returns the value of this cell.- Returns:
- the value of this cell.
-
getHtmlVersion
If the original cell had itsSpreadsheetCell.isCellGraphic()totrue, the cell HTML content will be here and the string version ingetValue().- Returns:
- the html version of the value
-