Class NilHandler

java.lang.Object
io.keikai.ui.impl.ua.NilHandler
All Implemented Interfaces:
UserActionHandler

public class NilHandler extends Object implements UserActionHandler
always disable and do nothing
Since:
3.0.0
Author:
dennis
  • Constructor Details

    • NilHandler

      public NilHandler()
  • Method Details

    • isEnabled

      public boolean isEnabled(Book book, Sheet sheet)
      Description copied from interface: UserActionHandler
      get the enabled state of this action
      Specified by:
      isEnabled in interface UserActionHandler
      Parameters:
      book - current book, null if no book selected
      sheet - current sheet, null if no sheet selected
      Returns:
    • process

      public boolean process(UserActionContext ctx)
      Description copied from interface: UserActionHandler
      Handle the action.
      Specified by:
      process in interface UserActionHandler
      Returns:
      true if the handler has processed and manager should ignore post process (if there is)