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 Detail

      • SELECTION_CHANGE_METHOD

        static final Method SELECTION_CHANGE_METHOD
    • Method Detail

      • 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