class sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton extends javax.swing.plaf.basic.BasicArrowButton
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton
super_class: javax.swing.plaf.basic.BasicArrowButton
{
javax.swing.UIDefaults uidefaults;
descriptor: Ljavax/swing/UIDefaults;
flags: (0x0000)
private java.awt.Color darkShadow;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private java.awt.Color lightShadow;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private java.awt.Color buttonBack;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
final sun.awt.X11.XTextAreaPeer this$0;
descriptor: Lsun/awt/X11/XTextAreaPeer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(sun.awt.X11.XTextAreaPeer, int);
descriptor: (Lsun/awt/X11/XTextAreaPeer;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.this$0:Lsun/awt/X11/XTextAreaPeer;
1: aload 0
iload 2
invokespecial javax.swing.plaf.basic.BasicArrowButton.<init>:(I)V
2: aload 0
invokestatic sun.awt.X11.XToolkit.getUIDefaults:()Ljavax/swing/UIDefaults;
putfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.uidefaults:Ljavax/swing/UIDefaults;
3: aload 0
getstatic java.awt.SystemColor.controlShadow:Ljava/awt/SystemColor;
putfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.darkShadow:Ljava/awt/Color;
4: aload 0
getstatic java.awt.SystemColor.controlLtHighlight:Ljava/awt/SystemColor;
putfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.lightShadow:Ljava/awt/Color;
5: aload 0
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.uidefaults:Ljavax/swing/UIDefaults;
ldc "ScrollBar.track"
invokevirtual javax.swing.UIDefaults.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
putfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.buttonBack:Ljava/awt/Color;
6: iload 2
tableswitch { // 1 - 7
1: 7
2: 9
3: 7
4: 9
5: 7
6: 9
7: 7
default: 9
}
7: StackMap locals: sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton sun.awt.X11.XTextAreaPeer int
StackMap stack:
aload 0
iload 2
putfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.direction:I
8: goto 10
9: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "invalid direction"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.setRequestFocusEnabled:(Z)V
11: aload 0
iconst_1
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.setOpaque:(Z)V
12: aload 0
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.uidefaults:Ljavax/swing/UIDefaults;
ldc "ScrollBar.thumb"
invokevirtual javax.swing.UIDefaults.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.setBackground:(Ljava/awt/Color;)V
13: aload 0
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.uidefaults:Ljavax/swing/UIDefaults;
ldc "ScrollBar.foreground"
invokevirtual javax.swing.UIDefaults.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.setForeground:(Ljava/awt/Color;)V
14: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarButton;
0 15 2 direction I
MethodParameters:
Name Flags
this$0 final
direction
public java.awt.Dimension getPreferredSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.direction:I
tableswitch { // 1 - 7
1: 1
2: 2
3: 2
4: 2
5: 1
6: 2
7: 2
default: 2
}
1: StackMap locals:
StackMap stack:
new java.awt.Dimension
dup
bipush 11
bipush 12
invokespecial java.awt.Dimension.<init>:(II)V
areturn
2: StackMap locals:
StackMap stack:
new java.awt.Dimension
dup
bipush 12
bipush 11
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarButton;
public java.awt.Dimension getMinimumSize();
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.XTextAreaPeer$XAWTScrollBarButton.getPreferredSize:()Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarButton;
public java.awt.Dimension getMaximumSize();
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.XTextAreaPeer$XAWTScrollBarButton.getPreferredSize:()Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarButton;
public boolean isFocusTraversable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarButton;
public void paint(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=14, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.getWidth:()I
istore 2
start local 2 1: aload 0
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.getHeight:()I
istore 3
start local 3 2: aload 0
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.isOpaque:()Z
ifeq 5
3: aload 1
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.buttonBack:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
4: aload 1
iconst_0
iconst_0
iload 2
iload 3
invokevirtual java.awt.Graphics.fillRect:(IIII)V
5: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.getModel:()Ljavax/swing/ButtonModel;
invokeinterface javax.swing.ButtonModel.isPressed:()Z
istore 4
start local 4 6: iload 4
ifeq 7
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.darkShadow:Ljava/awt/Color;
goto 8
StackMap locals: int
StackMap stack:
7: aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.lightShadow:Ljava/awt/Color;
StackMap locals:
StackMap stack: java.awt.Color
8: astore 5
start local 5 9: iload 4
ifeq 10
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.lightShadow:Ljava/awt/Color;
goto 11
StackMap locals: java.awt.Color
StackMap stack:
10: aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.darkShadow:Ljava/awt/Color;
StackMap locals:
StackMap stack: java.awt.Color
11: astore 6
start local 6 12: aload 0
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.getBackground:()Ljava/awt/Color;
astore 7
start local 7 13: iload 2
iconst_2
idiv
istore 8
start local 8 14: iload 3
iconst_2
idiv
istore 9
start local 9 15: iload 2
iload 3
invokestatic java.lang.Math.min:(II)I
istore 10
start local 10 16: aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.direction:I
tableswitch { // 1 - 7
1: 17
2: 104
3: 61
4: 104
5: 40
6: 104
7: 82
default: 104
}
17: StackMap locals: sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton java.awt.Graphics int int int java.awt.Color java.awt.Color java.awt.Color int int int
StackMap stack:
aload 1
aload 5
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
18: aload 1
iload 8
iconst_0
iload 8
iconst_0
invokevirtual java.awt.Graphics.drawLine:(IIII)V
19: iload 8
iconst_1
isub
istore 11
start local 11 20: iconst_1
istore 12
start local 12 21: iconst_1
istore 13
start local 13 22: goto 38
23: StackMap locals: int int int
StackMap stack:
aload 1
aload 5
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
24: aload 1
iload 11
iload 12
iload 11
iload 12
invokevirtual java.awt.Graphics.drawLine:(IIII)V
25: iload 12
iload 10
iconst_2
isub
if_icmplt 27
26: aload 1
iload 11
iload 12
iconst_1
iadd
iload 11
iload 12
iconst_1
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
27: StackMap locals:
StackMap stack:
aload 1
aload 7
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
28: aload 1
iload 11
iconst_1
iadd
iload 12
iload 11
iload 13
iadd
iload 12
invokevirtual java.awt.Graphics.drawLine:(IIII)V
29: iload 12
iload 10
iconst_2
isub
if_icmpge 31
30: aload 1
iload 11
iload 12
iconst_1
iadd
iload 11
iload 13
iadd
iconst_1
iadd
iload 12
iconst_1
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
31: StackMap locals:
StackMap stack:
aload 1
aload 6
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
32: aload 1
iload 11
iload 13
iadd
iconst_1
iadd
iload 12
iload 11
iload 13
iadd
iconst_1
iadd
iload 12
invokevirtual java.awt.Graphics.drawLine:(IIII)V
33: iload 12
iload 10
iconst_2
isub
if_icmplt 35
34: aload 1
iload 11
iconst_1
iadd
iload 12
iconst_1
iadd
iload 11
iload 13
iadd
iconst_1
iadd
iload 12
iconst_1
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
35: StackMap locals:
StackMap stack:
iinc 13 2
36: iinc 11 -1
37: iinc 12 2
StackMap locals:
StackMap stack:
38: iload 12
iload 10
iconst_2
isub
if_icmple 23
end local 13 end local 12 end local 11 39: goto 104
40: StackMap locals:
StackMap stack:
aload 1
aload 6
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
41: aload 1
iload 8
iload 10
iload 8
iload 10
invokevirtual java.awt.Graphics.drawLine:(IIII)V
42: iload 8
iconst_1
isub
istore 11
start local 11 43: iload 10
iconst_1
isub
istore 12
start local 12 44: iconst_1
istore 13
start local 13 45: goto 59
46: StackMap locals: int int int
StackMap stack:
aload 1
aload 5
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
47: aload 1
iload 11
iload 12
iload 11
iload 12
invokevirtual java.awt.Graphics.drawLine:(IIII)V
48: iload 12
iconst_2
if_icmpgt 50
49: aload 1
iload 11
iload 12
iconst_1
isub
iload 11
iload 13
iadd
iconst_1
iadd
iload 12
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
50: StackMap locals:
StackMap stack:
aload 1
aload 7
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
51: aload 1
iload 11
iconst_1
iadd
iload 12
iload 11
iload 13
iadd
iload 12
invokevirtual java.awt.Graphics.drawLine:(IIII)V
52: iload 12
iconst_2
if_icmple 54
53: aload 1
iload 11
iload 12
iconst_1
isub
iload 11
iload 13
iadd
iconst_1
iadd
iload 12
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
54: StackMap locals:
StackMap stack:
aload 1
aload 6
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
55: aload 1
iload 11
iload 13
iadd
iconst_1
iadd
iload 12
iload 11
iload 13
iadd
iconst_1
iadd
iload 12
invokevirtual java.awt.Graphics.drawLine:(IIII)V
56: iinc 13 2
57: iinc 11 -1
58: iinc 12 -2
StackMap locals:
StackMap stack:
59: iload 12
iconst_1
if_icmpge 46
end local 13 end local 12 end local 11 60: goto 104
61: StackMap locals:
StackMap stack:
aload 1
aload 5
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
62: aload 1
iload 10
iload 9
iload 10
iload 9
invokevirtual java.awt.Graphics.drawLine:(IIII)V
63: iload 9
iconst_1
isub
istore 11
start local 11 64: iload 10
iconst_1
isub
istore 12
start local 12 65: iconst_1
istore 13
start local 13 66: goto 80
67: StackMap locals: int int int
StackMap stack:
aload 1
aload 5
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
68: aload 1
iload 12
iload 11
iload 12
iload 11
invokevirtual java.awt.Graphics.drawLine:(IIII)V
69: iload 12
iconst_2
if_icmpgt 71
70: aload 1
iload 12
iconst_1
isub
iload 11
iload 12
iconst_1
isub
iload 11
iload 13
iadd
iconst_1
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
71: StackMap locals:
StackMap stack:
aload 1
aload 7
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
72: aload 1
iload 12
iload 11
iconst_1
iadd
iload 12
iload 11
iload 13
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
73: iload 12
iconst_2
if_icmple 75
74: aload 1
iload 12
iconst_1
isub
iload 11
iload 12
iconst_1
isub
iload 11
iload 13
iadd
iconst_1
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
75: StackMap locals:
StackMap stack:
aload 1
aload 6
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
76: aload 1
iload 12
iload 11
iload 13
iadd
iconst_1
iadd
iload 12
iload 11
iload 13
iadd
iconst_1
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
77: iinc 13 2
78: iinc 11 -1
79: iinc 12 -2
StackMap locals:
StackMap stack:
80: iload 12
iconst_1
if_icmpge 67
end local 13 end local 12 end local 11 81: goto 104
82: StackMap locals:
StackMap stack:
aload 1
aload 6
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
83: aload 1
iconst_0
iload 9
iconst_0
iload 9
invokevirtual java.awt.Graphics.drawLine:(IIII)V
84: iload 9
iconst_1
isub
istore 11
start local 11 85: iconst_1
istore 12
start local 12 86: iconst_1
istore 13
start local 13 87: goto 103
88: StackMap locals: int int int
StackMap stack:
aload 1
aload 5
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
89: aload 1
iload 12
iload 11
iload 12
iload 11
invokevirtual java.awt.Graphics.drawLine:(IIII)V
90: iload 12
iload 10
iconst_2
isub
if_icmplt 92
91: aload 1
iload 12
iconst_1
iadd
iload 11
iload 12
iconst_1
iadd
iload 11
invokevirtual java.awt.Graphics.drawLine:(IIII)V
92: StackMap locals:
StackMap stack:
aload 1
aload 7
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
93: aload 1
iload 12
iload 11
iconst_1
iadd
iload 12
iload 11
iload 13
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
94: iload 12
iload 10
iconst_2
isub
if_icmpge 96
95: aload 1
iload 12
iconst_1
iadd
iload 11
iload 12
iconst_1
iadd
iload 11
iload 13
iadd
iconst_1
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
96: StackMap locals:
StackMap stack:
aload 1
aload 6
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
97: aload 1
iload 12
iload 11
iload 13
iadd
iconst_1
iadd
iload 12
iload 11
iload 13
iadd
iconst_1
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
98: iload 12
iload 10
iconst_2
isub
if_icmplt 100
99: aload 1
iload 12
iconst_1
iadd
iload 11
iconst_1
iadd
iload 12
iconst_1
iadd
iload 11
iload 13
iadd
iconst_1
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
100: StackMap locals:
StackMap stack:
iinc 13 2
101: iinc 11 -1
102: iinc 12 2
StackMap locals:
StackMap stack:
103: iload 12
iload 10
iconst_2
isub
if_icmple 88
end local 13 end local 12 end local 11 104: StackMap locals:
StackMap stack:
return
end local 10 end local 9 end local 8 end local 7 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 105 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarButton;
0 105 1 g Ljava/awt/Graphics;
1 105 2 w I
2 105 3 h I
6 105 4 isPressed Z
9 105 5 lead Ljava/awt/Color;
12 105 6 trail Ljava/awt/Color;
13 105 7 fill Ljava/awt/Color;
14 105 8 cx I
15 105 9 cy I
16 105 10 s I
20 39 11 x I
21 39 12 y I
22 39 13 dx I
43 60 11 x I
44 60 12 y I
45 60 13 dx I
64 81 11 y I
65 81 12 x I
66 81 13 dy I
85 104 11 y I
86 104 12 x I
87 104 13 dy I
MethodParameters:
Name Flags
g
}
SourceFile: "XTextAreaPeer.java"
NestHost: sun.awt.X11.XTextAreaPeer
InnerClasses:
XAWTScrollBarButton = sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton of sun.awt.X11.XTextAreaPeer