Java javax.swing InputMap fields, constructors, methods, implement or subclass

Example usage for Java javax.swing InputMap fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing InputMap.

The text is from its open source code.

Constructor

InputMap()
Creates an InputMap with no parent and no mappings.

Method

KeyStroke[]allKeys()
Returns an array of the KeyStroke s defined in this InputMap and its parent.
voidclear()
Removes all the mappings from this InputMap .
Objectget(KeyStroke keyStroke)
Returns the binding for keyStroke , messaging the parent InputMap if the binding is not locally defined.
InputMapgetParent()
Gets this InputMap 's parent.
KeyStroke[]keys()
Returns the KeyStroke s that are bound in this InputMap .
voidput(KeyStroke keyStroke, Object actionMapKey)
Adds a binding for keyStroke to actionMapKey .
voidremove(KeyStroke key)
Removes the binding for key from this InputMap .
voidsetParent(InputMap map)
Sets this InputMap 's parent.
intsize()
Returns the number of KeyStroke bindings.