final class javax.swing.colorchooser.ColorPanel extends javax.swing.JPanel implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: javax.swing.colorchooser.ColorPanel
super_class: javax.swing.JPanel
{
private final javax.swing.colorchooser.SlidingSpinner[] spinners;
descriptor: [Ljavax/swing/colorchooser/SlidingSpinner;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float[] values;
descriptor: [F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.swing.colorchooser.ColorModel model;
descriptor: Ljavax/swing/colorchooser/ColorModel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.awt.Color color;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private int x;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int y;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int z;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(javax.swing.colorchooser.ColorModel);
descriptor: (Ljavax/swing/colorchooser/ColorModel;)V
flags: (0x0000)
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 0
new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
1: aload 0
iconst_5
anewarray javax.swing.colorchooser.SlidingSpinner
putfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
2: aload 0
aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
arraylength
newarray 6
putfield javax.swing.colorchooser.ColorPanel.values:[F
3: aload 0
iconst_1
putfield javax.swing.colorchooser.ColorPanel.x:I
4: aload 0
iconst_2
putfield javax.swing.colorchooser.ColorPanel.y:I
5: new java.awt.GridBagConstraints
dup
invokespecial java.awt.GridBagConstraints.<init>:()V
astore 2
start local 2 6: aload 2
iconst_2
putfield java.awt.GridBagConstraints.fill:I
7: aload 2
iconst_1
putfield java.awt.GridBagConstraints.gridx:I
8: new javax.swing.ButtonGroup
dup
invokespecial javax.swing.ButtonGroup.<init>:()V
astore 3
start local 3 9: aconst_null
astore 4
start local 4 10: iconst_0
istore 5
start local 5 11: goto 32
12: StackMap locals: javax.swing.colorchooser.ColorPanel javax.swing.colorchooser.ColorModel java.awt.GridBagConstraints javax.swing.ButtonGroup javax.swing.border.EmptyBorder int
StackMap stack:
iload 5
iconst_3
if_icmpge 26
13: new javax.swing.JRadioButton
dup
invokespecial javax.swing.JRadioButton.<init>:()V
astore 6
start local 6 14: iload 5
ifne 20
15: aload 6
invokevirtual javax.swing.JRadioButton.getInsets:()Ljava/awt/Insets;
astore 7
start local 7 16: aload 7
aload 6
invokevirtual javax.swing.JRadioButton.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
putfield java.awt.Insets.left:I
17: new javax.swing.border.EmptyBorder
dup
aload 7
invokespecial javax.swing.border.EmptyBorder.<init>:(Ljava/awt/Insets;)V
astore 4
18: aload 6
iconst_1
invokevirtual javax.swing.JRadioButton.setSelected:(Z)V
19: aload 2
getfield java.awt.GridBagConstraints.insets:Ljava/awt/Insets;
iconst_5
putfield java.awt.Insets.top:I
end local 7 20: StackMap locals: javax.swing.JRadioButton
StackMap stack:
aload 0
aload 6
aload 2
invokevirtual javax.swing.colorchooser.ColorPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
21: aload 3
aload 6
invokevirtual javax.swing.ButtonGroup.add:(Ljavax/swing/AbstractButton;)V
22: aload 6
iload 5
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual javax.swing.JRadioButton.setActionCommand:(Ljava/lang/String;)V
23: aload 6
aload 0
invokevirtual javax.swing.JRadioButton.addActionListener:(Ljava/awt/event/ActionListener;)V
24: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iload 5
new javax.swing.colorchooser.SlidingSpinner
dup
aload 0
aload 6
invokespecial javax.swing.colorchooser.SlidingSpinner.<init>:(Ljavax/swing/colorchooser/ColorPanel;Ljavax/swing/JComponent;)V
aastore
end local 6 25: goto 31
26: StackMap locals:
StackMap stack:
new javax.swing.JLabel
dup
invokespecial javax.swing.JLabel.<init>:()V
astore 6
start local 6 27: aload 0
aload 6
aload 2
invokevirtual javax.swing.colorchooser.ColorPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
28: aload 6
aload 4
invokevirtual javax.swing.JLabel.setBorder:(Ljavax/swing/border/Border;)V
29: aload 6
iconst_0
invokevirtual javax.swing.JLabel.setFocusable:(Z)V
30: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iload 5
new javax.swing.colorchooser.SlidingSpinner
dup
aload 0
aload 6
invokespecial javax.swing.colorchooser.SlidingSpinner.<init>:(Ljavax/swing/colorchooser/ColorPanel;Ljavax/swing/JComponent;)V
aastore
end local 6 31: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
32: iload 5
aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
arraylength
if_icmplt 12
end local 5 33: aload 2
iconst_2
putfield java.awt.GridBagConstraints.gridx:I
34: aload 2
dconst_1
putfield java.awt.GridBagConstraints.weightx:D
35: aload 2
getfield java.awt.GridBagConstraints.insets:Ljava/awt/Insets;
iconst_0
putfield java.awt.Insets.top:I
36: aload 2
getfield java.awt.GridBagConstraints.insets:Ljava/awt/Insets;
iconst_5
putfield java.awt.Insets.left:I
37: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 42
StackMap locals: javax.swing.colorchooser.ColorPanel javax.swing.colorchooser.ColorModel java.awt.GridBagConstraints javax.swing.ButtonGroup javax.swing.border.EmptyBorder top int int javax.swing.colorchooser.SlidingSpinner[]
StackMap stack:
38: aload 8
iload 6
aaload
astore 5
start local 5 39: aload 0
aload 5
invokevirtual javax.swing.colorchooser.SlidingSpinner.getSlider:()Ljavax/swing/JSlider;
aload 2
invokevirtual javax.swing.colorchooser.ColorPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
40: aload 2
getfield java.awt.GridBagConstraints.insets:Ljava/awt/Insets;
iconst_5
putfield java.awt.Insets.top:I
end local 5 41: iinc 6 1
StackMap locals:
StackMap stack:
42: iload 6
iload 7
if_icmplt 38
43: aload 2
iconst_3
putfield java.awt.GridBagConstraints.gridx:I
44: aload 2
dconst_0
putfield java.awt.GridBagConstraints.weightx:D
45: aload 2
getfield java.awt.GridBagConstraints.insets:Ljava/awt/Insets;
iconst_0
putfield java.awt.Insets.top:I
46: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 51
StackMap locals:
StackMap stack:
47: aload 8
iload 6
aaload
astore 5
start local 5 48: aload 0
aload 5
invokevirtual javax.swing.colorchooser.SlidingSpinner.getSpinner:()Ljavax/swing/JSpinner;
aload 2
invokevirtual javax.swing.colorchooser.ColorPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
49: aload 2
getfield java.awt.GridBagConstraints.insets:Ljava/awt/Insets;
iconst_5
putfield java.awt.Insets.top:I
end local 5 50: iinc 6 1
StackMap locals:
StackMap stack:
51: iload 6
iload 7
if_icmplt 47
52: aload 0
new java.awt.ContainerOrderFocusTraversalPolicy
dup
invokespecial java.awt.ContainerOrderFocusTraversalPolicy.<init>:()V
invokevirtual javax.swing.colorchooser.ColorPanel.setFocusTraversalPolicy:(Ljava/awt/FocusTraversalPolicy;)V
53: aload 0
iconst_1
invokevirtual javax.swing.colorchooser.ColorPanel.setFocusTraversalPolicyProvider:(Z)V
54: aload 0
iconst_0
invokevirtual javax.swing.colorchooser.ColorPanel.setFocusable:(Z)V
55: aload 0
aload 1
putfield javax.swing.colorchooser.ColorPanel.model:Ljavax/swing/colorchooser/ColorModel;
56: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 57 0 this Ljavax/swing/colorchooser/ColorPanel;
0 57 1 model Ljavax/swing/colorchooser/ColorModel;
6 57 2 gbc Ljava/awt/GridBagConstraints;
9 57 3 group Ljavax/swing/ButtonGroup;
10 57 4 border Ljavax/swing/border/EmptyBorder;
11 33 5 i I
14 25 6 button Ljavax/swing/JRadioButton;
16 20 7 insets Ljava/awt/Insets;
27 31 6 label Ljavax/swing/JLabel;
39 41 5 spinner Ljavax/swing/colorchooser/SlidingSpinner;
48 50 5 spinner Ljavax/swing/colorchooser/SlidingSpinner;
MethodParameters:
Name Flags
model
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.event.ActionEvent.getActionCommand:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield javax.swing.colorchooser.ColorPanel.z:I
1: aload 0
aload 0
getfield javax.swing.colorchooser.ColorPanel.z:I
iconst_2
if_icmpeq 2
iconst_2
goto 3
StackMap locals:
StackMap stack: javax.swing.colorchooser.ColorPanel
2: iconst_1
StackMap locals: javax.swing.colorchooser.ColorPanel java.awt.event.ActionEvent
StackMap stack: javax.swing.colorchooser.ColorPanel int
3: putfield javax.swing.colorchooser.ColorPanel.y:I
4: aload 0
aload 0
getfield javax.swing.colorchooser.ColorPanel.z:I
ifeq 5
iconst_0
goto 6
StackMap locals:
StackMap stack: javax.swing.colorchooser.ColorPanel
5: iconst_1
StackMap locals: javax.swing.colorchooser.ColorPanel java.awt.event.ActionEvent
StackMap stack: javax.swing.colorchooser.ColorPanel int
6: putfield javax.swing.colorchooser.ColorPanel.x:I
7: aload 0
invokevirtual javax.swing.colorchooser.ColorPanel.getParent:()Ljava/awt/Container;
invokevirtual java.awt.Container.repaint:()V
8: goto 10
9: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/colorchooser/ColorPanel;
0 11 1 event Ljava/awt/event/ActionEvent;
Exception table:
from to target type
0 8 9 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
event
void buildPanel();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield javax.swing.colorchooser.ColorPanel.model:Ljavax/swing/colorchooser/ColorModel;
invokevirtual javax.swing.colorchooser.ColorModel.getCount:()I
istore 1
start local 1 1: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iconst_4
aaload
iload 1
iconst_4
if_icmple 2
iconst_1
goto 3
StackMap locals: javax.swing.colorchooser.ColorPanel int
StackMap stack: javax.swing.colorchooser.SlidingSpinner
2: iconst_0
StackMap locals: javax.swing.colorchooser.ColorPanel int
StackMap stack: javax.swing.colorchooser.SlidingSpinner int
3: invokevirtual javax.swing.colorchooser.SlidingSpinner.setVisible:(Z)V
4: iconst_0
istore 2
start local 2 5: goto 26
6: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.colorchooser.ColorPanel.model:Ljavax/swing/colorchooser/ColorModel;
aload 0
iload 2
invokevirtual javax.swing.colorchooser.ColorModel.getLabel:(Ljava/awt/Component;I)Ljava/lang/String;
astore 3
start local 3 7: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iload 2
aaload
invokevirtual javax.swing.colorchooser.SlidingSpinner.getLabel:()Ljavax/swing/JComponent;
astore 4
start local 4 8: aload 4
instanceof javax.swing.JRadioButton
ifeq 13
9: aload 4
checkcast javax.swing.JRadioButton
astore 5
start local 5 10: aload 5
aload 3
invokevirtual javax.swing.JRadioButton.setText:(Ljava/lang/String;)V
11: aload 5
invokevirtual javax.swing.JRadioButton.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
aload 3
invokevirtual javax.accessibility.AccessibleContext.setAccessibleDescription:(Ljava/lang/String;)V
end local 5 12: goto 16
13: StackMap locals: java.lang.String java.lang.Object
StackMap stack:
aload 4
instanceof javax.swing.JLabel
ifeq 16
14: aload 4
checkcast javax.swing.JLabel
astore 5
start local 5 15: aload 5
aload 3
invokevirtual javax.swing.JLabel.setText:(Ljava/lang/String;)V
end local 5 16: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iload 2
aaload
aload 0
getfield javax.swing.colorchooser.ColorPanel.model:Ljavax/swing/colorchooser/ColorModel;
iload 2
invokevirtual javax.swing.colorchooser.ColorModel.getMinimum:(I)I
aload 0
getfield javax.swing.colorchooser.ColorPanel.model:Ljavax/swing/colorchooser/ColorModel;
iload 2
invokevirtual javax.swing.colorchooser.ColorModel.getMaximum:(I)I
invokevirtual javax.swing.colorchooser.SlidingSpinner.setRange:(II)V
17: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iload 2
aaload
aload 0
getfield javax.swing.colorchooser.ColorPanel.values:[F
iload 2
faload
invokevirtual javax.swing.colorchooser.SlidingSpinner.setValue:(F)V
18: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iload 2
aaload
invokevirtual javax.swing.colorchooser.SlidingSpinner.getSlider:()Ljavax/swing/JSlider;
invokevirtual javax.swing.JSlider.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
aload 3
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
19: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iload 2
aaload
invokevirtual javax.swing.colorchooser.SlidingSpinner.getSpinner:()Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
aload 3
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
20: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iload 2
aaload
invokevirtual javax.swing.colorchooser.SlidingSpinner.getSpinner:()Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getEditor:()Ljavax/swing/JComponent;
checkcast javax.swing.JSpinner$DefaultEditor
astore 5
start local 5 21: aload 5
invokevirtual javax.swing.JSpinner$DefaultEditor.getTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
aload 3
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
22: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iload 2
aaload
invokevirtual javax.swing.colorchooser.SlidingSpinner.getSlider:()Ljavax/swing/JSlider;
invokevirtual javax.swing.JSlider.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
aload 3
invokevirtual javax.accessibility.AccessibleContext.setAccessibleDescription:(Ljava/lang/String;)V
23: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iload 2
aaload
invokevirtual javax.swing.colorchooser.SlidingSpinner.getSpinner:()Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
aload 3
invokevirtual javax.accessibility.AccessibleContext.setAccessibleDescription:(Ljava/lang/String;)V
24: aload 5
invokevirtual javax.swing.JSpinner$DefaultEditor.getTextField:()Ljavax/swing/JFormattedTextField;
invokevirtual javax.swing.JFormattedTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
aload 3
invokevirtual javax.accessibility.AccessibleContext.setAccessibleDescription:(Ljava/lang/String;)V
end local 5 end local 4 end local 3 25: iinc 2 1
StackMap locals:
StackMap stack:
26: iload 2
iload 1
if_icmplt 6
end local 2 27: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljavax/swing/colorchooser/ColorPanel;
1 28 1 count I
5 27 2 i I
7 25 3 text Ljava/lang/String;
8 25 4 object Ljava/lang/Object;
10 12 5 button Ljavax/swing/JRadioButton;
15 16 5 label Ljavax/swing/JLabel;
21 25 5 editor Ljavax/swing/JSpinner$DefaultEditor;
void colorChanged();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
new java.awt.Color
dup
aload 0
iconst_0
invokevirtual javax.swing.colorchooser.ColorPanel.getColor:(I)I
aload 0
invokevirtual javax.swing.colorchooser.ColorPanel.isColorTransparencySelectionEnabled:()Z
invokespecial java.awt.Color.<init>:(IZ)V
putfield javax.swing.colorchooser.ColorPanel.color:Ljava/awt/Color;
1: aload 0
invokevirtual javax.swing.colorchooser.ColorPanel.getParent:()Ljava/awt/Container;
astore 1
start local 1 2: aload 1
instanceof javax.swing.colorchooser.ColorChooserPanel
ifeq 6
3: aload 1
checkcast javax.swing.colorchooser.ColorChooserPanel
astore 2
start local 2 4: aload 2
aload 0
getfield javax.swing.colorchooser.ColorPanel.color:Ljava/awt/Color;
invokevirtual javax.swing.colorchooser.ColorChooserPanel.setSelectedColor:(Ljava/awt/Color;)V
5: aload 2
invokevirtual javax.swing.colorchooser.ColorChooserPanel.repaint:()V
end local 2 6: StackMap locals: java.lang.Object
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/colorchooser/ColorPanel;
2 7 1 parent Ljava/lang/Object;
4 6 2 chooser Ljavax/swing/colorchooser/ColorChooserPanel;
float getValueX();
descriptor: ()F
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
aload 0
getfield javax.swing.colorchooser.ColorPanel.x:I
aaload
invokevirtual javax.swing.colorchooser.SlidingSpinner.getValue:()F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/ColorPanel;
float getValueY();
descriptor: ()F
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: fconst_1
aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
aload 0
getfield javax.swing.colorchooser.ColorPanel.y:I
aaload
invokevirtual javax.swing.colorchooser.SlidingSpinner.getValue:()F
fsub
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/ColorPanel;
float getValueZ();
descriptor: ()F
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: fconst_1
aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
aload 0
getfield javax.swing.colorchooser.ColorPanel.z:I
aaload
invokevirtual javax.swing.colorchooser.SlidingSpinner.getValue:()F
fsub
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/ColorPanel;
void setValue(float);
descriptor: (F)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
aload 0
getfield javax.swing.colorchooser.ColorPanel.z:I
aaload
fconst_1
fload 1
fsub
invokevirtual javax.swing.colorchooser.SlidingSpinner.setValue:(F)V
1: aload 0
invokevirtual javax.swing.colorchooser.ColorPanel.colorChanged:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/colorchooser/ColorPanel;
0 3 1 z F
MethodParameters:
Name Flags
z
void setValue(float, float);
descriptor: (FF)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
aload 0
getfield javax.swing.colorchooser.ColorPanel.x:I
aaload
fload 1
invokevirtual javax.swing.colorchooser.SlidingSpinner.setValue:(F)V
1: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
aload 0
getfield javax.swing.colorchooser.ColorPanel.y:I
aaload
fconst_1
fload 2
fsub
invokevirtual javax.swing.colorchooser.SlidingSpinner.setValue:(F)V
2: aload 0
invokevirtual javax.swing.colorchooser.ColorPanel.colorChanged:()V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/colorchooser/ColorPanel;
0 4 1 x F
0 4 2 y F
MethodParameters:
Name Flags
x
y
int getColor(float);
descriptor: (F)I
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield javax.swing.colorchooser.ColorPanel.x:I
invokevirtual javax.swing.colorchooser.ColorPanel.setDefaultValue:(I)V
1: aload 0
aload 0
getfield javax.swing.colorchooser.ColorPanel.y:I
invokevirtual javax.swing.colorchooser.ColorPanel.setDefaultValue:(I)V
2: aload 0
getfield javax.swing.colorchooser.ColorPanel.values:[F
aload 0
getfield javax.swing.colorchooser.ColorPanel.z:I
fconst_1
fload 1
fsub
fastore
3: aload 0
iconst_3
invokevirtual javax.swing.colorchooser.ColorPanel.getColor:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/colorchooser/ColorPanel;
0 4 1 z F
MethodParameters:
Name Flags
z
int getColor(float, float);
descriptor: (FF)I
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.colorchooser.ColorPanel.values:[F
aload 0
getfield javax.swing.colorchooser.ColorPanel.x:I
fload 1
fastore
1: aload 0
getfield javax.swing.colorchooser.ColorPanel.values:[F
aload 0
getfield javax.swing.colorchooser.ColorPanel.y:I
fconst_1
fload 2
fsub
fastore
2: aload 0
aload 0
getfield javax.swing.colorchooser.ColorPanel.z:I
invokevirtual javax.swing.colorchooser.ColorPanel.setValue:(I)V
3: aload 0
iconst_3
invokevirtual javax.swing.colorchooser.ColorPanel.getColor:(I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/colorchooser/ColorPanel;
0 4 1 x F
0 4 2 y F
MethodParameters:
Name Flags
x
y
void setColor(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield javax.swing.colorchooser.ColorPanel.color:Ljava/awt/Color;
invokevirtual java.awt.Color.equals:(Ljava/lang/Object;)Z
ifne 8
1: aload 0
aload 1
putfield javax.swing.colorchooser.ColorPanel.color:Ljava/awt/Color;
2: aload 0
getfield javax.swing.colorchooser.ColorPanel.model:Ljavax/swing/colorchooser/ColorModel;
aload 1
invokevirtual java.awt.Color.getRGB:()I
aload 0
getfield javax.swing.colorchooser.ColorPanel.values:[F
invokevirtual javax.swing.colorchooser.ColorModel.setColor:(I[F)V
3: iconst_0
istore 2
start local 2 4: goto 7
5: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iload 2
aaload
aload 0
getfield javax.swing.colorchooser.ColorPanel.values:[F
iload 2
faload
invokevirtual javax.swing.colorchooser.SlidingSpinner.setValue:(F)V
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield javax.swing.colorchooser.ColorPanel.model:Ljavax/swing/colorchooser/ColorModel;
invokevirtual javax.swing.colorchooser.ColorModel.getCount:()I
if_icmplt 5
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/colorchooser/ColorPanel;
0 9 1 color Ljava/awt/Color;
4 8 2 i I
MethodParameters:
Name Flags
color
private int getColor(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
iload 1
iinc 1 1
invokevirtual javax.swing.colorchooser.ColorPanel.setValue:(I)V
2: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield javax.swing.colorchooser.ColorPanel.model:Ljavax/swing/colorchooser/ColorModel;
invokevirtual javax.swing.colorchooser.ColorModel.getCount:()I
if_icmplt 1
3: aload 0
getfield javax.swing.colorchooser.ColorPanel.model:Ljavax/swing/colorchooser/ColorModel;
aload 0
getfield javax.swing.colorchooser.ColorPanel.values:[F
invokevirtual javax.swing.colorchooser.ColorModel.getColor:([F)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/colorchooser/ColorPanel;
0 4 1 index I
MethodParameters:
Name Flags
index
void setColorTransparencySelectionEnabled(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
aload 0
getfield javax.swing.colorchooser.ColorPanel.model:Ljavax/swing/colorchooser/ColorModel;
invokevirtual javax.swing.colorchooser.ColorModel.getCount:()I
iconst_1
isub
aaload
invokevirtual javax.swing.colorchooser.SlidingSpinner.isVisible:()Z
iload 1
if_icmpeq 3
1: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
aload 0
getfield javax.swing.colorchooser.ColorPanel.model:Ljavax/swing/colorchooser/ColorModel;
invokevirtual javax.swing.colorchooser.ColorModel.getCount:()I
iconst_1
isub
aaload
iload 1
invokevirtual javax.swing.colorchooser.SlidingSpinner.setVisible:(Z)V
2: aload 0
invokevirtual javax.swing.colorchooser.ColorPanel.colorChanged:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/colorchooser/ColorPanel;
0 4 1 b Z
MethodParameters:
Name Flags
b
boolean isColorTransparencySelectionEnabled();
descriptor: ()Z
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
aload 0
getfield javax.swing.colorchooser.ColorPanel.model:Ljavax/swing/colorchooser/ColorModel;
invokevirtual javax.swing.colorchooser.ColorModel.getCount:()I
iconst_1
isub
aaload
invokevirtual javax.swing.colorchooser.SlidingSpinner.isVisible:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/ColorPanel;
private void setValue(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.colorchooser.ColorPanel.values:[F
iload 1
aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iload 1
aaload
invokevirtual javax.swing.colorchooser.SlidingSpinner.getValue:()F
fastore
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/colorchooser/ColorPanel;
0 2 1 index I
MethodParameters:
Name Flags
index
private void setDefaultValue(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.colorchooser.ColorPanel.model:Ljavax/swing/colorchooser/ColorModel;
iload 1
invokevirtual javax.swing.colorchooser.ColorModel.getDefault:(I)F
fstore 2
start local 2 1: aload 0
getfield javax.swing.colorchooser.ColorPanel.values:[F
iload 1
fload 2
fconst_0
fcmpg
ifge 3
2: aload 0
getfield javax.swing.colorchooser.ColorPanel.spinners:[Ljavax/swing/colorchooser/SlidingSpinner;
iload 1
aaload
invokevirtual javax.swing.colorchooser.SlidingSpinner.getValue:()F
goto 4
3: StackMap locals: javax.swing.colorchooser.ColorPanel int float
StackMap stack: float[] int
fload 2
4: StackMap locals: javax.swing.colorchooser.ColorPanel int float
StackMap stack: float[] int float
fastore
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/colorchooser/ColorPanel;
0 6 1 index I
1 6 2 value F
MethodParameters:
Name Flags
index
}
SourceFile: "ColorPanel.java"
InnerClasses:
public DefaultEditor = javax.swing.JSpinner$DefaultEditor of javax.swing.JSpinner