final class sun.lwawt.LWScrollBarPeer extends sun.lwawt.LWComponentPeer<java.awt.Scrollbar, javax.swing.JScrollBar> implements java.awt.peer.ScrollbarPeer, java.awt.event.AdjustmentListener
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.LWScrollBarPeer
super_class: sun.lwawt.LWComponentPeer
{
private int currentValue;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(java.awt.Scrollbar, sun.lwawt.PlatformComponent);
descriptor: (Ljava/awt/Scrollbar;Lsun/lwawt/PlatformComponent;)V
flags: (0x0000)
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 sun.lwawt.LWComponentPeer.<init>:(Ljava/awt/Component;Lsun/lwawt/PlatformComponent;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/LWScrollBarPeer;
0 2 1 target Ljava/awt/Scrollbar;
0 2 2 platformComponent Lsun/lwawt/PlatformComponent;
MethodParameters:
Name Flags
target final
platformComponent final
javax.swing.JScrollBar createDelegate();
descriptor: ()Ljavax/swing/JScrollBar;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: new javax.swing.JScrollBar
dup
invokespecial javax.swing.JScrollBar.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWScrollBarPeer;
void initializeImpl();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokespecial sun.lwawt.LWComponentPeer.initializeImpl:()V
1: aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.Scrollbar
astore 1
start local 1 2: aload 0
aload 1
invokevirtual java.awt.Scrollbar.getUnitIncrement:()I
invokevirtual sun.lwawt.LWScrollBarPeer.setLineIncrement:(I)V
3: aload 0
aload 1
invokevirtual java.awt.Scrollbar.getBlockIncrement:()I
invokevirtual sun.lwawt.LWScrollBarPeer.setPageIncrement:(I)V
4: aload 0
aload 1
invokevirtual java.awt.Scrollbar.getValue:()I
aload 1
invokevirtual java.awt.Scrollbar.getVisibleAmount:()I
5: aload 1
invokevirtual java.awt.Scrollbar.getMinimum:()I
aload 1
invokevirtual java.awt.Scrollbar.getMaximum:()I
6: invokevirtual sun.lwawt.LWScrollBarPeer.setValues:(IIII)V
7: aload 1
invokevirtual java.awt.Scrollbar.getOrientation:()I
istore 2
start local 2 8: aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollBar
astore 3
start local 3 9: aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 4
monitorenter
10: aload 3
iload 2
ifne 12
11: iconst_0
goto 13
12: StackMap locals: sun.lwawt.LWScrollBarPeer java.awt.Scrollbar int javax.swing.JScrollBar java.lang.Object
StackMap stack: javax.swing.JScrollBar
iconst_1
13: StackMap locals: sun.lwawt.LWScrollBarPeer java.awt.Scrollbar int javax.swing.JScrollBar java.lang.Object
StackMap stack: javax.swing.JScrollBar int
invokevirtual javax.swing.JScrollBar.setOrientation:(I)V
14: aload 3
aload 0
invokevirtual javax.swing.JScrollBar.addAdjustmentListener:(Ljava/awt/event/AdjustmentListener;)V
15: aload 4
monitorexit
16: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
17: aload 4
monitorexit
18: athrow
19: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/lwawt/LWScrollBarPeer;
2 20 1 target Ljava/awt/Scrollbar;
8 20 2 orientation I
9 20 3 delegate Ljavax/swing/JScrollBar;
Exception table:
from to target type
10 16 17 any
17 18 17 any
public void setValues(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 5
monitorenter
1: aload 0
iload 1
putfield sun.lwawt.LWScrollBarPeer.currentValue:I
2: aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollBar
iload 1
iload 2
iload 3
iload 4
invokevirtual javax.swing.JScrollBar.setValues:(IIII)V
3: aload 5
monitorexit
4: goto 7
StackMap locals: sun.lwawt.LWScrollBarPeer int int int int java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 5
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/lwawt/LWScrollBarPeer;
0 8 1 value I
0 8 2 visible I
0 8 3 minimum I
0 8 4 maximum I
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
value final
visible final
minimum final
maximum final
public void setLineIncrement(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollBar
iload 1
invokevirtual javax.swing.JScrollBar.setUnitIncrement:(I)V
2: aload 2
monitorexit
3: goto 6
StackMap locals: sun.lwawt.LWScrollBarPeer int java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/lwawt/LWScrollBarPeer;
0 7 1 l I
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
l final
public void setPageIncrement(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollBar
iload 1
invokevirtual javax.swing.JScrollBar.setBlockIncrement:(I)V
2: aload 2
monitorexit
3: goto 6
StackMap locals: sun.lwawt.LWScrollBarPeer int java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/lwawt/LWScrollBarPeer;
0 7 1 l I
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
l final
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent);
descriptor: (Ljava/awt/event/AdjustmentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.AdjustmentEvent.getValue:()I
istore 2
start local 2 1: aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 3
monitorenter
2: aload 0
getfield sun.lwawt.LWScrollBarPeer.currentValue:I
iload 2
if_icmpne 5
3: aload 3
monitorexit
4: return
5: StackMap locals: int java.lang.Object
StackMap stack:
aload 0
iload 2
putfield sun.lwawt.LWScrollBarPeer.currentValue:I
6: aload 3
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 3
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.Scrollbar
aload 1
invokevirtual java.awt.event.AdjustmentEvent.getValueIsAdjusting:()Z
invokevirtual java.awt.Scrollbar.setValueIsAdjusting:(Z)V
11: aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.Scrollbar
iload 2
invokevirtual java.awt.Scrollbar.setValue:(I)V
12: aload 0
new java.awt.event.AdjustmentEvent
dup
aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.Adjustable
aload 1
invokevirtual java.awt.event.AdjustmentEvent.getID:()I
13: aload 1
invokevirtual java.awt.event.AdjustmentEvent.getAdjustmentType:()I
iload 2
14: aload 1
invokevirtual java.awt.event.AdjustmentEvent.getValueIsAdjusting:()Z
invokespecial java.awt.event.AdjustmentEvent.<init>:(Ljava/awt/Adjustable;IIIZ)V
15: invokevirtual sun.lwawt.LWScrollBarPeer.postEvent:(Ljava/awt/AWTEvent;)V
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/lwawt/LWScrollBarPeer;
0 17 1 e Ljava/awt/event/AdjustmentEvent;
1 17 2 value I
Exception table:
from to target type
2 4 8 any
5 7 8 any
8 9 8 any
MethodParameters:
Name Flags
e final
javax.swing.JComponent createDelegate();
descriptor: ()Ljavax/swing/JComponent;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.lwawt.LWScrollBarPeer.createDelegate:()Ljavax/swing/JScrollBar;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lsun/lwawt/LWComponentPeer<Ljava/awt/Scrollbar;Ljavax/swing/JScrollBar;>;Ljava/awt/peer/ScrollbarPeer;Ljava/awt/event/AdjustmentListener;
SourceFile: "LWScrollBarPeer.java"