com.dlsc.flexgantt.policy.layer

## Interface ISpreadsheetEditPolicy

- All Superinterfaces:
    IPolicy
  All Known Implementing Classes:
    DefaultSpreadsheetEditPolicy

      public interface ISpreadsheetEditPolicy
      extends IPolicy

  A policy used in the context of editing spreadsheets.
  Since:
    2.1
  Author:
    Dirk Lemmermann

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ICommand` | `getChangeSpreadsheetValueCommand(IGanttChartModel<?,?> model, Object node, ISpreadsheet spreadsheet, ITimeSpan span, Object value)` Returns a command object that can be used to change the value of a spreadsheet cell.

- - ### Method Detail

    - #### getChangeSpreadsheetValueCommand

          ICommand getChangeSpreadsheetValueCommand(IGanttChartModel<?,?> model,
                                                    Object node,
                                                    ISpreadsheet spreadsheet,
                                                    ITimeSpan span,
                                                    Object value)

      Returns a command object that can be used to change the value of a spreadsheet cell.
      Parameters:
        `model` - the Gantt chart model of which the spreadsheet is a member
        `node` - the target tree / Gantt chart node
        `spreadsheet` - the spreadsheet where the value change takes place
        `span` - the time span for which the value changed
        `value` - the new value for the given time span and tree node
      Returns:
        a command object that will modify the model and change the spreadsheet value
      Since:
        2.1

Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.