final class javax.swing.colorchooser.SlidingSpinner implements javax.swing.event.ChangeListener
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: javax.swing.colorchooser.SlidingSpinner
super_class: java.lang.Object
{
private final javax.swing.colorchooser.ColorPanel panel;
descriptor: Ljavax/swing/colorchooser/ColorPanel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.swing.JComponent label;
descriptor: Ljavax/swing/JComponent;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.swing.SpinnerNumberModel model;
descriptor: Ljavax/swing/SpinnerNumberModel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.swing.JSlider slider;
descriptor: Ljavax/swing/JSlider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.swing.JSpinner spinner;
descriptor: Ljavax/swing/JSpinner;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private float value;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private boolean internal;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(javax.swing.colorchooser.ColorPanel, javax.swing.JComponent);
descriptor: (Ljavax/swing/colorchooser/ColorPanel;Ljavax/swing/JComponent;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new javax.swing.SpinnerNumberModel
dup
invokespecial javax.swing.SpinnerNumberModel.<init>:()V
putfield javax.swing.colorchooser.SlidingSpinner.model:Ljavax/swing/SpinnerNumberModel;
2: aload 0
new javax.swing.JSlider
dup
invokespecial javax.swing.JSlider.<init>:()V
putfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
3: aload 0
new javax.swing.JSpinner
dup
aload 0
getfield javax.swing.colorchooser.SlidingSpinner.model:Ljavax/swing/SpinnerNumberModel;
invokespecial javax.swing.JSpinner.<init>:(Ljavax/swing/SpinnerModel;)V
putfield javax.swing.colorchooser.SlidingSpinner.spinner:Ljavax/swing/JSpinner;
4: aload 0
aload 1
putfield javax.swing.colorchooser.SlidingSpinner.panel:Ljavax/swing/colorchooser/ColorPanel;
5: aload 0
aload 2
putfield javax.swing.colorchooser.SlidingSpinner.label:Ljavax/swing/JComponent;
6: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
aload 0
invokevirtual javax.swing.JSlider.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
7: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.spinner:Ljavax/swing/JSpinner;
aload 0
invokevirtual javax.swing.JSpinner.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
8: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.spinner:Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getEditor:()Ljavax/swing/JComponent;
checkcast javax.swing.JSpinner$DefaultEditor
astore 3
start local 3 9: iconst_3
iconst_0
aload 3
invokevirtual javax.swing.JSpinner$DefaultEditor.getTextField:()Ljavax/swing/JFormattedTextField;
invokestatic javax.swing.colorchooser.ValueFormatter.init:(IZLjavax/swing/JFormattedTextField;)V
10: aload 3
iconst_0
invokevirtual javax.swing.JSpinner$DefaultEditor.setFocusable:(Z)V
11: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.spinner:Ljavax/swing/JSpinner;
iconst_0
invokevirtual javax.swing.JSpinner.setFocusable:(Z)V
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/colorchooser/SlidingSpinner;
0 13 1 panel Ljavax/swing/colorchooser/ColorPanel;
0 13 2 label Ljavax/swing/JComponent;
9 13 3 editor Ljavax/swing/JSpinner$DefaultEditor;
MethodParameters:
Name Flags
panel
label
javax.swing.JComponent getLabel();
descriptor: ()Ljavax/swing/JComponent;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.label:Ljavax/swing/JComponent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/SlidingSpinner;
javax.swing.JSlider getSlider();
descriptor: ()Ljavax/swing/JSlider;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/SlidingSpinner;
javax.swing.JSpinner getSpinner();
descriptor: ()Ljavax/swing/JSpinner;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.spinner:Ljavax/swing/JSpinner;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/SlidingSpinner;
float getValue();
descriptor: ()F
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.value:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/SlidingSpinner;
void setValue(float);
descriptor: (F)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
invokevirtual javax.swing.JSlider.getMinimum:()I
istore 2
start local 2 1: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
invokevirtual javax.swing.JSlider.getMaximum:()I
istore 3
start local 3 2: aload 0
iconst_1
putfield javax.swing.colorchooser.SlidingSpinner.internal:Z
3: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
iload 2
fload 1
iload 3
iload 2
isub
i2f
fmul
f2i
iadd
invokevirtual javax.swing.JSlider.setValue:(I)V
4: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.spinner:Ljavax/swing/JSpinner;
aload 0
getfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
invokevirtual javax.swing.JSlider.getValue:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual javax.swing.JSpinner.setValue:(Ljava/lang/Object;)V
5: aload 0
iconst_0
putfield javax.swing.colorchooser.SlidingSpinner.internal:Z
6: aload 0
fload 1
putfield javax.swing.colorchooser.SlidingSpinner.value:F
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/colorchooser/SlidingSpinner;
0 8 1 value F
1 8 2 min I
2 8 3 max I
MethodParameters:
Name Flags
value
void setRange(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_1
putfield javax.swing.colorchooser.SlidingSpinner.internal:Z
1: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
iload 1
invokevirtual javax.swing.JSlider.setMinimum:(I)V
2: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
iload 2
invokevirtual javax.swing.JSlider.setMaximum:(I)V
3: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.model:Ljavax/swing/SpinnerNumberModel;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual javax.swing.SpinnerNumberModel.setMinimum:(Ljava/lang/Comparable;)V
4: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.model:Ljavax/swing/SpinnerNumberModel;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual javax.swing.SpinnerNumberModel.setMaximum:(Ljava/lang/Comparable;)V
5: aload 0
iconst_0
putfield javax.swing.colorchooser.SlidingSpinner.internal:Z
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/colorchooser/SlidingSpinner;
0 7 1 min I
0 7 2 max I
MethodParameters:
Name Flags
min
max
void setVisible(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.label:Ljavax/swing/JComponent;
iload 1
invokevirtual javax.swing.JComponent.setVisible:(Z)V
1: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
iload 1
invokevirtual javax.swing.JSlider.setVisible:(Z)V
2: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.spinner:Ljavax/swing/JSpinner;
iload 1
invokevirtual javax.swing.JSpinner.setVisible:(Z)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/colorchooser/SlidingSpinner;
0 4 1 visible Z
MethodParameters:
Name Flags
visible
public void stateChanged(javax.swing.event.ChangeEvent);
descriptor: (Ljavax/swing/event/ChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.internal:Z
ifne 15
1: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.spinner:Ljavax/swing/JSpinner;
aload 1
invokevirtual javax.swing.event.ChangeEvent.getSource:()Ljava/lang/Object;
if_acmpne 7
2: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.spinner:Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getValue:()Ljava/lang/Object;
astore 2
start local 2 3: aload 2
instanceof java.lang.Integer
ifeq 7
4: aload 0
iconst_1
putfield javax.swing.colorchooser.SlidingSpinner.internal:Z
5: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual javax.swing.JSlider.setValue:(I)V
6: aload 0
iconst_0
putfield javax.swing.colorchooser.SlidingSpinner.internal:Z
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
invokevirtual javax.swing.JSlider.getValue:()I
istore 2
start local 2 8: aload 0
iconst_1
putfield javax.swing.colorchooser.SlidingSpinner.internal:Z
9: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.spinner:Ljavax/swing/JSpinner;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual javax.swing.JSpinner.setValue:(Ljava/lang/Object;)V
10: aload 0
iconst_0
putfield javax.swing.colorchooser.SlidingSpinner.internal:Z
11: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
invokevirtual javax.swing.JSlider.getMinimum:()I
istore 3
start local 3 12: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.slider:Ljavax/swing/JSlider;
invokevirtual javax.swing.JSlider.getMaximum:()I
istore 4
start local 4 13: aload 0
iload 2
iload 3
isub
i2f
iload 4
iload 3
isub
i2f
fdiv
putfield javax.swing.colorchooser.SlidingSpinner.value:F
14: aload 0
getfield javax.swing.colorchooser.SlidingSpinner.panel:Ljavax/swing/colorchooser/ColorPanel;
invokevirtual javax.swing.colorchooser.ColorPanel.colorChanged:()V
end local 4 end local 3 end local 2 15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/colorchooser/SlidingSpinner;
0 16 1 event Ljavax/swing/event/ChangeEvent;
3 7 2 value Ljava/lang/Object;
8 15 2 value I
12 15 3 min I
13 15 4 max I
MethodParameters:
Name Flags
event
}
SourceFile: "SlidingSpinner.java"
InnerClasses:
public DefaultEditor = javax.swing.JSpinner$DefaultEditor of javax.swing.JSpinner