Interface Spreadsheet.ProtectedEditListener

All Superinterfaces:
Serializable
Enclosing class:
Spreadsheet

public static interface Spreadsheet.ProtectedEditListener extends Serializable
A listener for when an attempt to modify a locked cell has been made.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Method
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the SpreadSheet detects that the client tried to edit a locked cell (usually by pressing a key).
  • Field Details

    • SELECTION_CHANGE_METHOD

      static final Method SELECTION_CHANGE_METHOD
  • Method Details

    • writeAttempted

      void writeAttempted(Spreadsheet.ProtectedEditEvent event)
      Called when the SpreadSheet detects that the client tried to edit a locked cell (usually by pressing a key). Method is not called for each such event; instead, the SpreadSheet waits a second before sending a new event. This is done to give the user time to react to the results of this call (e.g. showing a notification).
      Parameters:
      event - ProtectedEditEvent that happened