Interface UserActionManagerCtrl

  • All Superinterfaces:
    org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>, Serializable, org.zkoss.zk.ui.event.SerializableEventListener<org.zkoss.zk.ui.event.Event>
    All Known Implementing Classes:
    DefaultUserActionManagerCtrl, UserActionManagerCtrlImpl

    public interface UserActionManagerCtrl
    extends org.zkoss.zk.ui.event.SerializableEventListener<org.zkoss.zk.ui.event.Event>
    Action Handler for user's action
    Author:
    dennis
    • Method Detail

      • getInterestedEvents

        Set<String> getInterestedEvents()
        Returns the interested events of the spreadsheet.
        Returns:
        event name list if you have any interested event of spreadsheet.
        See Also:
        Events
      • getCtrlKeys

        String getCtrlKeys()
        Returns the interested ctrlKeys of the spreadsheet
        Returns:
        ctrlKeys that you want to set to spreadsheet, or null to set nothing to spreadsheet.
        See Also:
        Spreadsheet.setCtrlKeys(String)
      • getSupportedUserAction

        Set<String> getSupportedUserAction​(Sheet sheet)
        Returns the supported user action that should be disabled
        Parameters:
        sheet - the sheet for cheeking
        Returns:
        a disabled user action array
      • bind

        void bind​(Spreadsheet sparedsheet)
        Will be called when a handler assign to spreadsheet.
        Parameters:
        sparedsheet -
      • doAfterLoadBook

        void doAfterLoadBook​(Book book)
        Will be called when a book set to sparedshet
        Parameters:
        book - the book to load or null if close a book