public class javax.swing.ComponentInputMap extends javax.swing.InputMap
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.ComponentInputMap
super_class: javax.swing.InputMap
{
private javax.swing.JComponent component;
descriptor: Ljavax/swing/JComponent;
flags: (0x0002) ACC_PRIVATE
public void <init>(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.InputMap.<init>:()V
1: aload 0
aload 1
putfield javax.swing.ComponentInputMap.component:Ljavax/swing/JComponent;
2: aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "ComponentInputMaps must be associated with a non-null JComponent"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: javax.swing.ComponentInputMap javax.swing.JComponent
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/ComponentInputMap;
0 5 1 component Ljavax/swing/JComponent;
MethodParameters:
Name Flags
component
public void setParent(javax.swing.InputMap);
descriptor: (Ljavax/swing/InputMap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.ComponentInputMap.getParent:()Ljavax/swing/InputMap;
aload 1
if_acmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
ifnull 5
aload 1
instanceof javax.swing.ComponentInputMap
ifeq 4
3: aload 1
checkcast javax.swing.ComponentInputMap
invokevirtual javax.swing.ComponentInputMap.getComponent:()Ljavax/swing/JComponent;
aload 0
invokevirtual javax.swing.ComponentInputMap.getComponent:()Ljavax/swing/JComponent;
if_acmpeq 5
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "ComponentInputMaps must have a parent ComponentInputMap associated with the same component"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial javax.swing.InputMap.setParent:(Ljavax/swing/InputMap;)V
6: aload 0
invokevirtual javax.swing.ComponentInputMap.getComponent:()Ljavax/swing/JComponent;
aload 0
invokevirtual javax.swing.JComponent.componentInputMapChanged:(Ljavax/swing/ComponentInputMap;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/ComponentInputMap;
0 8 1 map Ljavax/swing/InputMap;
MethodParameters:
Name Flags
map
public javax.swing.JComponent getComponent();
descriptor: ()Ljavax/swing/JComponent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.ComponentInputMap.component:Ljavax/swing/JComponent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/ComponentInputMap;
public void put(javax.swing.KeyStroke, java.lang.Object);
descriptor: (Ljavax/swing/KeyStroke;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial javax.swing.InputMap.put:(Ljavax/swing/KeyStroke;Ljava/lang/Object;)V
1: aload 0
invokevirtual javax.swing.ComponentInputMap.getComponent:()Ljavax/swing/JComponent;
ifnull 3
2: aload 0
invokevirtual javax.swing.ComponentInputMap.getComponent:()Ljavax/swing/JComponent;
aload 0
invokevirtual javax.swing.JComponent.componentInputMapChanged:(Ljavax/swing/ComponentInputMap;)V
3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/ComponentInputMap;
0 4 1 keyStroke Ljavax/swing/KeyStroke;
0 4 2 actionMapKey Ljava/lang/Object;
MethodParameters:
Name Flags
keyStroke
actionMapKey
public void remove(javax.swing.KeyStroke);
descriptor: (Ljavax/swing/KeyStroke;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.InputMap.remove:(Ljavax/swing/KeyStroke;)V
1: aload 0
invokevirtual javax.swing.ComponentInputMap.getComponent:()Ljavax/swing/JComponent;
ifnull 3
2: aload 0
invokevirtual javax.swing.ComponentInputMap.getComponent:()Ljavax/swing/JComponent;
aload 0
invokevirtual javax.swing.JComponent.componentInputMapChanged:(Ljavax/swing/ComponentInputMap;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/ComponentInputMap;
0 4 1 key Ljavax/swing/KeyStroke;
MethodParameters:
Name Flags
key
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.ComponentInputMap.size:()I
istore 1
start local 1 1: aload 0
invokespecial javax.swing.InputMap.clear:()V
2: iload 1
ifle 4
aload 0
invokevirtual javax.swing.ComponentInputMap.getComponent:()Ljavax/swing/JComponent;
ifnull 4
3: aload 0
invokevirtual javax.swing.ComponentInputMap.getComponent:()Ljavax/swing/JComponent;
aload 0
invokevirtual javax.swing.JComponent.componentInputMapChanged:(Ljavax/swing/ComponentInputMap;)V
4: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/ComponentInputMap;
1 5 1 oldSize I
}
SourceFile: "ComponentInputMap.java"