javax.swing
Class UIDefaults.LazyInputMap

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.swing.UIDefaults.LazyInputMap
All Implemented Interfaces:
UIDefaults.LazyValue sample code for javax.swing.UIDefaults.LazyValue definition code for javax.swing.UIDefaults.LazyValue
Enclosing class:
UIDefaults sample code for javax.swing.UIDefaults definition code for javax.swing.UIDefaults

public static class UIDefaults.LazyInputMap
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements UIDefaults.LazyValue sample code for javax.swing.UIDefaults.LazyValue definition code for javax.swing.UIDefaults.LazyValue

LazyInputMap will create a InputMap in its createValue method. The bindings are passed in 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 the InputMap (and the key in the ActionMap).


Constructor Summary
UIDefaults.LazyInputMap sample code for javax.swing.UIDefaults.LazyInputMap.UIDefaults.LazyInputMap(java.lang.Object[]) definition code for javax.swing.UIDefaults.LazyInputMap.UIDefaults.LazyInputMap(java.lang.Object[]) (Object sample code for java.lang.Object definition code for java.lang.Object [] bindings)
           
 
Method Summary
 Object sample code for java.lang.Object definition code for java.lang.Object createValue sample code for javax.swing.UIDefaults.LazyInputMap.createValue(javax.swing.UIDefaults) definition code for javax.swing.UIDefaults.LazyInputMap.createValue(javax.swing.UIDefaults) (UIDefaults sample code for javax.swing.UIDefaults definition code for javax.swing.UIDefaults  table)
          Creates an InputMap with the bindings that are passed in.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

UIDefaults.LazyInputMap sample code for javax.swing.UIDefaults.LazyInputMap(java.lang.Object[]) definition code for javax.swing.UIDefaults.LazyInputMap(java.lang.Object[])

public UIDefaults.LazyInputMap(Object sample code for java.lang.Object definition code for java.lang.Object [] bindings)
Method Detail

createValue sample code for javax.swing.UIDefaults.LazyInputMap.createValue(javax.swing.UIDefaults) definition code for javax.swing.UIDefaults.LazyInputMap.createValue(javax.swing.UIDefaults)

public Object sample code for java.lang.Object definition code for java.lang.Object  createValue(UIDefaults sample code for javax.swing.UIDefaults definition code for javax.swing.UIDefaults  table)
Creates an InputMap with the bindings that are passed in.

Specified by:
createValue sample code for javax.swing.UIDefaults.LazyValue.createValue(javax.swing.UIDefaults) definition code for javax.swing.UIDefaults.LazyValue.createValue(javax.swing.UIDefaults) in interface UIDefaults.LazyValue sample code for javax.swing.UIDefaults.LazyValue definition code for javax.swing.UIDefaults.LazyValue
Parameters:
table - a UIDefaults table
Returns:
the InputMap