public abstract class sun.awt.ScrollPaneWheelScroller
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.awt.ScrollPaneWheelScroller
super_class: java.lang.Object
{
private static final java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "sun.awt.ScrollPaneWheelScroller"
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/ScrollPaneWheelScroller;
public static void handleWheelScrolling(java.awt.ScrollPane, java.awt.event.MouseWheelEvent);
descriptor: (Ljava/awt/ScrollPane;Ljava/awt/event/MouseWheelEvent;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "x = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.awt.event.MouseWheelEvent.getX:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", y = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.awt.event.MouseWheelEvent.getY:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", src is "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.awt.event.MouseWheelEvent.getSource:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: aload 0
ifnull 10
aload 1
invokevirtual java.awt.event.MouseWheelEvent.getScrollAmount:()I
ifeq 10
4: aload 0
invokestatic sun.awt.ScrollPaneWheelScroller.getAdjustableToScroll:(Ljava/awt/ScrollPane;)Ljava/awt/Adjustable;
astore 3
start local 3 5: aload 3
ifnull 10
6: aload 3
aload 1
invokestatic sun.awt.ScrollPaneWheelScroller.getIncrementFromAdjustable:(Ljava/awt/Adjustable;Ljava/awt/event/MouseWheelEvent;)I
istore 2
7: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 9
8: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "increment from adjustable("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ") : "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
9: StackMap locals: int java.awt.Adjustable
StackMap stack:
aload 3
iload 2
invokestatic sun.awt.ScrollPaneWheelScroller.scrollAdjustable:(Ljava/awt/Adjustable;I)V
end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 sp Ljava/awt/ScrollPane;
0 11 1 e Ljava/awt/event/MouseWheelEvent;
3 11 2 increment I
5 10 3 adj Ljava/awt/Adjustable;
MethodParameters:
Name Flags
sp
e
public static java.awt.Adjustable getAdjustableToScroll(java.awt.ScrollPane);
descriptor: (Ljava/awt/ScrollPane;)Ljava/awt/Adjustable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.ScrollPane.getScrollbarDisplayPolicy:()I
istore 1
start local 1 1: iload 1
iconst_1
if_icmpeq 3
2: iload 1
iconst_2
if_icmpne 6
3: StackMap locals: int
StackMap stack:
getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 5
4: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
ldc "using vertical scrolling due to scrollbar policy"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.ScrollPane.getVAdjustable:()Ljava/awt/Adjustable;
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.ScrollPane.getInsets:()Ljava/awt/Insets;
astore 2
start local 2 7: aload 0
invokevirtual java.awt.ScrollPane.getVScrollbarWidth:()I
istore 3
start local 3 8: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 13
9: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "insets: l = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
getfield java.awt.Insets.left:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", r = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
getfield java.awt.Insets.right:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
10: ldc ", t = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
getfield java.awt.Insets.top:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", b = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
getfield java.awt.Insets.bottom:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
12: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "vertScrollWidth = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
13: StackMap locals: java.awt.Insets int
StackMap stack:
aload 2
getfield java.awt.Insets.right:I
iload 3
if_icmplt 17
14: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 16
15: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
ldc "using vertical scrolling because scrollbar is present"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.ScrollPane.getVAdjustable:()Ljava/awt/Adjustable;
areturn
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.ScrollPane.getHScrollbarHeight:()I
istore 4
start local 4 18: aload 2
getfield java.awt.Insets.bottom:I
iload 4
if_icmplt 22
19: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 21
20: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
ldc "using horiz scrolling because scrollbar is present"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
21: StackMap locals: int
StackMap stack:
aload 0
invokevirtual java.awt.ScrollPane.getHAdjustable:()Ljava/awt/Adjustable;
areturn
22: StackMap locals:
StackMap stack:
getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 24
23: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
ldc "using NO scrollbar becsause neither is present"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
24: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 sp Ljava/awt/ScrollPane;
1 25 1 policy I
7 25 2 ins Ljava/awt/Insets;
8 25 3 vertScrollWidth I
18 25 4 horizScrollHeight I
MethodParameters:
Name Flags
sp
public static int getIncrementFromAdjustable(java.awt.Adjustable, java.awt.event.MouseWheelEvent);
descriptor: (Ljava/awt/Adjustable;Ljava/awt/event/MouseWheelEvent;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 3
1: aload 0
ifnonnull 3
2: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Assertion (adj != null) failed"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 4: aload 1
invokevirtual java.awt.event.MouseWheelEvent.getScrollType:()I
ifne 7
5: aload 1
invokevirtual java.awt.event.MouseWheelEvent.getUnitsToScroll:()I
aload 0
invokeinterface java.awt.Adjustable.getUnitIncrement:()I
imul
istore 2
6: goto 9
7: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.awt.event.MouseWheelEvent.getScrollType:()I
iconst_1
if_icmpne 9
8: aload 0
invokeinterface java.awt.Adjustable.getBlockIncrement:()I
aload 1
invokevirtual java.awt.event.MouseWheelEvent.getWheelRotation:()I
imul
istore 2
9: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 adj Ljava/awt/Adjustable;
0 10 1 e Ljava/awt/event/MouseWheelEvent;
4 10 2 increment I
MethodParameters:
Name Flags
adj
e
public static void scrollAdjustable(java.awt.Adjustable, int);
descriptor: (Ljava/awt/Adjustable;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 5
1: aload 0
ifnonnull 3
2: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Assertion (adj != null) failed"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
iload 1
ifne 5
4: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Assertion (amount != 0) failed"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.awt.Adjustable.getValue:()I
istore 2
start local 2 6: aload 0
invokeinterface java.awt.Adjustable.getMaximum:()I
aload 0
invokeinterface java.awt.Adjustable.getVisibleAmount:()I
isub
istore 3
start local 3 7: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 9
8: getstatic sun.awt.ScrollPaneWheelScroller.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "doScrolling by "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
9: StackMap locals: int int
StackMap stack:
iload 1
ifle 15
iload 2
iload 3
if_icmpge 15
10: iload 2
iload 1
iadd
iload 3
if_icmpge 13
11: aload 0
iload 2
iload 1
iadd
invokeinterface java.awt.Adjustable.setValue:(I)V
12: return
13: StackMap locals:
StackMap stack:
aload 0
iload 3
invokeinterface java.awt.Adjustable.setValue:(I)V
14: return
15: StackMap locals:
StackMap stack:
iload 1
ifge 21
iload 2
aload 0
invokeinterface java.awt.Adjustable.getMinimum:()I
if_icmple 21
16: iload 2
iload 1
iadd
aload 0
invokeinterface java.awt.Adjustable.getMinimum:()I
if_icmple 19
17: aload 0
iload 2
iload 1
iadd
invokeinterface java.awt.Adjustable.setValue:(I)V
18: return
19: StackMap locals:
StackMap stack:
aload 0
aload 0
invokeinterface java.awt.Adjustable.getMinimum:()I
invokeinterface java.awt.Adjustable.setValue:(I)V
20: return
21: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 adj Ljava/awt/Adjustable;
0 22 1 amount I
6 22 2 current I
7 22 3 upperLimit I
MethodParameters:
Name Flags
adj
amount
}
SourceFile: "ScrollPaneWheelScroller.java"