Class ClipboardCell

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 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 Details

    • 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 this ClipboardCell
      column - the column of this ClipboardCell
      spc - 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

      public Object getValue()
      Returns the value of this cell.
      Returns:
      the value of this cell.
    • getHtmlVersion

      public String getHtmlVersion()
      If the original cell had its SpreadsheetCell.isCellGraphic() to true, the cell HTML content will be here and the string version in getValue().
      Returns:
      the html version of the value