class javax.swing.colorchooser.DefaultSwatchChooserPanel extends javax.swing.colorchooser.AbstractColorChooserPanel
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.colorchooser.DefaultSwatchChooserPanel
super_class: javax.swing.colorchooser.AbstractColorChooserPanel
{
javax.swing.colorchooser.SwatchPanel swatchPanel;
descriptor: Ljavax/swing/colorchooser/SwatchPanel;
flags: (0x0000)
javax.swing.colorchooser.RecentSwatchPanel recentSwatchPanel;
descriptor: Ljavax/swing/colorchooser/RecentSwatchPanel;
flags: (0x0000)
java.awt.event.MouseListener mainSwatchListener;
descriptor: Ljava/awt/event/MouseListener;
flags: (0x0000)
java.awt.event.MouseListener recentSwatchListener;
descriptor: Ljava/awt/event/MouseListener;
flags: (0x0000)
private java.awt.event.KeyListener mainSwatchKeyListener;
descriptor: Ljava/awt/event/KeyListener;
flags: (0x0002) ACC_PRIVATE
private java.awt.event.KeyListener recentSwatchKeyListener;
descriptor: Ljava/awt/event/KeyListener;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.colorchooser.AbstractColorChooserPanel.<init>:()V
1: aload 0
iconst_1
invokevirtual javax.swing.colorchooser.DefaultSwatchChooserPanel.setInheritsPopupMenu:(Z)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;
public java.lang.String getDisplayName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "ColorChooser.swatchesNameText"
aload 0
invokevirtual javax.swing.colorchooser.DefaultSwatchChooserPanel.getLocale:()Ljava/util/Locale;
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;
public int getMnemonic();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "ColorChooser.swatchesMnemonic"
iconst_m1
invokevirtual javax.swing.colorchooser.DefaultSwatchChooserPanel.getInt:(Ljava/lang/Object;I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;
public int getDisplayedMnemonicIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "ColorChooser.swatchesDisplayedMnemonicIndex"
iconst_m1
invokevirtual javax.swing.colorchooser.DefaultSwatchChooserPanel.getInt:(Ljava/lang/Object;I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;
public javax.swing.Icon getSmallDisplayIcon();
descriptor: ()Ljavax/swing/Icon;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;
public javax.swing.Icon getLargeDisplayIcon();
descriptor: ()Ljavax/swing/Icon;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;
public void installChooserPanel(javax.swing.JColorChooser);
descriptor: (Ljavax/swing/JColorChooser;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.colorchooser.AbstractColorChooserPanel.installChooserPanel:(Ljavax/swing/JColorChooser;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;
0 2 1 enclosingChooser Ljavax/swing/JColorChooser;
MethodParameters:
Name Flags
enclosingChooser
protected void buildChooser();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=10, args_size=1
start local 0 0: ldc "ColorChooser.swatchesRecentText"
aload 0
invokevirtual javax.swing.colorchooser.DefaultSwatchChooserPanel.getLocale:()Ljava/util/Locale;
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;Ljava/util/Locale;)Ljava/lang/String;
astore 1
start local 1 1: new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
astore 2
start local 2 2: new java.awt.GridBagConstraints
dup
invokespecial java.awt.GridBagConstraints.<init>:()V
astore 3
start local 3 3: new javax.swing.JPanel
dup
aload 2
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
astore 4
start local 4 4: aload 0
new javax.swing.colorchooser.MainSwatchPanel
dup
invokespecial javax.swing.colorchooser.MainSwatchPanel.<init>:()V
putfield javax.swing.colorchooser.DefaultSwatchChooserPanel.swatchPanel:Ljavax/swing/colorchooser/SwatchPanel;
5: aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.swatchPanel:Ljavax/swing/colorchooser/SwatchPanel;
ldc "AccessibleName"
6: aload 0
invokevirtual javax.swing.colorchooser.DefaultSwatchChooserPanel.getDisplayName:()Ljava/lang/String;
7: invokevirtual javax.swing.colorchooser.SwatchPanel.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
8: aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.swatchPanel:Ljavax/swing/colorchooser/SwatchPanel;
iconst_1
invokevirtual javax.swing.colorchooser.SwatchPanel.setInheritsPopupMenu:(Z)V
9: aload 0
new javax.swing.colorchooser.RecentSwatchPanel
dup
invokespecial javax.swing.colorchooser.RecentSwatchPanel.<init>:()V
putfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchPanel:Ljavax/swing/colorchooser/RecentSwatchPanel;
10: aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchPanel:Ljavax/swing/colorchooser/RecentSwatchPanel;
ldc "AccessibleName"
11: aload 1
12: invokevirtual javax.swing.colorchooser.RecentSwatchPanel.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
13: aload 0
new javax.swing.colorchooser.DefaultSwatchChooserPanel$MainSwatchKeyListener
dup
aload 0
invokespecial javax.swing.colorchooser.DefaultSwatchChooserPanel$MainSwatchKeyListener.<init>:(Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;)V
putfield javax.swing.colorchooser.DefaultSwatchChooserPanel.mainSwatchKeyListener:Ljava/awt/event/KeyListener;
14: aload 0
new javax.swing.colorchooser.DefaultSwatchChooserPanel$MainSwatchListener
dup
aload 0
invokespecial javax.swing.colorchooser.DefaultSwatchChooserPanel$MainSwatchListener.<init>:(Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;)V
putfield javax.swing.colorchooser.DefaultSwatchChooserPanel.mainSwatchListener:Ljava/awt/event/MouseListener;
15: aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.swatchPanel:Ljavax/swing/colorchooser/SwatchPanel;
aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.mainSwatchListener:Ljava/awt/event/MouseListener;
invokevirtual javax.swing.colorchooser.SwatchPanel.addMouseListener:(Ljava/awt/event/MouseListener;)V
16: aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.swatchPanel:Ljavax/swing/colorchooser/SwatchPanel;
aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.mainSwatchKeyListener:Ljava/awt/event/KeyListener;
invokevirtual javax.swing.colorchooser.SwatchPanel.addKeyListener:(Ljava/awt/event/KeyListener;)V
17: aload 0
new javax.swing.colorchooser.DefaultSwatchChooserPanel$RecentSwatchListener
dup
aload 0
invokespecial javax.swing.colorchooser.DefaultSwatchChooserPanel$RecentSwatchListener.<init>:(Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;)V
putfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchListener:Ljava/awt/event/MouseListener;
18: aload 0
new javax.swing.colorchooser.DefaultSwatchChooserPanel$RecentSwatchKeyListener
dup
aload 0
invokespecial javax.swing.colorchooser.DefaultSwatchChooserPanel$RecentSwatchKeyListener.<init>:(Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;)V
putfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchKeyListener:Ljava/awt/event/KeyListener;
19: aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchPanel:Ljavax/swing/colorchooser/RecentSwatchPanel;
aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchListener:Ljava/awt/event/MouseListener;
invokevirtual javax.swing.colorchooser.RecentSwatchPanel.addMouseListener:(Ljava/awt/event/MouseListener;)V
20: aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchPanel:Ljavax/swing/colorchooser/RecentSwatchPanel;
aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchKeyListener:Ljava/awt/event/KeyListener;
invokevirtual javax.swing.colorchooser.RecentSwatchPanel.addKeyListener:(Ljava/awt/event/KeyListener;)V
21: new javax.swing.JPanel
dup
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
astore 5
start local 5 22: new javax.swing.border.CompoundBorder
dup
new javax.swing.border.LineBorder
dup
getstatic java.awt.Color.black:Ljava/awt/Color;
invokespecial javax.swing.border.LineBorder.<init>:(Ljava/awt/Color;)V
23: new javax.swing.border.LineBorder
dup
getstatic java.awt.Color.white:Ljava/awt/Color;
invokespecial javax.swing.border.LineBorder.<init>:(Ljava/awt/Color;)V
24: invokespecial javax.swing.border.CompoundBorder.<init>:(Ljavax/swing/border/Border;Ljavax/swing/border/Border;)V
astore 6
start local 6 25: aload 5
aload 6
invokevirtual javax.swing.JPanel.setBorder:(Ljavax/swing/border/Border;)V
26: aload 5
aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.swatchPanel:Ljavax/swing/colorchooser/SwatchPanel;
ldc "Center"
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
27: aload 3
bipush 25
putfield java.awt.GridBagConstraints.anchor:I
28: aload 3
iconst_1
putfield java.awt.GridBagConstraints.gridwidth:I
29: aload 3
iconst_2
putfield java.awt.GridBagConstraints.gridheight:I
30: aload 3
getfield java.awt.GridBagConstraints.insets:Ljava/awt/Insets;
astore 7
start local 7 31: aload 3
new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
bipush 10
invokespecial java.awt.Insets.<init>:(IIII)V
putfield java.awt.GridBagConstraints.insets:Ljava/awt/Insets;
32: aload 4
aload 5
aload 3
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
33: aload 3
aload 7
putfield java.awt.GridBagConstraints.insets:Ljava/awt/Insets;
34: aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchPanel:Ljavax/swing/colorchooser/RecentSwatchPanel;
iconst_1
invokevirtual javax.swing.colorchooser.RecentSwatchPanel.setInheritsPopupMenu:(Z)V
35: new javax.swing.JPanel
dup
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
astore 8
start local 8 36: aload 8
aload 6
invokevirtual javax.swing.JPanel.setBorder:(Ljavax/swing/border/Border;)V
37: aload 8
iconst_1
invokevirtual javax.swing.JPanel.setInheritsPopupMenu:(Z)V
38: aload 8
aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchPanel:Ljavax/swing/colorchooser/RecentSwatchPanel;
ldc "Center"
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
39: new javax.swing.JLabel
dup
aload 1
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
astore 9
start local 9 40: aload 9
aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchPanel:Ljavax/swing/colorchooser/RecentSwatchPanel;
invokevirtual javax.swing.JLabel.setLabelFor:(Ljava/awt/Component;)V
41: aload 3
iconst_0
putfield java.awt.GridBagConstraints.gridwidth:I
42: aload 3
iconst_1
putfield java.awt.GridBagConstraints.gridheight:I
43: aload 3
dconst_1
putfield java.awt.GridBagConstraints.weighty:D
44: aload 4
aload 9
aload 3
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
45: aload 3
dconst_0
putfield java.awt.GridBagConstraints.weighty:D
46: aload 3
iconst_0
putfield java.awt.GridBagConstraints.gridheight:I
47: aload 3
new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_2
invokespecial java.awt.Insets.<init>:(IIII)V
putfield java.awt.GridBagConstraints.insets:Ljava/awt/Insets;
48: aload 4
aload 8
aload 3
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
49: aload 4
iconst_1
invokevirtual javax.swing.JPanel.setInheritsPopupMenu:(Z)V
50: aload 0
aload 4
invokevirtual javax.swing.colorchooser.DefaultSwatchChooserPanel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
51: return
end local 9 end local 8 end local 7 end local 6 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 52 0 this Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;
1 52 1 recentStr Ljava/lang/String;
2 52 2 gb Ljava/awt/GridBagLayout;
3 52 3 gbc Ljava/awt/GridBagConstraints;
4 52 4 superHolder Ljavax/swing/JPanel;
22 52 5 mainHolder Ljavax/swing/JPanel;
25 52 6 border Ljavax/swing/border/Border;
31 52 7 oldInsets Ljava/awt/Insets;
36 52 8 recentHolder Ljavax/swing/JPanel;
40 52 9 l Ljavax/swing/JLabel;
public void uninstallChooserPanel(javax.swing.JColorChooser);
descriptor: (Ljavax/swing/JColorChooser;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.colorchooser.AbstractColorChooserPanel.uninstallChooserPanel:(Ljavax/swing/JColorChooser;)V
1: aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.swatchPanel:Ljavax/swing/colorchooser/SwatchPanel;
aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.mainSwatchListener:Ljava/awt/event/MouseListener;
invokevirtual javax.swing.colorchooser.SwatchPanel.removeMouseListener:(Ljava/awt/event/MouseListener;)V
2: aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.swatchPanel:Ljavax/swing/colorchooser/SwatchPanel;
aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.mainSwatchKeyListener:Ljava/awt/event/KeyListener;
invokevirtual javax.swing.colorchooser.SwatchPanel.removeKeyListener:(Ljava/awt/event/KeyListener;)V
3: aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchPanel:Ljavax/swing/colorchooser/RecentSwatchPanel;
aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchListener:Ljava/awt/event/MouseListener;
invokevirtual javax.swing.colorchooser.RecentSwatchPanel.removeMouseListener:(Ljava/awt/event/MouseListener;)V
4: aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchPanel:Ljavax/swing/colorchooser/RecentSwatchPanel;
aload 0
getfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchKeyListener:Ljava/awt/event/KeyListener;
invokevirtual javax.swing.colorchooser.RecentSwatchPanel.removeKeyListener:(Ljava/awt/event/KeyListener;)V
5: aload 0
aconst_null
putfield javax.swing.colorchooser.DefaultSwatchChooserPanel.swatchPanel:Ljavax/swing/colorchooser/SwatchPanel;
6: aload 0
aconst_null
putfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchPanel:Ljavax/swing/colorchooser/RecentSwatchPanel;
7: aload 0
aconst_null
putfield javax.swing.colorchooser.DefaultSwatchChooserPanel.mainSwatchListener:Ljava/awt/event/MouseListener;
8: aload 0
aconst_null
putfield javax.swing.colorchooser.DefaultSwatchChooserPanel.mainSwatchKeyListener:Ljava/awt/event/KeyListener;
9: aload 0
aconst_null
putfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchListener:Ljava/awt/event/MouseListener;
10: aload 0
aconst_null
putfield javax.swing.colorchooser.DefaultSwatchChooserPanel.recentSwatchKeyListener:Ljava/awt/event/KeyListener;
11: aload 0
invokevirtual javax.swing.colorchooser.DefaultSwatchChooserPanel.removeAll:()V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;
0 13 1 enclosingChooser Ljavax/swing/JColorChooser;
MethodParameters:
Name Flags
enclosingChooser
public void updateChooser();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/colorchooser/DefaultSwatchChooserPanel;
}
SourceFile: "DefaultSwatchChooserPanel.java"
NestMembers:
javax.swing.colorchooser.DefaultSwatchChooserPanel$MainSwatchKeyListener javax.swing.colorchooser.DefaultSwatchChooserPanel$MainSwatchListener javax.swing.colorchooser.DefaultSwatchChooserPanel$RecentSwatchKeyListener javax.swing.colorchooser.DefaultSwatchChooserPanel$RecentSwatchListener
InnerClasses:
private MainSwatchKeyListener = javax.swing.colorchooser.DefaultSwatchChooserPanel$MainSwatchKeyListener of javax.swing.colorchooser.DefaultSwatchChooserPanel
MainSwatchListener = javax.swing.colorchooser.DefaultSwatchChooserPanel$MainSwatchListener of javax.swing.colorchooser.DefaultSwatchChooserPanel
private RecentSwatchKeyListener = javax.swing.colorchooser.DefaultSwatchChooserPanel$RecentSwatchKeyListener of javax.swing.colorchooser.DefaultSwatchChooserPanel
RecentSwatchListener = javax.swing.colorchooser.DefaultSwatchChooserPanel$RecentSwatchListener of javax.swing.colorchooser.DefaultSwatchChooserPanel