Package io.keikai.ui.impl.ua
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 Summary
Constructors Constructor Description NilHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnabled(Book book, Sheet sheet)
get the enabled state of this actionboolean
process(UserActionContext ctx)
Handle the action.
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled(Book book, Sheet sheet)
Description copied from interface:UserActionHandler
get the enabled state of this action- Specified by:
isEnabled
in interfaceUserActionHandler
- Parameters:
book
- current book, null if no book selectedsheet
- 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 interfaceUserActionHandler
- Returns:
- true if the handler has processed and manager should ignore post process (if there is)
-
-