class javax.swing.Autoscroller implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.Autoscroller
super_class: java.lang.Object
{
private static javax.swing.Autoscroller sharedInstance;
descriptor: Ljavax/swing/Autoscroller;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.awt.event.MouseEvent event;
descriptor: Ljava/awt/event/MouseEvent;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.swing.Timer timer;
descriptor: Ljavax/swing/Timer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.swing.JComponent component;
descriptor: Ljavax/swing/JComponent;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new javax.swing.Autoscroller
dup
invokespecial javax.swing.Autoscroller.<init>:()V
putstatic javax.swing.Autoscroller.sharedInstance:Ljavax/swing/Autoscroller;
1: return
LocalVariableTable:
Start End Slot Name Signature
public static void stop(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic javax.swing.Autoscroller.sharedInstance:Ljavax/swing/Autoscroller;
aload 0
invokevirtual javax.swing.Autoscroller._stop:(Ljavax/swing/JComponent;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public static boolean isRunning(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic javax.swing.Autoscroller.sharedInstance:Ljavax/swing/Autoscroller;
aload 0
invokevirtual javax.swing.Autoscroller._isRunning:(Ljavax/swing/JComponent;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public static void processMouseDragged(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic javax.swing.Autoscroller.sharedInstance:Ljavax/swing/Autoscroller;
aload 0
invokevirtual javax.swing.Autoscroller._processMouseDragged:(Ljava/awt/event/MouseEvent;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/Autoscroller;
private void start(javax.swing.JComponent, java.awt.event.MouseEvent);
descriptor: (Ljavax/swing/JComponent;Ljava/awt/event/MouseEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=14, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual javax.swing.JComponent.getLocationOnScreen:()Ljava/awt/Point;
astore 3
start local 3 1: getstatic javax.swing.Autoscroller.component:Ljavax/swing/JComponent;
aload 1
if_acmpeq 3
2: aload 0
getstatic javax.swing.Autoscroller.component:Ljavax/swing/JComponent;
invokevirtual javax.swing.Autoscroller._stop:(Ljavax/swing/JComponent;)V
3: StackMap locals: java.awt.Point
StackMap stack:
aload 1
putstatic javax.swing.Autoscroller.component:Ljavax/swing/JComponent;
4: new java.awt.event.MouseEvent
dup
getstatic javax.swing.Autoscroller.component:Ljavax/swing/JComponent;
aload 2
invokevirtual java.awt.event.MouseEvent.getID:()I
aload 2
invokevirtual java.awt.event.MouseEvent.getWhen:()J
5: aload 2
invokevirtual java.awt.event.MouseEvent.getModifiers:()I
aload 2
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 3
getfield java.awt.Point.x:I
iadd
6: aload 2
invokevirtual java.awt.event.MouseEvent.getY:()I
aload 3
getfield java.awt.Point.y:I
iadd
7: aload 2
invokevirtual java.awt.event.MouseEvent.getXOnScreen:()I
8: aload 2
invokevirtual java.awt.event.MouseEvent.getYOnScreen:()I
9: aload 2
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
aload 2
invokevirtual java.awt.event.MouseEvent.isPopupTrigger:()Z
10: iconst_0
11: invokespecial java.awt.event.MouseEvent.<init>:(Ljava/awt/Component;IJIIIIIIZI)V
putstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
12: invokestatic sun.awt.AWTAccessor.getMouseEventAccessor:()Lsun/awt/AWTAccessor$MouseEventAccessor;
astore 4
start local 4 13: aload 4
getstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
14: aload 4
aload 2
invokeinterface sun.awt.AWTAccessor$MouseEventAccessor.isCausedByTouchEvent:(Ljava/awt/event/MouseEvent;)Z
15: invokeinterface sun.awt.AWTAccessor$MouseEventAccessor.setCausedByTouchEvent:(Ljava/awt/event/MouseEvent;Z)V
16: getstatic javax.swing.Autoscroller.timer:Ljavax/swing/Timer;
ifnonnull 18
17: new javax.swing.Timer
dup
bipush 100
aload 0
invokespecial javax.swing.Timer.<init>:(ILjava/awt/event/ActionListener;)V
putstatic javax.swing.Autoscroller.timer:Ljavax/swing/Timer;
18: StackMap locals: sun.awt.AWTAccessor$MouseEventAccessor
StackMap stack:
getstatic javax.swing.Autoscroller.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.isRunning:()Z
ifne 20
19: getstatic javax.swing.Autoscroller.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.start:()V
20: 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 21 0 this Ljavax/swing/Autoscroller;
0 21 1 c Ljavax/swing/JComponent;
0 21 2 e Ljava/awt/event/MouseEvent;
1 21 3 screenLocation Ljava/awt/Point;
13 21 4 meAccessor Lsun/awt/AWTAccessor$MouseEventAccessor;
MethodParameters:
Name Flags
c
e
private void _stop(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic javax.swing.Autoscroller.component:Ljavax/swing/JComponent;
aload 1
if_acmpne 6
1: getstatic javax.swing.Autoscroller.timer:Ljavax/swing/Timer;
ifnull 3
2: getstatic javax.swing.Autoscroller.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
3: StackMap locals:
StackMap stack:
aconst_null
putstatic javax.swing.Autoscroller.timer:Ljavax/swing/Timer;
4: aconst_null
putstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
5: aconst_null
putstatic javax.swing.Autoscroller.component:Ljavax/swing/JComponent;
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/Autoscroller;
0 7 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
private boolean _isRunning(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic javax.swing.Autoscroller.component:Ljavax/swing/JComponent;
if_acmpne 1
getstatic javax.swing.Autoscroller.timer:Ljavax/swing/Timer;
ifnull 1
getstatic javax.swing.Autoscroller.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.isRunning:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/Autoscroller;
0 2 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
private void _processMouseDragged(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getComponent:()Ljava/awt/Component;
checkcast javax.swing.JComponent
astore 2
start local 2 1: iconst_1
istore 3
start local 3 2: aload 2
invokevirtual javax.swing.JComponent.isShowing:()Z
ifeq 5
3: aload 2
invokevirtual javax.swing.JComponent.getVisibleRect:()Ljava/awt/Rectangle;
astore 4
start local 4 4: aload 4
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getY:()I
invokevirtual java.awt.Rectangle.contains:(II)Z
istore 3
end local 4 5: StackMap locals: javax.swing.JComponent int
StackMap stack:
iload 3
ifeq 8
6: aload 0
aload 2
invokevirtual javax.swing.Autoscroller._stop:(Ljavax/swing/JComponent;)V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
invokevirtual javax.swing.Autoscroller.start:(Ljavax/swing/JComponent;Ljava/awt/event/MouseEvent;)V
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/Autoscroller;
0 10 1 e Ljava/awt/event/MouseEvent;
1 10 2 component Ljavax/swing/JComponent;
2 10 3 stop Z
4 5 4 visibleRect Ljava/awt/Rectangle;
MethodParameters:
Name Flags
e
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=14, locals=6, args_size=2
start local 0 start local 1 0: getstatic javax.swing.Autoscroller.component:Ljavax/swing/JComponent;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual javax.swing.JComponent.isShowing:()Z
ifeq 2
getstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
ifnonnull 4
2: StackMap locals: javax.swing.JComponent
StackMap stack:
aload 0
aload 2
invokevirtual javax.swing.Autoscroller._stop:(Ljavax/swing/JComponent;)V
3: return
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.JComponent.getLocationOnScreen:()Ljava/awt/Point;
astore 3
start local 3 5: new java.awt.event.MouseEvent
dup
aload 2
getstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
invokevirtual java.awt.event.MouseEvent.getID:()I
6: getstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
invokevirtual java.awt.event.MouseEvent.getWhen:()J
getstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
invokevirtual java.awt.event.MouseEvent.getModifiers:()I
7: getstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 3
getfield java.awt.Point.x:I
isub
8: getstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
invokevirtual java.awt.event.MouseEvent.getY:()I
aload 3
getfield java.awt.Point.y:I
isub
9: getstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
invokevirtual java.awt.event.MouseEvent.getXOnScreen:()I
10: getstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
invokevirtual java.awt.event.MouseEvent.getYOnScreen:()I
11: getstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
12: getstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
invokevirtual java.awt.event.MouseEvent.isPopupTrigger:()Z
13: iconst_0
14: invokespecial java.awt.event.MouseEvent.<init>:(Ljava/awt/Component;IJIIIIIIZI)V
astore 4
start local 4 15: invokestatic sun.awt.AWTAccessor.getMouseEventAccessor:()Lsun/awt/AWTAccessor$MouseEventAccessor;
astore 5
start local 5 16: aload 5
aload 4
17: aload 5
getstatic javax.swing.Autoscroller.event:Ljava/awt/event/MouseEvent;
invokeinterface sun.awt.AWTAccessor$MouseEventAccessor.isCausedByTouchEvent:(Ljava/awt/event/MouseEvent;)Z
18: invokeinterface sun.awt.AWTAccessor$MouseEventAccessor.setCausedByTouchEvent:(Ljava/awt/event/MouseEvent;Z)V
19: aload 2
aload 4
invokevirtual javax.swing.JComponent.superProcessMouseMotionEvent:(Ljava/awt/event/MouseEvent;)V
20: 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 21 0 this Ljavax/swing/Autoscroller;
0 21 1 x Ljava/awt/event/ActionEvent;
1 21 2 component Ljavax/swing/JComponent;
5 21 3 screenLocation Ljava/awt/Point;
15 21 4 e Ljava/awt/event/MouseEvent;
16 21 5 meAccessor Lsun/awt/AWTAccessor$MouseEventAccessor;
MethodParameters:
Name Flags
x
}
SourceFile: "Autoscroller.java"
InnerClasses:
public abstract MouseEventAccessor = sun.awt.AWTAccessor$MouseEventAccessor of sun.awt.AWTAccessor