- 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 theSpreadsheetViewbut 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 intgetColumn()Returns the column of this cell.StringgetHtmlVersion()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.ObjectgetValue()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 thisClipboardCellcolumn- the column of thisClipboardCellspc- 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
-
-