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 1219
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 1224
aload 0 /* this */
iconst_5
putfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.MINIMUM_DELAY:I
2: .line 1219
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 1231
aload 0 /* this */
iload 1 /* interval */
i2l
putfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.previousDelay:J
1: .line 1232
aload 0 /* this */
lconst_0
putfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.lastCall:J
2: .line 1234
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.timer:Ljavax/swing/Timer;
ifnonnull 5
3: .line 1235
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 1236
goto 6
5: .line 1237
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 1240
StackMap locals:
StackMap stack:
getstatic javax.swing.plaf.basic.BasicProgressBarUI.ADJUSTTIMER:Z
ifeq 9
7: .line 1241
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 1242
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 1245
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 1246
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 1252
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.timer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
1: .line 1253
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 1259
getstatic javax.swing.plaf.basic.BasicProgressBarUI.ADJUSTTIMER:Z
ifeq 16
1: .line 1260
invokestatic java.lang.System.currentTimeMillis:()J
lstore 2 /* time */
start local 2 // long time
2: .line 1262
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.lastCall:J
lconst_0
lcmp
ifle 14
3: .line 1268
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.previousDelay:J
4: .line 1269
lload 2 /* time */
5: .line 1268
lsub
6: .line 1269
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.lastCall:J
7: .line 1268
ladd
8: .line 1270
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 1268
ladd
l2i
istore 4 /* nextDelay */
start local 4 // int nextDelay
10: .line 1271
iload 4 /* nextDelay */
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.MINIMUM_DELAY:I
if_icmpge 12
11: .line 1272
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.MINIMUM_DELAY:I
istore 4 /* nextDelay */
12: .line 1274
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 1275
aload 0 /* this */
iload 4 /* nextDelay */
i2l
putfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.previousDelay:J
end local 4 // int nextDelay
14: .line 1277
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 1278
aload 0 /* this */
lload 2 /* time */
putfield javax.swing.plaf.basic.BasicProgressBarUI$Animator.lastCall:J
end local 2 // long time
16: .line 1281
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 1282
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