public abstract class MenuCommandHandler extends Object implements CommandHandler
Constructor and Description |
---|
MenuCommandHandler() |
Modifier and Type | Method and Description |
---|---|
void |
afterExecute(Context context)
命令后置操作
|
void |
beforeExecute(Context context)
命令前置操作
|
protected abstract void |
execute(String command,
MenuCommand menuCommand,
Context context)
执行相关菜单逻辑,保存渲染路径和跳转菜单id
|
public void beforeExecute(Context context)
CommandHandler
beforeExecute
in interface CommandHandler
public void afterExecute(Context context)
CommandHandler
afterExecute
in interface CommandHandler
protected abstract void execute(String command, MenuCommand menuCommand, Context context)
command
- menuCommand
- context
- Copyright © 2006–2018 TinyGroup. All rights reserved.