UIDefaults.LazyInputMap (Java SE 15 & JDK 15) (original) (raw)

All Implemented Interfaces:

[UIDefaults.LazyValue](UIDefaults.LazyValue.html "interface in javax.swing")

Enclosing class:

UIDefaults


public static class UIDefaults.LazyInputMap extends Object implements UIDefaults.LazyValue

LazyInputMap will create a InputMap in its createValue method. The bindings are passed in the constructor. The bindings are an array with the even number entries being string KeyStrokes (eg "alt SPACE") and the odd number entries being the value to use in theInputMap (and the key in the ActionMap).

Since:

1.3

Constructors

Constructor Description
LazyInputMap​(Object[] bindings) Constructs a LazyInputMap.
Modifier and Type Method Description
Object createValue​(UIDefaults table) Creates an InputMap with the bindings that are passed in.

Methods declared in class java.lang.Object

[clone](../../../java.base/java/lang/Object.html#clone%28%29), [equals](../../../java.base/java/lang/Object.html#equals%28java.lang.Object%29), [finalize](../../../java.base/java/lang/Object.html#finalize%28%29), [getClass](../../../java.base/java/lang/Object.html#getClass%28%29), [hashCode](../../../java.base/java/lang/Object.html#hashCode%28%29), [notify](../../../java.base/java/lang/Object.html#notify%28%29), [notifyAll](../../../java.base/java/lang/Object.html#notifyAll%28%29), [toString](../../../java.base/java/lang/Object.html#toString%28%29), [wait](../../../java.base/java/lang/Object.html#wait%28%29), [wait](../../../java.base/java/lang/Object.html#wait%28long%29), [wait](../../../java.base/java/lang/Object.html#wait%28long,int%29)