Class InternalCopyDataCommandHandler

All Implemented Interfaces:
ILayerCommandHandler<CopyDataToClipboardCommand>
Direct Known Subclasses:
FormulaCopyDataCommandHandler

public class InternalCopyDataCommandHandler extends CopyDataCommandHandler
Specialized CopyDataCommandHandler that stores the copied cells in the InternalCellClipboard so it can be pasted within NatTable.
Since:
1.4
  • Field Details

  • Constructor Details

  • Method Details

    • internalDoCommand

      protected void internalDoCommand(CopyDataToClipboardCommand command, ILayerCell[][] assembledCopiedDataStructure)
      Description copied from class: CopyDataCommandHandler
      Internal implementation of the command handling that additionally takes the assembled data structure to copy as parameter to avoid multiple assemble operations.
      Overrides:
      internalDoCommand in class CopyDataCommandHandler
      Parameters:
      command - The CopyDataToClipboardCommand to handle.
      assembledCopiedDataStructure - The assembled data structure to copy.
    • preInternalCopy

      protected void preInternalCopy()
      Perform actions prior copying values to the internal clipboard. E.g. disabling formula evaluation.
    • postInternalCopy

      protected void postInternalCopy()
      Perform actions after copying values to the internal clipboard. E.g. enabling formula evaluation.