- java.lang.Object
-
- org.controlsfx.control.spreadsheet.ClipboardCell
-
- All Implemented Interfaces:
Serializable
public class ClipboardCell extends Object implements Serializable
This class will holds a cell value when we do a copy in theSpreadsheetView
. It is internally used by theSpreadsheetView
but developpers may want to tweak the behavior of retrieve the content of theClipboard
.- See Also:
SpreadsheetView
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClipboardCell(int row, int column, SpreadsheetCell spc)
Constructor of a ClipboardCell for a cell.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumn()
Returns the column of this cell.String
getHtmlVersion()
If the original cell had itsSpreadsheetCell.isCellGraphic()
totrue
, the cell HTML content will be here and the string version ingetValue()
.int
getRow()
Returns the row of this cell.Object
getValue()
Returns the value of this cell.
-
-
-
Constructor Detail
-
ClipboardCell
public ClipboardCell(int row, int column, SpreadsheetCell spc)
Constructor of a ClipboardCell for a cell. The SpreadsheetCell item must be serializable.- Parameters:
row
- the row of thisClipboardCell
column
- the column of thisClipboardCell
spc
- the SpreadsheetCell which value will be serialized
-
-
Method Detail
-
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
public Object getValue()
Returns the value of this cell.- Returns:
- the value of this cell.
-
getHtmlVersion
public String 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
-
-