final class sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI extends javax.swing.plaf.basic.BasicScrollBarUI
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI
super_class: javax.swing.plaf.basic.BasicScrollBarUI
{
final sun.awt.X11.XTextAreaPeer this$0;
descriptor: Lsun/awt/X11/XTextAreaPeer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(sun.awt.X11.XTextAreaPeer);
descriptor: (Lsun/awt/X11/XTextAreaPeer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.this$0:Lsun/awt/X11/XTextAreaPeer;
aload 0
invokespecial javax.swing.plaf.basic.BasicScrollBarUI.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarUI;
MethodParameters:
Name Flags
this$0 final
protected void installDefaults();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicScrollBarUI.installDefaults:()V
1: aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.scrollbar:Ljavax/swing/JScrollBar;
new sun.awt.X11.XTextAreaPeer$BevelBorder
dup
iconst_0
getstatic java.awt.SystemColor.controlDkShadow:Ljava/awt/SystemColor;
getstatic java.awt.SystemColor.controlLtHighlight:Ljava/awt/SystemColor;
invokespecial sun.awt.X11.XTextAreaPeer$BevelBorder.<init>:(ZLjava/awt/Color;Ljava/awt/Color;)V
invokevirtual javax.swing.JScrollBar.setBorder:(Ljavax/swing/border/Border;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarUI;
protected void configureScrollBarColors();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic sun.awt.X11.XToolkit.getUIDefaults:()Ljavax/swing/UIDefaults;
astore 1
start local 1 1: aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.scrollbar:Ljavax/swing/JScrollBar;
invokevirtual javax.swing.JScrollBar.getBackground:()Ljava/awt/Color;
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
instanceof javax.swing.plaf.UIResource
ifeq 4
3: StackMap locals: javax.swing.UIDefaults java.awt.Color
StackMap stack:
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.scrollbar:Ljavax/swing/JScrollBar;
aload 1
ldc "ScrollBar.background"
invokevirtual javax.swing.UIDefaults.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual javax.swing.JScrollBar.setBackground:(Ljava/awt/Color;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.scrollbar:Ljavax/swing/JScrollBar;
invokevirtual javax.swing.JScrollBar.getForeground:()Ljava/awt/Color;
astore 3
start local 3 5: aload 3
ifnull 6
aload 3
instanceof javax.swing.plaf.UIResource
ifeq 7
6: StackMap locals: java.awt.Color
StackMap stack:
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.scrollbar:Ljavax/swing/JScrollBar;
aload 1
ldc "ScrollBar.foreground"
invokevirtual javax.swing.UIDefaults.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual javax.swing.JScrollBar.setForeground:(Ljava/awt/Color;)V
7: StackMap locals:
StackMap stack:
aload 0
aload 1
ldc "ScrollBar.thumbHighlight"
invokevirtual javax.swing.UIDefaults.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
putfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.thumbHighlightColor:Ljava/awt/Color;
8: aload 0
aload 1
ldc "ScrollBar.thumbShadow"
invokevirtual javax.swing.UIDefaults.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
putfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.thumbLightShadowColor:Ljava/awt/Color;
9: aload 0
aload 1
ldc "ScrollBar.thumbDarkShadow"
invokevirtual javax.swing.UIDefaults.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
putfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.thumbDarkShadowColor:Ljava/awt/Color;
10: aload 0
aload 1
ldc "ScrollBar.thumb"
invokevirtual javax.swing.UIDefaults.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
putfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.thumbColor:Ljava/awt/Color;
11: aload 0
aload 1
ldc "ScrollBar.track"
invokevirtual javax.swing.UIDefaults.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
putfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.trackColor:Ljava/awt/Color;
12: aload 0
aload 1
ldc "ScrollBar.trackHighlight"
invokevirtual javax.swing.UIDefaults.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
putfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.trackHighlightColor:Ljava/awt/Color;
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarUI;
1 14 1 uidefaults Ljavax/swing/UIDefaults;
2 14 2 bg Ljava/awt/Color;
5 14 3 fg Ljava/awt/Color;
protected javax.swing.JButton createDecreaseButton(int);
descriptor: (I)Ljavax/swing/JButton;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton
dup
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.this$0:Lsun/awt/X11/XTextAreaPeer;
iload 1
invokespecial sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.<init>:(Lsun/awt/X11/XTextAreaPeer;I)V
astore 2
start local 2 1: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarUI;
0 2 1 orientation I
1 2 2 b Ljavax/swing/JButton;
MethodParameters:
Name Flags
orientation
protected javax.swing.JButton createIncreaseButton(int);
descriptor: (I)Ljavax/swing/JButton;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton
dup
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.this$0:Lsun/awt/X11/XTextAreaPeer;
iload 1
invokespecial sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton.<init>:(Lsun/awt/X11/XTextAreaPeer;I)V
astore 2
start local 2 1: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarUI;
0 2 1 orientation I
1 2 2 b Ljavax/swing/JButton;
MethodParameters:
Name Flags
orientation
public javax.swing.JButton getDecreaseButton();
descriptor: ()Ljavax/swing/JButton;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.decrButton:Ljavax/swing/JButton;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarUI;
public javax.swing.JButton getIncreaseButton();
descriptor: ()Ljavax/swing/JButton;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.incrButton:Ljavax/swing/JButton;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarUI;
public void paint(java.awt.Graphics, javax.swing.JComponent);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 0
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.getTrackBounds:()Ljava/awt/Rectangle;
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.paintTrack:(Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljava/awt/Rectangle;)V
1: aload 0
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.getThumbBounds:()Ljava/awt/Rectangle;
astore 3
start local 3 2: aload 0
aload 1
aload 2
aload 3
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.paintThumb:(Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljava/awt/Rectangle;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarUI;
0 4 1 g Ljava/awt/Graphics;
0 4 2 c Ljavax/swing/JComponent;
2 4 3 thumbBounds Ljava/awt/Rectangle;
MethodParameters:
Name Flags
g
c
public void paintThumb(java.awt.Graphics, javax.swing.JComponent, java.awt.Rectangle);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljava/awt/Rectangle;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.scrollbar:Ljavax/swing/JScrollBar;
invokevirtual javax.swing.JScrollBar.isEnabled:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.awt.Rectangle.isEmpty:()Z
ifeq 4
3: aload 0
invokevirtual sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.getTrackBounds:()Ljava/awt/Rectangle;
astore 3
4: StackMap locals:
StackMap stack:
aload 3
getfield java.awt.Rectangle.width:I
istore 4
start local 4 5: aload 3
getfield java.awt.Rectangle.height:I
istore 5
start local 5 6: aload 1
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
invokevirtual java.awt.Graphics.translate:(II)V
7: aload 1
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.thumbColor:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
8: aload 1
iconst_0
iconst_0
iload 4
iconst_1
isub
iload 5
iconst_1
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
9: aload 1
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.thumbHighlightColor:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
10: aload 1
iconst_0
iconst_0
iconst_0
iload 5
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
11: aload 1
iconst_1
iconst_0
iload 4
iconst_1
isub
iconst_0
invokevirtual java.awt.Graphics.drawLine:(IIII)V
12: aload 1
aload 0
getfield sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI.thumbLightShadowColor:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
13: aload 1
iconst_1
iload 5
iconst_1
isub
iload 4
iconst_1
isub
iload 5
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
14: aload 1
iload 4
iconst_1
isub
iconst_1
iload 4
iconst_1
isub
iload 5
iconst_2
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
15: aload 1
aload 3
getfield java.awt.Rectangle.x:I
ineg
aload 3
getfield java.awt.Rectangle.y:I
ineg
invokevirtual java.awt.Graphics.translate:(II)V
16: 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 17 0 this Lsun/awt/X11/XTextAreaPeer$XAWTScrollBarUI;
0 17 1 g Ljava/awt/Graphics;
0 17 2 c Ljavax/swing/JComponent;
0 17 3 thumbBounds Ljava/awt/Rectangle;
5 17 4 w I
6 17 5 h I
MethodParameters:
Name Flags
g
c
thumbBounds
}
SourceFile: "XTextAreaPeer.java"
NestHost: sun.awt.X11.XTextAreaPeer
InnerClasses:
BevelBorder = sun.awt.X11.XTextAreaPeer$BevelBorder of sun.awt.X11.XTextAreaPeer
final XAWTScrollBarButton = sun.awt.X11.XTextAreaPeer$XAWTScrollBarButton of sun.awt.X11.XTextAreaPeer
final XAWTScrollBarUI = sun.awt.X11.XTextAreaPeer$XAWTScrollBarUI of sun.awt.X11.XTextAreaPeer