Class UpdateCellCommand

java.lang.Object
org.jxls.command.AbstractCommand
org.jxls.command.UpdateCellCommand
All Implemented Interfaces:
Command

public class UpdateCellCommand extends AbstractCommand
Allows to update a cell data dynamically for any cell
  • Field Details

  • Constructor Details

    • UpdateCellCommand

      public UpdateCellCommand()
  • Method Details

    • getName

      public String getName()
      Returns:
      command name
    • getUpdater

      public String getUpdater()
    • setUpdater

      public void setUpdater(String updater)
    • getCellDataUpdater

      public CellDataUpdater getCellDataUpdater()
    • setCellDataUpdater

      public void setCellDataUpdater(CellDataUpdater cellDataUpdater)
    • addArea

      public Command addArea(Area area)
      Description copied from interface: Command
      Adds an area to this command
      Specified by:
      addArea in interface Command
      Overrides:
      addArea in class AbstractCommand
      Parameters:
      area - to be added area
      Returns:
      this command instance
    • applyAt

      public Size applyAt(CellRef cellRef, Context context)
      Description copied from interface: Command
      Applies a command at the given cell reference
      Parameters:
      cellRef - cell reference where the command must be applied
      context - bean context to use
      Returns:
      size of enclosing command area after transformation