public class java.awt.event.ComponentEvent extends java.awt.AWTEvent
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.event.ComponentEvent
super_class: java.awt.AWTEvent
{
public static final int COMPONENT_FIRST;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 100
public static final int COMPONENT_LAST;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 103
public static final int COMPONENT_MOVED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 100
public static final int COMPONENT_RESIZED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 101
public static final int COMPONENT_SHOWN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 102
public static final int COMPONENT_HIDDEN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 103
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8101406823902992965
public void <init>(java.awt.Component, int);
descriptor: (Ljava/awt/Component;I)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
iload 2
invokespecial java.awt.AWTEvent.<init>:(Ljava/lang/Object;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/event/ComponentEvent;
0 2 1 source Ljava/awt/Component;
0 2 2 id I
MethodParameters:
Name Flags
source
id
public java.awt.Component getComponent();
descriptor: ()Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.event.ComponentEvent.source:Ljava/lang/Object;
instanceof java.awt.Component
ifeq 1
aload 0
getfield java.awt.event.ComponentEvent.source:Ljava/lang/Object;
checkcast java.awt.Component
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.awt.Component
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/event/ComponentEvent;
public java.lang.String paramString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield java.awt.event.ComponentEvent.source:Ljava/lang/Object;
ifnull 2
1: aload 0
getfield java.awt.event.ComponentEvent.source:Ljava/lang/Object;
checkcast java.awt.Component
invokevirtual java.awt.Component.getBounds:()Ljava/awt/Rectangle;
goto 3
2: StackMap locals:
StackMap stack:
aconst_null
3: StackMap locals:
StackMap stack: java.awt.Rectangle
astore 2
start local 2 4: aload 0
getfield java.awt.event.ComponentEvent.id:I
tableswitch { // 100 - 103
100: 9
101: 13
102: 5
103: 7
default: 17
}
5: StackMap locals: java.awt.event.ComponentEvent top java.awt.Rectangle
StackMap stack:
ldc "COMPONENT_SHOWN"
astore 1
start local 1 6: goto 18
end local 1 7: StackMap locals:
StackMap stack:
ldc "COMPONENT_HIDDEN"
astore 1
start local 1 8: goto 18
end local 1 9: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "COMPONENT_MOVED ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: aload 2
getfield java.awt.Rectangle.x:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
getfield java.awt.Rectangle.y:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
getfield java.awt.Rectangle.width:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
getfield java.awt.Rectangle.height:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 12: goto 18
end local 1 13: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "COMPONENT_RESIZED ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
14: aload 2
getfield java.awt.Rectangle.x:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
getfield java.awt.Rectangle.y:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
getfield java.awt.Rectangle.width:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
getfield java.awt.Rectangle.height:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 16: goto 18
end local 1 17: StackMap locals:
StackMap stack:
ldc "unknown type"
astore 1
start local 1 18: StackMap locals: java.awt.event.ComponentEvent java.lang.String java.awt.Rectangle
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljava/awt/event/ComponentEvent;
6 7 1 typeStr Ljava/lang/String;
8 9 1 typeStr Ljava/lang/String;
12 13 1 typeStr Ljava/lang/String;
16 17 1 typeStr Ljava/lang/String;
18 19 1 typeStr Ljava/lang/String;
4 19 2 b Ljava/awt/Rectangle;
}
SourceFile: "ComponentEvent.java"