Interface ICellEditDialog

    • Method Detail

      • getCommittedValue

        Object getCommittedValue()
        Returns:
        The canonical value that was committed to the editor control.
      • getEditType

        EditTypeEnum getEditType()
        Returns:
        The edit type that has impact on how the set value will be updated to the data model. By default EditTypeEnum.SET is returned, which will simply set the committed value to the data model. Every other edit type will do some calculation based on the committed value and the current value in the data model.
      • calculateValue

        Object calculateValue​(Object currentValue,
                              Object processValue)
        In case getEditType() returns an edit type for processing values, this method should implemented to do that transformation.
        Parameters:
        currentValue - The current value for the cell before data model update
        processValue - The value committed to the editor that should be used for calculation on the current value.
        Returns:
        The value that should be used to update the data model.
      • open

        int open()
        Opens this dialog, creating it first if it has not yet been created.

        Specified in here for convenience so we only need to check against this interface for a dialog.

        Returns:
        the return code