public class javax.swing.JScrollPane$ScrollBar extends javax.swing.JScrollBar implements javax.swing.plaf.UIResource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.JScrollPane$ScrollBar
super_class: javax.swing.JScrollBar
{
private boolean unitIncrementSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean blockIncrementSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final javax.swing.JScrollPane this$0;
descriptor: Ljavax/swing/JScrollPane;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(javax.swing.JScrollPane, int);
descriptor: (Ljavax/swing/JScrollPane;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 javax.swing.JScrollPane$ScrollBar.this$0:Ljavax/swing/JScrollPane;
1: aload 0
iload 2
invokespecial javax.swing.JScrollBar.<init>:(I)V
2: aload 0
ldc "JScrollBar.fastWheelScrolling"
3: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
4: invokevirtual javax.swing.JScrollPane$ScrollBar.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
5: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/JScrollPane$ScrollBar;
0 6 2 orientation I
MethodParameters:
Name Flags
this$0 final
orientation
public void setUnitIncrement(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield javax.swing.JScrollPane$ScrollBar.unitIncrementSet:Z
1: aload 0
ldc "JScrollBar.fastWheelScrolling"
aconst_null
invokevirtual javax.swing.JScrollPane$ScrollBar.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 0
iload 1
invokespecial javax.swing.JScrollBar.setUnitIncrement:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JScrollPane$ScrollBar;
0 4 1 unitIncrement I
MethodParameters:
Name Flags
unitIncrement
public int getUnitIncrement(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JScrollPane$ScrollBar.this$0:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getViewport:()Ljavax/swing/JViewport;
astore 2
start local 2 1: aload 0
getfield javax.swing.JScrollPane$ScrollBar.unitIncrementSet:Z
ifne 6
aload 2
ifnull 6
2: aload 2
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
instanceof javax.swing.Scrollable
ifeq 6
3: aload 2
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
checkcast javax.swing.Scrollable
astore 3
start local 3 4: aload 2
invokevirtual javax.swing.JViewport.getViewRect:()Ljava/awt/Rectangle;
astore 4
start local 4 5: aload 3
aload 4
aload 0
invokevirtual javax.swing.JScrollPane$ScrollBar.getOrientation:()I
iload 1
invokeinterface javax.swing.Scrollable.getScrollableUnitIncrement:(Ljava/awt/Rectangle;II)I
ireturn
end local 4 end local 3 6: StackMap locals: javax.swing.JViewport
StackMap stack:
aload 0
iload 1
invokespecial javax.swing.JScrollBar.getUnitIncrement:(I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JScrollPane$ScrollBar;
0 7 1 direction I
1 7 2 vp Ljavax/swing/JViewport;
4 6 3 view Ljavax/swing/Scrollable;
5 6 4 vr Ljava/awt/Rectangle;
MethodParameters:
Name Flags
direction
public void setBlockIncrement(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield javax.swing.JScrollPane$ScrollBar.blockIncrementSet:Z
1: aload 0
ldc "JScrollBar.fastWheelScrolling"
aconst_null
invokevirtual javax.swing.JScrollPane$ScrollBar.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 0
iload 1
invokespecial javax.swing.JScrollBar.setBlockIncrement:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JScrollPane$ScrollBar;
0 4 1 blockIncrement I
MethodParameters:
Name Flags
blockIncrement
public int getBlockIncrement(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JScrollPane$ScrollBar.this$0:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getViewport:()Ljavax/swing/JViewport;
astore 2
start local 2 1: aload 0
getfield javax.swing.JScrollPane$ScrollBar.blockIncrementSet:Z
ifne 2
aload 2
ifnonnull 3
2: StackMap locals: javax.swing.JViewport
StackMap stack:
aload 0
iload 1
invokespecial javax.swing.JScrollBar.getBlockIncrement:(I)I
ireturn
3: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
instanceof javax.swing.Scrollable
ifeq 7
4: aload 2
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
checkcast javax.swing.Scrollable
astore 3
start local 3 5: aload 2
invokevirtual javax.swing.JViewport.getViewRect:()Ljava/awt/Rectangle;
astore 4
start local 4 6: aload 3
aload 4
aload 0
invokevirtual javax.swing.JScrollPane$ScrollBar.getOrientation:()I
iload 1
invokeinterface javax.swing.Scrollable.getScrollableBlockIncrement:(Ljava/awt/Rectangle;II)I
ireturn
end local 4 end local 3 7: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.JScrollPane$ScrollBar.getOrientation:()I
iconst_1
if_icmpne 9
8: aload 2
invokevirtual javax.swing.JViewport.getExtentSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
ireturn
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.JViewport.getExtentSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/JScrollPane$ScrollBar;
0 10 1 direction I
1 10 2 vp Ljavax/swing/JViewport;
5 7 3 view Ljavax/swing/Scrollable;
6 7 4 vr Ljava/awt/Rectangle;
MethodParameters:
Name Flags
direction
}
SourceFile: "JScrollPane.java"
NestHost: javax.swing.JScrollPane
InnerClasses:
protected ScrollBar = javax.swing.JScrollPane$ScrollBar of javax.swing.JScrollPane