InputMap

Methods
1
Fields
None

Getting one

JComponent.new():getInputMap(…)

Methods

MethodReturnsDescription
put(keyStroke: KeyStroke?, key: string?)()Binds keyStroke to the action key key (a string here).

Returned by

MethodReturnsDescription
JComponent.getInputMapInputMapThe component's InputMap for WHEN_FOCUSED (or the condition given), the same one each call.

Method details

put

put: (InputMap, keyStroke: KeyStroke?, key: string?) -> ()

Binds keyStroke to the action key key (a string here).