|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcvj2.app.command.CommandMapAction
public class CommandMapAction
コマンドと JFaceのAction を結びつける。
メニューの選択やツールバーボタンのクリックが行われると、
結びつけられた Command
が CommandHandler
で実行される。
コンストラクタの概要 | |
---|---|
CommandMapAction()
|
メソッドの概要 | |
---|---|
void |
add(Action action,
Command command)
結びつけ追加 |
Action |
findAction(Command command)
コマンドから Action を探す |
Command |
findCommand(Action action)
Action からコマンドを探す |
void |
resetActionStatus(CommandMapInput cmdMap)
全ての Action を再設定する |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public CommandMapAction()
メソッドの詳細 |
---|
public void add(Action action, Command command)
public Action findAction(Command command)
public Command findCommand(Action action)
public void resetActionStatus(CommandMapInput cmdMap)
cmdMap
- 再設定するキー入力設定
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |