public class NilHandler extends Object implements UserActionHandler
Constructor and Description |
---|
NilHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled(Book book,
Sheet sheet)
get the enabled state of this action
|
boolean |
process(UserActionContext ctx)
Handle the action.
|
public boolean isEnabled(Book book, Sheet sheet)
UserActionHandler
isEnabled
in interface UserActionHandler
book
- current book, null if no book selectedsheet
- current sheet, null if no sheet selectedpublic boolean process(UserActionContext ctx)
UserActionHandler
process
in interface UserActionHandler
Copyright © 2020. All rights reserved.