[]
Represents a stack of keymaps used to handle keyboard.
public class KeyMapStack : List<KeyMap>, IList<KeyMap>, ICollection<KeyMap>, IList, ICollection, IReadOnlyList<KeyMap>, IReadOnlyCollection<KeyMap>, IEnumerable<KeyMap>, IEnumerable
Name | Description |
---|---|
KeyMapStack() |
Name | Description |
---|---|
IsEmpty | Gets the value indicating whether the stack is empty. |
Name | Description |
---|---|
CanHandle(Keys) | Tests whether the stack contains a keymap that can handle the keystroke. |
CanHandle(Keys, out KeyMap) | Tests whether the stack contains a keymap that can handle the keystroke. |
FindByTag(object) | Finds a keymap by its tag. |
HandleKey(Keys) | Handles a keystroke. |
Pop() | Pops the top keymap from the stack. |
Push(KeyMap) | Pushes a new keymap on the stack. |
Top() | Returns the top keymap. |