public class sun.awt.X11.XButtonPeer extends sun.awt.X11.XComponentPeer implements java.awt.peer.ButtonPeer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.X11.XButtonPeer
super_class: sun.awt.X11.XComponentPeer
{
private boolean pressed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean armed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.awt.Insets focusInsets;
descriptor: Ljava/awt/Insets;
flags: (0x0002) ACC_PRIVATE
private java.awt.Insets borderInsets;
descriptor: Ljava/awt/Insets;
flags: (0x0002) ACC_PRIVATE
private java.awt.Insets contentAreaInsets;
descriptor: Ljava/awt/Insets;
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String propertyPrefix;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Button."
protected java.awt.Color focusColor;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
private boolean disposed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
java.lang.String label;
descriptor: Ljava/lang/String;
flags: (0x0000)
protected java.lang.String getPropertyPrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Button."
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XButtonPeer;
void preInit(sun.awt.X11.XCreateWindowParams);
descriptor: (Lsun/awt/X11/XCreateWindowParams;)V
flags: (0x0000)
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.preInit:(Lsun/awt/X11/XCreateWindowParams;)V
1: aload 0
new java.awt.Insets
dup
iconst_2
iconst_2
iconst_2
iconst_2
invokespecial java.awt.Insets.<init>:(IIII)V
putfield sun.awt.X11.XButtonPeer.borderInsets:Ljava/awt/Insets;
2: aload 0
new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
putfield sun.awt.X11.XButtonPeer.focusInsets:Ljava/awt/Insets;
3: aload 0
new java.awt.Insets
dup
iconst_3
iconst_3
iconst_3
iconst_3
invokespecial java.awt.Insets.<init>:(IIII)V
putfield sun.awt.X11.XButtonPeer.contentAreaInsets:Ljava/awt/Insets;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XButtonPeer;
0 5 1 params Lsun/awt/X11/XCreateWindowParams;
MethodParameters:
Name Flags
params
public void <init>(java.awt.Button);
descriptor: (Ljava/awt/Button;)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 sun.awt.X11.XComponentPeer.<init>:(Ljava/awt/Component;)V
1: aload 0
getstatic java.awt.SystemColor.windowText:Ljava/awt/SystemColor;
putfield sun.awt.X11.XButtonPeer.focusColor:Ljava/awt/Color;
2: aload 0
iconst_0
putfield sun.awt.X11.XButtonPeer.disposed:Z
3: aload 0
iconst_0
putfield sun.awt.X11.XButtonPeer.pressed:Z
4: aload 0
iconst_0
putfield sun.awt.X11.XButtonPeer.armed:Z
5: aload 0
aload 1
invokevirtual java.awt.Button.getLabel:()Ljava/lang/String;
putfield sun.awt.X11.XButtonPeer.label:Ljava/lang/String;
6: aload 0
aload 0
invokevirtual sun.awt.X11.XButtonPeer.getPeerBackground:()Ljava/awt/Color;
invokevirtual sun.awt.X11.XButtonPeer.updateMotifColors:(Ljava/awt/Color;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11/XButtonPeer;
0 8 1 target Ljava/awt/Button;
MethodParameters:
Name Flags
target
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XButtonPeer.target:Ljava/awt/Component;
dup
astore 1
monitorenter
1: aload 0
iconst_1
putfield sun.awt.X11.XButtonPeer.disposed:Z
2: aload 1
monitorexit
3: goto 6
StackMap locals: sun.awt.X11.XButtonPeer java.awt.Component
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
aload 0
invokespecial sun.awt.X11.XComponentPeer.dispose:()V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11/XButtonPeer;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public boolean isFocusable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XButtonPeer;
public void setLabel(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: ldc ""
astore 1
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.awt.X11.XButtonPeer.label:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
3: aload 0
aload 1
putfield sun.awt.X11.XButtonPeer.label:Ljava/lang/String;
4: aload 0
invokevirtual sun.awt.X11.XButtonPeer.repaint:()V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XButtonPeer;
0 6 1 label Ljava/lang/String;
MethodParameters:
Name Flags
label
public void setBackground(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.awt.X11.XButtonPeer.updateMotifColors:(Ljava/awt/Color;)V
1: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.setBackground:(Ljava/awt/Color;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XButtonPeer;
0 3 1 c Ljava/awt/Color;
MethodParameters:
Name Flags
c
void handleJavaMouseEvent(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.handleJavaMouseEvent:(Ljava/awt/event/MouseEvent;)V
1: aload 1
invokevirtual java.awt.event.MouseEvent.getID:()I
istore 2
start local 2 2: iload 2
tableswitch { // 501 - 505
501: 3
502: 12
503: 24
504: 20
505: 23
default: 24
}
3: StackMap locals: int
StackMap stack:
aload 1
invokestatic sun.awt.X11.XToolkit.isLeftMouseButton:(Ljava/awt/event/MouseEvent;)Z
ifeq 24
4: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Button
astore 3
start local 3 5: aload 3
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getY:()I
invokevirtual java.awt.Button.contains:(II)Z
ifeq 24
6: aload 0
invokevirtual sun.awt.X11.XButtonPeer.isEnabled:()Z
ifne 8
7: return
8: StackMap locals: java.awt.Button
StackMap stack:
aload 0
iconst_1
putfield sun.awt.X11.XButtonPeer.pressed:Z
9: aload 0
iconst_1
putfield sun.awt.X11.XButtonPeer.armed:Z
10: aload 0
invokevirtual sun.awt.X11.XButtonPeer.repaint:()V
end local 3 11: goto 24
12: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.awt.X11.XToolkit.isLeftMouseButton:(Ljava/awt/event/MouseEvent;)Z
ifeq 24
13: aload 0
getfield sun.awt.X11.XButtonPeer.armed:Z
ifeq 16
14: aload 1
invokevirtual java.awt.event.MouseEvent.getModifiers:()I
istore 3
start local 3 15: aload 0
aload 1
invokevirtual java.awt.event.MouseEvent.getWhen:()J
iload 3
invokevirtual sun.awt.X11.XButtonPeer.action:(JI)V
end local 3 16: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.awt.X11.XButtonPeer.pressed:Z
17: aload 0
iconst_0
putfield sun.awt.X11.XButtonPeer.armed:Z
18: aload 0
invokevirtual sun.awt.X11.XButtonPeer.repaint:()V
19: goto 24
20: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XButtonPeer.pressed:Z
ifeq 24
21: aload 0
iconst_1
putfield sun.awt.X11.XButtonPeer.armed:Z
22: goto 24
23: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.awt.X11.XButtonPeer.armed:Z
24: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/awt/X11/XButtonPeer;
0 25 1 e Ljava/awt/event/MouseEvent;
2 25 2 id I
5 11 3 b Ljava/awt/Button;
15 16 3 modifiers I
MethodParameters:
Name Flags
e
public void action(long, int);
descriptor: (JI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
new java.awt.event.ActionEvent
dup
aload 0
getfield sun.awt.X11.XButtonPeer.target:Ljava/awt/Component;
sipush 1001
1: aload 0
getfield sun.awt.X11.XButtonPeer.target:Ljava/awt/Component;
checkcast java.awt.Button
invokevirtual java.awt.Button.getActionCommand:()Ljava/lang/String;
2: lload 1
iload 3
invokespecial java.awt.event.ActionEvent.<init>:(Ljava/lang/Object;ILjava/lang/String;JI)V
3: invokevirtual sun.awt.X11.XButtonPeer.postEvent:(Ljava/awt/AWTEvent;)V
4: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XButtonPeer;
0 5 1 when J
0 5 3 modifiers I
MethodParameters:
Name Flags
when final
modifiers final
public void focusGained(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)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 sun.awt.X11.XComponentPeer.focusGained:(Ljava/awt/event/FocusEvent;)V
1: aload 0
invokevirtual sun.awt.X11.XButtonPeer.repaint:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XButtonPeer;
0 3 1 e Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
e
public void focusLost(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)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 sun.awt.X11.XComponentPeer.focusLost:(Ljava/awt/event/FocusEvent;)V
1: aload 0
invokevirtual sun.awt.X11.XButtonPeer.repaint:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XButtonPeer;
0 3 1 e Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
e
void handleJavaKeyEvent(java.awt.event.KeyEvent);
descriptor: (Ljava/awt/event/KeyEvent;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.KeyEvent.getID:()I
istore 2
start local 2 1: iload 2
tableswitch { // 401 - 402
401: 2
402: 9
default: 13
}
2: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.awt.event.KeyEvent.getKeyCode:()I
bipush 32
if_icmpne 13
3: aload 0
iconst_1
putfield sun.awt.X11.XButtonPeer.pressed:Z
4: aload 0
iconst_1
putfield sun.awt.X11.XButtonPeer.armed:Z
5: aload 0
invokevirtual sun.awt.X11.XButtonPeer.repaint:()V
6: aload 1
invokevirtual java.awt.event.KeyEvent.getModifiers:()I
istore 3
start local 3 7: aload 0
aload 1
invokevirtual java.awt.event.KeyEvent.getWhen:()J
iload 3
invokevirtual sun.awt.X11.XButtonPeer.action:(JI)V
end local 3 8: goto 13
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.KeyEvent.getKeyCode:()I
bipush 32
if_icmpne 13
10: aload 0
iconst_0
putfield sun.awt.X11.XButtonPeer.pressed:Z
11: aload 0
iconst_0
putfield sun.awt.X11.XButtonPeer.armed:Z
12: aload 0
invokevirtual sun.awt.X11.XButtonPeer.repaint:()V
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/X11/XButtonPeer;
0 14 1 e Ljava/awt/event/KeyEvent;
1 14 2 id I
7 8 3 modifiers I
MethodParameters:
Name Flags
e
public java.awt.Dimension getMinimumSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual sun.awt.X11.XButtonPeer.getPeerFont:()Ljava/awt/Font;
invokevirtual sun.awt.X11.XButtonPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 1
start local 1 1: aload 0
getfield sun.awt.X11.XButtonPeer.label:Ljava/lang/String;
ifnonnull 3
2: aload 0
ldc ""
putfield sun.awt.X11.XButtonPeer.label:Ljava/lang/String;
3: StackMap locals: java.awt.FontMetrics
StackMap stack:
new java.awt.Dimension
dup
aload 1
aload 0
getfield sun.awt.X11.XButtonPeer.label:Ljava/lang/String;
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
bipush 14
iadd
4: aload 1
invokevirtual java.awt.FontMetrics.getHeight:()I
bipush 8
iadd
5: invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XButtonPeer;
1 6 1 fm Ljava/awt/FontMetrics;
public java.awt.Dimension minimumSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XButtonPeer.getMinimumSize:()Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XButtonPeer;
void paintPeer(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0000)
Code:
stack=11, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11.XButtonPeer.disposed:Z
ifne 36
1: aload 0
invokevirtual sun.awt.X11.XButtonPeer.getPeerSize:()Ljava/awt/Dimension;
astore 2
start local 2 2: aload 1
aload 0
invokevirtual sun.awt.X11.XButtonPeer.getPeerBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
3: aload 1
iconst_0
iconst_0
aload 2
getfield java.awt.Dimension.width:I
aload 2
getfield java.awt.Dimension.height:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
4: aload 0
aload 1
aload 0
getfield sun.awt.X11.XButtonPeer.borderInsets:Ljava/awt/Insets;
getfield java.awt.Insets.left:I
5: aload 0
getfield sun.awt.X11.XButtonPeer.borderInsets:Ljava/awt/Insets;
getfield java.awt.Insets.top:I
6: aload 2
getfield java.awt.Dimension.width:I
aload 0
getfield sun.awt.X11.XButtonPeer.borderInsets:Ljava/awt/Insets;
getfield java.awt.Insets.left:I
aload 0
getfield sun.awt.X11.XButtonPeer.borderInsets:Ljava/awt/Insets;
getfield java.awt.Insets.right:I
iadd
isub
7: aload 2
getfield java.awt.Dimension.height:I
aload 0
getfield sun.awt.X11.XButtonPeer.borderInsets:Ljava/awt/Insets;
getfield java.awt.Insets.top:I
aload 0
getfield sun.awt.X11.XButtonPeer.borderInsets:Ljava/awt/Insets;
getfield java.awt.Insets.bottom:I
iadd
isub
8: invokevirtual sun.awt.X11.XButtonPeer.paintBorder:(Ljava/awt/Graphics;IIII)V
9: aload 1
invokevirtual java.awt.Graphics.getFontMetrics:()Ljava/awt/FontMetrics;
astore 3
start local 3 10: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 4
start local 4 11: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 6
start local 6 12: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 5
start local 5 13: aload 6
aload 2
getfield java.awt.Dimension.width:I
aload 0
getfield sun.awt.X11.XButtonPeer.contentAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.left:I
aload 0
getfield sun.awt.X11.XButtonPeer.contentAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.right:I
iadd
isub
putfield java.awt.Rectangle.width:I
14: aload 6
aload 2
getfield java.awt.Dimension.height:I
aload 0
getfield sun.awt.X11.XButtonPeer.contentAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.top:I
aload 0
getfield sun.awt.X11.XButtonPeer.contentAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.bottom:I
iadd
isub
putfield java.awt.Rectangle.height:I
15: aload 6
aload 0
getfield sun.awt.X11.XButtonPeer.contentAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.left:I
putfield java.awt.Rectangle.x:I
16: aload 6
aload 0
getfield sun.awt.X11.XButtonPeer.contentAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.top:I
putfield java.awt.Rectangle.y:I
17: aload 0
getfield sun.awt.X11.XButtonPeer.label:Ljava/lang/String;
ifnull 18
aload 0
getfield sun.awt.X11.XButtonPeer.label:Ljava/lang/String;
goto 19
StackMap locals: sun.awt.X11.XButtonPeer java.awt.Graphics java.awt.Dimension java.awt.FontMetrics java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle
StackMap stack:
18: ldc ""
StackMap locals:
StackMap stack: java.lang.String
19: astore 7
start local 7 20: aload 3
aload 7
aconst_null
21: iconst_0
iconst_0
22: iconst_0
iconst_0
23: aload 6
aload 5
aload 4
iconst_0
24: invokestatic javax.swing.SwingUtilities.layoutCompoundLabel:(Ljava/awt/FontMetrics;Ljava/lang/String;Ljavax/swing/Icon;IIIILjava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;I)Ljava/lang/String;
astore 8
start local 8 25: aload 0
invokevirtual sun.awt.X11.XButtonPeer.getPeerFont:()Ljava/awt/Font;
astore 9
start local 9 26: aload 1
aload 9
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
27: aload 0
getfield sun.awt.X11.XButtonPeer.pressed:Z
ifeq 29
aload 0
getfield sun.awt.X11.XButtonPeer.armed:Z
ifeq 29
28: aload 0
aload 1
aload 0
getfield sun.awt.X11.XButtonPeer.target:Ljava/awt/Component;
invokevirtual sun.awt.X11.XButtonPeer.paintButtonPressed:(Ljava/awt/Graphics;Ljava/awt/Component;)V
29: StackMap locals: java.lang.String java.lang.String java.awt.Font
StackMap stack:
aload 0
aload 1
aload 0
getfield sun.awt.X11.XButtonPeer.target:Ljava/awt/Component;
aload 4
aload 8
invokevirtual sun.awt.X11.XButtonPeer.paintText:(Ljava/awt/Graphics;Ljava/awt/Component;Ljava/awt/Rectangle;Ljava/lang/String;)V
30: aload 0
invokevirtual sun.awt.X11.XButtonPeer.hasFocus:()Z
ifeq 36
31: aload 0
aload 1
aload 0
getfield sun.awt.X11.XButtonPeer.focusInsets:Ljava/awt/Insets;
getfield java.awt.Insets.left:I
32: aload 0
getfield sun.awt.X11.XButtonPeer.focusInsets:Ljava/awt/Insets;
getfield java.awt.Insets.top:I
33: aload 2
getfield java.awt.Dimension.width:I
aload 0
getfield sun.awt.X11.XButtonPeer.focusInsets:Ljava/awt/Insets;
getfield java.awt.Insets.left:I
aload 0
getfield sun.awt.X11.XButtonPeer.focusInsets:Ljava/awt/Insets;
getfield java.awt.Insets.right:I
iadd
isub
iconst_1
isub
34: aload 2
getfield java.awt.Dimension.height:I
aload 0
getfield sun.awt.X11.XButtonPeer.focusInsets:Ljava/awt/Insets;
getfield java.awt.Insets.top:I
aload 0
getfield sun.awt.X11.XButtonPeer.focusInsets:Ljava/awt/Insets;
getfield java.awt.Insets.bottom:I
iadd
isub
iconst_1
isub
35: invokevirtual sun.awt.X11.XButtonPeer.paintFocus:(Ljava/awt/Graphics;IIII)V
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 36: StackMap locals: sun.awt.X11.XButtonPeer java.awt.Graphics
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XButtonPeer.flush:()V
37: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lsun/awt/X11/XButtonPeer;
0 38 1 g Ljava/awt/Graphics;
2 36 2 size Ljava/awt/Dimension;
10 36 3 fm Ljava/awt/FontMetrics;
11 36 4 textRect Ljava/awt/Rectangle;
13 36 5 iconRect Ljava/awt/Rectangle;
12 36 6 viewRect Ljava/awt/Rectangle;
20 36 7 llabel Ljava/lang/String;
25 36 8 text Ljava/lang/String;
26 36 9 f Ljava/awt/Font;
MethodParameters:
Name Flags
g final
public void paintBorder(java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Graphics;IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
iload 3
iload 4
iconst_1
isub
iload 5
iconst_1
isub
aload 0
getfield sun.awt.X11.XButtonPeer.pressed:Z
invokevirtual sun.awt.X11.XButtonPeer.drawMotif3DRect:(Ljava/awt/Graphics;IIIIZ)V
1: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XButtonPeer;
0 2 1 g Ljava/awt/Graphics;
0 2 2 x I
0 2 3 y I
0 2 4 w I
0 2 5 h I
MethodParameters:
Name Flags
g
x
y
w
h
protected void paintFocus(java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Graphics;IIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
aload 0
getfield sun.awt.X11.XButtonPeer.focusColor:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
1: aload 1
iload 2
iload 3
iload 4
iload 5
invokevirtual java.awt.Graphics.drawRect:(IIII)V
2: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XButtonPeer;
0 3 1 g Ljava/awt/Graphics;
0 3 2 x I
0 3 3 y I
0 3 4 w I
0 3 5 h I
MethodParameters:
Name Flags
g
x
y
w
h
protected void paintButtonPressed(java.awt.Graphics, java.awt.Component);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Component;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.awt.X11.XButtonPeer.getPeerSize:()Ljava/awt/Dimension;
astore 3
start local 3 1: aload 1
aload 0
getfield sun.awt.X11.XButtonPeer.selectColor:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
2: aload 1
aload 0
getfield sun.awt.X11.XButtonPeer.contentAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.left:I
3: aload 0
getfield sun.awt.X11.XButtonPeer.contentAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.top:I
4: aload 3
getfield java.awt.Dimension.width:I
aload 0
getfield sun.awt.X11.XButtonPeer.contentAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.left:I
aload 0
getfield sun.awt.X11.XButtonPeer.contentAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.right:I
iadd
isub
5: aload 3
getfield java.awt.Dimension.height:I
aload 0
getfield sun.awt.X11.XButtonPeer.contentAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.top:I
aload 0
getfield sun.awt.X11.XButtonPeer.contentAreaInsets:Ljava/awt/Insets;
getfield java.awt.Insets.bottom:I
iadd
isub
6: invokevirtual java.awt.Graphics.fillRect:(IIII)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11/XButtonPeer;
0 8 1 g Ljava/awt/Graphics;
0 8 2 b Ljava/awt/Component;
1 8 3 size Ljava/awt/Dimension;
MethodParameters:
Name Flags
g
b
protected void paintText(java.awt.Graphics, java.awt.Component, java.awt.Rectangle, java.lang.String);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Component;Ljava/awt/Rectangle;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokevirtual java.awt.Graphics.getFontMetrics:()Ljava/awt/FontMetrics;
astore 5
start local 5 1: iconst_m1
istore 6
start local 6 2: aload 0
invokevirtual sun.awt.X11.XButtonPeer.isEnabled:()Z
ifeq 6
3: aload 1
aload 0
invokevirtual sun.awt.X11.XButtonPeer.getPeerForeground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
4: aload 1
aload 4
iload 6
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
aload 5
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
invokestatic javax.swing.plaf.basic.BasicGraphicsUtils.drawStringUnderlineCharAt:(Ljava/awt/Graphics;Ljava/lang/String;III)V
5: goto 14
6: StackMap locals: java.awt.FontMetrics int
StackMap stack:
aload 1
aload 0
invokevirtual sun.awt.X11.XButtonPeer.getPeerBackground:()Ljava/awt/Color;
invokevirtual java.awt.Color.brighter:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
7: aload 1
aload 4
iload 6
8: aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
aload 5
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
9: invokestatic javax.swing.plaf.basic.BasicGraphicsUtils.drawStringUnderlineCharAt:(Ljava/awt/Graphics;Ljava/lang/String;III)V
10: aload 1
aload 0
invokevirtual sun.awt.X11.XButtonPeer.getPeerBackground:()Ljava/awt/Color;
invokevirtual java.awt.Color.darker:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
11: aload 1
aload 4
iload 6
12: aload 3
getfield java.awt.Rectangle.x:I
iconst_1
isub
aload 3
getfield java.awt.Rectangle.y:I
aload 5
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
iconst_1
isub
13: invokestatic javax.swing.plaf.basic.BasicGraphicsUtils.drawStringUnderlineCharAt:(Ljava/awt/Graphics;Ljava/lang/String;III)V
14: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/X11/XButtonPeer;
0 15 1 g Ljava/awt/Graphics;
0 15 2 c Ljava/awt/Component;
0 15 3 textRect Ljava/awt/Rectangle;
0 15 4 text Ljava/lang/String;
1 15 5 fm Ljava/awt/FontMetrics;
2 15 6 mnemonicIndex I
MethodParameters:
Name Flags
g
c
textRect
text
public void handlePropertyNotify(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.handlePropertyNotify:(Lsun/awt/X11/XEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
public java.awt.GraphicsConfiguration getGraphicsConfiguration();
descriptor: ()Ljava/awt/GraphicsConfiguration;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.X11.XComponentPeer.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
areturn
LocalVariableTable:
Start End Slot Name Signature
public sun.awt.X11.PropMwmHints getMWMHints();
descriptor: ()Lsun/awt/X11/PropMwmHints;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.X11.XComponentPeer.getMWMHints:()Lsun/awt/X11/PropMwmHints;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void postEventToEventQueue(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.postEventToEventQueue:(Ljava/awt/AWTEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void handleMotionNotify(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.handleMotionNotify:(Lsun/awt/X11/XEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
public boolean isEmbedded();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.X11.XComponentPeer.isEmbedded:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public sun.awt.X11.AwtGraphicsConfigData getGraphicsConfigurationData();
descriptor: ()Lsun/awt/X11/AwtGraphicsConfigData;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.X11.XComponentPeer.getGraphicsConfigurationData:()Lsun/awt/X11/AwtGraphicsConfigData;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void postKeyEvent(int, long, int, int, int, int, long, int, long, int, int);
descriptor: (IJIIIIJIJII)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=15, locals=15, args_size=12
0: aload 0
iload 1
lload 2
iload 4
iload 5
iload 6
iload 7
lload 8
iload 10
lload 11
iload 13
iload 14
invokespecial sun.awt.X11.XComponentPeer.postKeyEvent:(IJIIIIJIJII)V
return
LocalVariableTable:
Start End Slot Name Signature
public void handleXCrossingEvent(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.handleXCrossingEvent:(Lsun/awt/X11/XEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
public sun.java2d.SurfaceData getSurfaceData();
descriptor: ()Lsun/java2d/SurfaceData;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.X11.XComponentPeer.getSurfaceData:()Lsun/java2d/SurfaceData;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isMouseAbove();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.X11.XComponentPeer.isMouseAbove:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object getTarget();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.X11.XComponentPeer.getTarget:()Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void postPaintEvent(java.awt.Component, int, int, int, int);
descriptor: (Ljava/awt/Component;IIII)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=6, locals=6, args_size=6
0: aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
invokespecial sun.awt.X11.XComponentPeer.postPaintEvent:(Ljava/awt/Component;IIII)V
return
LocalVariableTable:
Start End Slot Name Signature
public void reshape(java.awt.Rectangle);
descriptor: (Ljava/awt/Rectangle;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.reshape:(Ljava/awt/Rectangle;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void handleButtonPressRelease(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.handleButtonPressRelease:(Lsun/awt/X11/XEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
public java.awt.Component getEventSource();
descriptor: ()Ljava/awt/Component;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.X11.XComponentPeer.getEventSource:()Ljava/awt/Component;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void (int, int, int, int);
descriptor: (IIII)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=5
0: aload 0
iload 1
iload 2
iload 3
iload 4
invokespecial sun.awt.X11.XComponentPeer.popup:(IIII)V
return
LocalVariableTable:
Start End Slot Name Signature
public void handleKeyRelease(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.handleKeyRelease:(Lsun/awt/X11/XEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void handleMapNotifyEvent(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.handleMapNotifyEvent:(Lsun/awt/X11/XEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
public java.awt.Point getLocationOnScreen();
descriptor: ()Ljava/awt/Point;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.X11.XComponentPeer.getLocationOnScreen:()Ljava/awt/Point;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.awt.Rectangle getTargetBounds();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.X11.XComponentPeer.getTargetBounds:()Ljava/awt/Rectangle;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void doLayout(int, int, int, int);
descriptor: (IIII)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=5
0: aload 0
iload 1
iload 2
iload 3
iload 4
invokespecial sun.awt.X11.XComponentPeer.doLayout:(IIII)V
return
LocalVariableTable:
Start End Slot Name Signature
public void handleUnmapNotifyEvent(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.handleUnmapNotifyEvent:(Lsun/awt/X11/XEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void handleExposeEvent(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.handleExposeEvent:(Lsun/awt/X11/XEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void handleConfigureNotifyEvent(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.handleConfigureNotifyEvent:(Lsun/awt/X11/XEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void setMWMHints(sun.awt.X11.PropMwmHints);
descriptor: (Lsun/awt/X11/PropMwmHints;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.setMWMHints:(Lsun/awt/X11/PropMwmHints;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void handleKeyPress(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.handleKeyPress:(Lsun/awt/X11/XEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void setFullScreenExclusiveModeState(boolean);
descriptor: (Z)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokespecial sun.awt.X11.XComponentPeer.setFullScreenExclusiveModeState:(Z)V
return
LocalVariableTable:
Start End Slot Name Signature
public java.awt.image.ColorModel getColorModel();
descriptor: ()Ljava/awt/image/ColorModel;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.X11.XComponentPeer.getColorModel:()Ljava/awt/image/ColorModel;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.awt.image.ColorModel getColorModel(int);
descriptor: (I)Ljava/awt/image/ColorModel;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokespecial sun.awt.X11.XComponentPeer.getColorModel:(I)Ljava/awt/image/ColorModel;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "XButtonPeer.java"