|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.TreeMap<InputCombination,Command>
cvj2.app.command.CommandMapInput
public class CommandMapInput
コマンドと入力(キー、マウス)の結びつけ。
画面でキー入力などが発生すると、結びつけられた Command
が CommandHandler
で実行される。
このクラスのインスタンスは、@{link DefaultCommandMapInputCreator
で生成される。
入れ子のクラスの概要 |
---|
クラス java.util.AbstractMap から継承された入れ子のクラス/インタフェース |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
コンストラクタの概要 | |
---|---|
CommandMapInput()
|
メソッドの概要 | |
---|---|
void |
addCommandInput(InputCombination input,
Command command)
コマンド追加 |
Command |
findCommand(InputCombination input)
入力に対応するコマンドを取得 |
Command[] |
getAllCommands()
コマンド一覧を取得 |
void |
removeCommandInput(InputCombination input,
Command command)
コマンド削除 |
java.util.Set<InputCombination> |
reverseFindInputs(Command command)
コマンドに対応する入力一覧を取得 |
クラス java.util.TreeMap から継承されたメソッド |
---|
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, values |
クラス java.util.AbstractMap から継承されたメソッド |
---|
equals, hashCode, isEmpty, toString |
クラス java.lang.Object から継承されたメソッド |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
インタフェース java.util.Map から継承されたメソッド |
---|
equals, hashCode, isEmpty |
コンストラクタの詳細 |
---|
public CommandMapInput()
メソッドの詳細 |
---|
public void addCommandInput(InputCombination input, Command command)
public void removeCommandInput(InputCombination input, Command command)
public java.util.Set<InputCombination> reverseFindInputs(Command command)
public Command[] getAllCommands()
public Command findCommand(InputCombination input)
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |