class javax.swing.plaf.basic.BasicProgressBarUI$Animator implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicProgressBarUI$Animator
super_class: java.lang.Object
{
private javax.swing.Timer timer;
descriptor: Ljavax/swing/Timer;
flags: (0x0002) ACC_PRIVATE
private long previousDelay;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int interval;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long lastCall;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int MINIMUM_DELAY;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final javax.swing.plaf.basic.BasicProgressBarUI this$0;
descriptor: Ljavax/swing/plaf/basic/BasicProgressBarUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(javax.swing.plaf.basic.BasicProgressBarUI);
descriptor: (Ljavax/swing/plaf/basic/BasicProgressBarUI;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 // javax.swing.plaf.basic.BasicProgressBarUI$Animator this
0: .line 1146
aload 0 /* this */
aload 1
putfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.this$0:Ljavax/swing/plaf/basic/BasicProgressBarUI;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 1151
aload 0 /* this */
iconst_5
putfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.MINIMUM_DELAY:I
2: .line 1146
return
end local 0 // javax.swing.plaf.basic.BasicProgressBarUI$Animator this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicProgressBarUI$Animator;
MethodParameters:
Name Flags
this$0 final
private void start(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 // javax.swing.plaf.basic.BasicProgressBarUI$Animator this
start local 1 // int interval
0: .line 1158
aload 0 /* this */
iload 1 /* interval */
i2l
putfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.previousDelay:J
1: .line 1159
aload 0 /* this */
lconst_0
putfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.lastCall:J
2: .line 1161
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.timer:Ljavax/swing/Timer;
ifnonnull 5
3: .line 1162
aload 0 /* this */
new javax.swing.Timer
dup
iload 1 /* interval */
aload 0 /* this */
invokespecial javax.swing.Timer.<init>:(ILjava/awt/event/ActionListener;)V
putfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.timer:Ljavax/swing/Timer;
4: .line 1163
goto 6
5: .line 1164
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.timer:Ljavax/swing/Timer;
iload 1 /* interval */
invokevirtual javax.swing.Timer.setDelay:(I)V
6: .line 1167
StackMap locals:
StackMap stack:
getstatic javax.swing.plaf.basic.BasicProgressBarUI.ADJUSTTIMER:Z
ifeq 9
7: .line 1168
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.timer:Ljavax/swing/Timer;
iconst_0
invokevirtual javax.swing.Timer.setRepeats:(Z)V
8: .line 1169
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.timer:Ljavax/swing/Timer;
iconst_0
invokevirtual javax.swing.Timer.setCoalesce:(Z)V
9: .line 1172
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.start:()V
10: .line 1173
return
end local 1 // int interval
end local 0 // javax.swing.plaf.basic.BasicProgressBarUI$Animator this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/plaf/basic/BasicProgressBarUI$Animator;
0 11 1 interval I
MethodParameters:
Name Flags
interval
private void stop();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // javax.swing.plaf.basic.BasicProgressBarUI$Animator this
0: .line 1179
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
1: .line 1180
return
end local 0 // javax.swing.plaf.basic.BasicProgressBarUI$Animator this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicProgressBarUI$Animator;
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 // javax.swing.plaf.basic.BasicProgressBarUI$Animator this
start local 1 // java.awt.event.ActionEvent e
0: .line 1186
getstatic javax.swing.plaf.basic.BasicProgressBarUI.ADJUSTTIMER:Z
ifeq 16
1: .line 1187
invokestatic java.lang.System.currentTimeMillis:()J
lstore 2 /* time */
start local 2 // long time
2: .line 1189
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.lastCall:J
lconst_0
lcmp
ifle 14
3: .line 1195
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.previousDelay:J
4: .line 1196
lload 2 /* time */
5: .line 1195
lsub
6: .line 1196
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.lastCall:J
7: .line 1195
ladd
8: .line 1197
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.this$0:Ljavax/swing/plaf/basic/BasicProgressBarUI;
invokevirtual javax.swing.plaf.basic.BasicProgressBarUI.getRepaintInterval:()I
i2l
9: .line 1195
ladd
l2i
istore 4 /* nextDelay */
start local 4 // int nextDelay
10: .line 1198
iload 4 /* nextDelay */
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.MINIMUM_DELAY:I
if_icmpge 12
11: .line 1199
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.MINIMUM_DELAY:I
istore 4 /* nextDelay */
12: .line 1201
StackMap locals: long int
StackMap stack:
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.timer:Ljavax/swing/Timer;
iload 4 /* nextDelay */
invokevirtual javax.swing.Timer.setInitialDelay:(I)V
13: .line 1202
aload 0 /* this */
iload 4 /* nextDelay */
i2l
putfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.previousDelay:J
end local 4 // int nextDelay
14: .line 1204
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.start:()V
15: .line 1205
aload 0 /* this */
lload 2 /* time */
putfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.lastCall:J
end local 2 // long time
16: .line 1208
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.this$0:Ljavax/swing/plaf/basic/BasicProgressBarUI;
invokevirtual javax.swing.plaf.basic.BasicProgressBarUI.incrementAnimationIndex:()V
17: .line 1209
return
end local 1 // java.awt.event.ActionEvent e
end local 0 // javax.swing.plaf.basic.BasicProgressBarUI$Animator this
LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/swing/plaf/basic/BasicProgressBarUI$Animator;
0 18 1 e Ljava/awt/event/ActionEvent;
2 16 2 time J
10 14 4 nextDelay I
MethodParameters:
Name Flags
e
}
SourceFile: "BasicProgressBarUI.java"
NestHost: javax.swing.plaf.basic.BasicProgressBarUI
InnerClasses:
private Animator = javax.swing.plaf.basic.BasicProgressBarUI$Animator of javax.swing.plaf.basic.BasicProgressBarUI