public class javax.swing.plaf.basic.BasicColorChooserUI extends javax.swing.plaf.ColorChooserUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.basic.BasicColorChooserUI
super_class: javax.swing.plaf.ColorChooserUI
{
protected javax.swing.JColorChooser chooser;
descriptor: Ljavax/swing/JColorChooser;
flags: (0x0004) ACC_PROTECTED
javax.swing.JTabbedPane tabbedPane;
descriptor: Ljavax/swing/JTabbedPane;
flags: (0x0000)
javax.swing.JPanel singlePanel;
descriptor: Ljavax/swing/JPanel;
flags: (0x0000)
javax.swing.JPanel previewPanelHolder;
descriptor: Ljavax/swing/JPanel;
flags: (0x0000)
javax.swing.JComponent previewPanel;
descriptor: Ljavax/swing/JComponent;
flags: (0x0000)
boolean isMultiPanel;
descriptor: Z
flags: (0x0000)
private static javax.swing.TransferHandler defaultTransferHandler;
descriptor: Ljavax/swing/TransferHandler;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected javax.swing.colorchooser.AbstractColorChooserPanel[] defaultChoosers;
descriptor: [Ljavax/swing/colorchooser/AbstractColorChooserPanel;
flags: (0x0004) ACC_PROTECTED
protected javax.swing.event.ChangeListener previewListener;
descriptor: Ljavax/swing/event/ChangeListener;
flags: (0x0004) ACC_PROTECTED
protected java.beans.PropertyChangeListener propertyChangeListener;
descriptor: Ljava/beans/PropertyChangeListener;
flags: (0x0004) ACC_PROTECTED
private javax.swing.plaf.basic.BasicColorChooserUI$Handler handler;
descriptor: Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new javax.swing.plaf.basic.BasicColorChooserUI$ColorTransferHandler
dup
invokespecial javax.swing.plaf.basic.BasicColorChooserUI$ColorTransferHandler.<init>:()V
putstatic javax.swing.plaf.basic.BasicColorChooserUI.defaultTransferHandler:Ljavax/swing/TransferHandler;
return
LocalVariableTable:
Start End Slot Name Signature
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.plaf.ColorChooserUI.<init>:()V
1: aload 0
iconst_0
putfield javax.swing.plaf.basic.BasicColorChooserUI.isMultiPanel:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI;
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new javax.swing.plaf.basic.BasicColorChooserUI
dup
invokespecial javax.swing.plaf.basic.BasicColorChooserUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected javax.swing.colorchooser.AbstractColorChooserPanel[] createDefaultChoosers();
descriptor: ()[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic javax.swing.colorchooser.ColorChooserComponentFactory.getDefaultChooserPanels:()[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
astore 1
start local 1 1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI;
1 2 1 panels [Ljavax/swing/colorchooser/AbstractColorChooserPanel;
protected void uninstallDefaultChoosers();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.JColorChooser.getChooserPanels:()[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: javax.swing.colorchooser.AbstractColorChooserPanel[] int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 1
iload 2
aaload
invokevirtual javax.swing.JColorChooser.removeChooserPanel:(Ljavax/swing/colorchooser/AbstractColorChooserPanel;)Ljavax/swing/colorchooser/AbstractColorChooserPanel;
pop
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI;
1 7 1 choosers [Ljavax/swing/colorchooser/AbstractColorChooserPanel;
2 6 2 i I
public void installUI(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast javax.swing.JColorChooser
putfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
1: aload 0
aload 1
invokespecial javax.swing.plaf.ColorChooserUI.installUI:(Ljavax/swing/JComponent;)V
2: aload 0
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.installDefaults:()V
3: aload 0
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.installListeners:()V
4: aload 0
new javax.swing.JTabbedPane
dup
invokespecial javax.swing.JTabbedPane.<init>:()V
putfield javax.swing.plaf.basic.BasicColorChooserUI.tabbedPane:Ljavax/swing/JTabbedPane;
5: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.tabbedPane:Ljavax/swing/JTabbedPane;
ldc "ColorChooser.tabPane"
invokevirtual javax.swing.JTabbedPane.setName:(Ljava/lang/String;)V
6: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.tabbedPane:Ljavax/swing/JTabbedPane;
iconst_1
invokevirtual javax.swing.JTabbedPane.setInheritsPopupMenu:(Z)V
7: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.tabbedPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.tabbedPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getName:()Ljava/lang/String;
invokevirtual javax.accessibility.AccessibleContext.setAccessibleDescription:(Ljava/lang/String;)V
8: aload 0
new javax.swing.JPanel
dup
new javax.swing.plaf.basic.CenterLayout
dup
invokespecial javax.swing.plaf.basic.CenterLayout.<init>:()V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
putfield javax.swing.plaf.basic.BasicColorChooserUI.singlePanel:Ljavax/swing/JPanel;
9: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.singlePanel:Ljavax/swing/JPanel;
ldc "ColorChooser.panel"
invokevirtual javax.swing.JPanel.setName:(Ljava/lang/String;)V
10: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.singlePanel:Ljavax/swing/JPanel;
iconst_1
invokevirtual javax.swing.JPanel.setInheritsPopupMenu:(Z)V
11: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokevirtual javax.swing.JColorChooser.setLayout:(Ljava/awt/LayoutManager;)V
12: aload 0
aload 0
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.createDefaultChoosers:()[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
putfield javax.swing.plaf.basic.BasicColorChooserUI.defaultChoosers:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
13: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.defaultChoosers:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
invokevirtual javax.swing.JColorChooser.setChooserPanels:([Ljavax/swing/colorchooser/AbstractColorChooserPanel;)V
14: aload 0
new javax.swing.JPanel
dup
new javax.swing.plaf.basic.CenterLayout
dup
invokespecial javax.swing.plaf.basic.CenterLayout.<init>:()V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
putfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanelHolder:Ljavax/swing/JPanel;
15: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanelHolder:Ljavax/swing/JPanel;
ldc "ColorChooser.previewPanelHolder"
invokevirtual javax.swing.JPanel.setName:(Ljava/lang/String;)V
16: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
17: ldc "ColorChooser.showPreviewPanelText"
iconst_1
18: invokestatic sun.swing.DefaultLookup.getBoolean:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Z)Z
19: ifeq 23
20: ldc "ColorChooser.previewText"
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.JColorChooser.getLocale:()Ljava/util/Locale;
21: invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;Ljava/util/Locale;)Ljava/lang/String;
astore 2
start local 2 22: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanelHolder:Ljavax/swing/JPanel;
new javax.swing.border.TitledBorder
dup
aload 2
invokespecial javax.swing.border.TitledBorder.<init>:(Ljava/lang/String;)V
invokevirtual javax.swing.JPanel.setBorder:(Ljavax/swing/border/Border;)V
end local 2 23: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanelHolder:Ljavax/swing/JPanel;
iconst_1
invokevirtual javax.swing.JPanel.setInheritsPopupMenu:(Z)V
24: aload 0
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.installPreviewPanel:()V
25: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 1
invokevirtual javax.swing.JComponent.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual javax.swing.JColorChooser.applyComponentOrientation:(Ljava/awt/ComponentOrientation;)V
26: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI;
0 27 1 c Ljavax/swing/JComponent;
22 23 2 previewString Ljava/lang/String;
MethodParameters:
Name Flags
c
public void uninstallUI(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.tabbedPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JColorChooser.remove:(Ljava/awt/Component;)V
1: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.singlePanel:Ljavax/swing/JPanel;
invokevirtual javax.swing.JColorChooser.remove:(Ljava/awt/Component;)V
2: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanelHolder:Ljavax/swing/JPanel;
invokevirtual javax.swing.JColorChooser.remove:(Ljava/awt/Component;)V
3: aload 0
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.uninstallDefaultChoosers:()V
4: aload 0
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.uninstallListeners:()V
5: aload 0
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.uninstallPreviewPanel:()V
6: aload 0
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.uninstallDefaults:()V
7: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanelHolder:Ljavax/swing/JPanel;
8: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanel:Ljavax/swing/JComponent;
9: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicColorChooserUI.defaultChoosers:[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
10: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
11: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicColorChooserUI.tabbedPane:Ljavax/swing/JTabbedPane;
12: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicColorChooserUI.handler:Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI;
0 14 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected void installPreviewPanel();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.JColorChooser.getPreviewPanel:()Ljavax/swing/JComponent;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: invokestatic javax.swing.colorchooser.ColorChooserComponentFactory.getPreviewPanel:()Ljavax/swing/JComponent;
astore 1
3: goto 6
4: StackMap locals: javax.swing.JComponent
StackMap stack:
ldc Ljavax/swing/JPanel;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
aload 1
invokevirtual javax.swing.JComponent.getComponentCount:()I
ifne 6
5: aconst_null
astore 1
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanel:Ljavax/swing/JComponent;
7: aload 1
ifnull 13
8: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanelHolder:Ljavax/swing/JPanel;
ldc "South"
invokevirtual javax.swing.JColorChooser.add:(Ljava/awt/Component;Ljava/lang/Object;)V
9: aload 1
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.JColorChooser.getColor:()Ljava/awt/Color;
invokevirtual javax.swing.JComponent.setForeground:(Ljava/awt/Color;)V
10: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanelHolder:Ljavax/swing/JPanel;
aload 1
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
11: aload 1
aload 0
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.getHandler:()Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
invokevirtual javax.swing.JComponent.addMouseListener:(Ljava/awt/event/MouseListener;)V
12: aload 1
iconst_1
invokevirtual javax.swing.JComponent.setInheritsPopupMenu:(Z)V
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI;
1 14 1 previewPanel Ljavax/swing/JComponent;
protected void uninstallPreviewPanel();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanel:Ljavax/swing/JComponent;
ifnull 3
1: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanel:Ljavax/swing/JComponent;
aload 0
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.getHandler:()Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
invokevirtual javax.swing.JComponent.removeMouseListener:(Ljava/awt/event/MouseListener;)V
2: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanelHolder:Ljavax/swing/JPanel;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanel:Ljavax/swing/JComponent;
invokevirtual javax.swing.JPanel.remove:(Ljava/awt/Component;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewPanelHolder:Ljavax/swing/JPanel;
invokevirtual javax.swing.JColorChooser.remove:(Ljava/awt/Component;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI;
protected void installDefaults();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
ldc "ColorChooser.background"
1: ldc "ColorChooser.foreground"
2: ldc "ColorChooser.font"
3: invokestatic javax.swing.LookAndFeel.installColorsAndFont:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
4: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
ldc "opaque"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokestatic javax.swing.LookAndFeel.installProperty:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/Object;)V
5: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.JColorChooser.getTransferHandler:()Ljavax/swing/TransferHandler;
astore 1
start local 1 6: aload 1
ifnull 7
aload 1
instanceof javax.swing.plaf.UIResource
ifeq 8
7: StackMap locals: javax.swing.TransferHandler
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
getstatic javax.swing.plaf.basic.BasicColorChooserUI.defaultTransferHandler:Ljavax/swing/TransferHandler;
invokevirtual javax.swing.JColorChooser.setTransferHandler:(Ljavax/swing/TransferHandler;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI;
6 9 1 th Ljavax/swing/TransferHandler;
protected void uninstallDefaults();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.JColorChooser.getTransferHandler:()Ljavax/swing/TransferHandler;
instanceof javax.swing.plaf.UIResource
ifeq 2
1: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aconst_null
invokevirtual javax.swing.JColorChooser.setTransferHandler:(Ljavax/swing/TransferHandler;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI;
protected void installListeners();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.createPropertyChangeListener:()Ljava/beans/PropertyChangeListener;
putfield javax.swing.plaf.basic.BasicColorChooserUI.propertyChangeListener:Ljava/beans/PropertyChangeListener;
1: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.propertyChangeListener:Ljava/beans/PropertyChangeListener;
invokevirtual javax.swing.JColorChooser.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
2: aload 0
aload 0
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.getHandler:()Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
putfield javax.swing.plaf.basic.BasicColorChooserUI.previewListener:Ljavax/swing/event/ChangeListener;
3: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.JColorChooser.getSelectionModel:()Ljavax/swing/colorchooser/ColorSelectionModel;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewListener:Ljavax/swing/event/ChangeListener;
invokeinterface javax.swing.colorchooser.ColorSelectionModel.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI;
private javax.swing.plaf.basic.BasicColorChooserUI$Handler getHandler();
descriptor: ()Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.handler:Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
ifnonnull 2
1: aload 0
new javax.swing.plaf.basic.BasicColorChooserUI$Handler
dup
aload 0
invokespecial javax.swing.plaf.basic.BasicColorChooserUI$Handler.<init>:(Ljavax/swing/plaf/basic/BasicColorChooserUI;)V
putfield javax.swing.plaf.basic.BasicColorChooserUI.handler:Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.handler:Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI;
protected java.beans.PropertyChangeListener createPropertyChangeListener();
descriptor: ()Ljava/beans/PropertyChangeListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.getHandler:()Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI;
protected void uninstallListeners();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.propertyChangeListener:Ljava/beans/PropertyChangeListener;
invokevirtual javax.swing.JColorChooser.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.JColorChooser.getSelectionModel:()Ljavax/swing/colorchooser/ColorSelectionModel;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewListener:Ljavax/swing/event/ChangeListener;
invokeinterface javax.swing.colorchooser.ColorSelectionModel.removeChangeListener:(Ljavax/swing/event/ChangeListener;)V
2: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicColorChooserUI.previewListener:Ljavax/swing/event/ChangeListener;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI;
private void selectionChanged(javax.swing.colorchooser.ColorSelectionModel);
descriptor: (Ljavax/swing/colorchooser/ColorSelectionModel;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.JColorChooser.getPreviewPanel:()Ljavax/swing/JComponent;
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 2
aload 1
invokeinterface javax.swing.colorchooser.ColorSelectionModel.getSelectedColor:()Ljava/awt/Color;
invokevirtual javax.swing.JComponent.setForeground:(Ljava/awt/Color;)V
3: aload 2
invokevirtual javax.swing.JComponent.repaint:()V
4: StackMap locals: javax.swing.JComponent
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.JColorChooser.getChooserPanels:()[Ljavax/swing/colorchooser/AbstractColorChooserPanel;
astore 3
start local 3 5: aload 3
ifnull 12
6: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 11
StackMap locals: javax.swing.plaf.basic.BasicColorChooserUI javax.swing.colorchooser.ColorSelectionModel javax.swing.JComponent javax.swing.colorchooser.AbstractColorChooserPanel[] top int int javax.swing.colorchooser.AbstractColorChooserPanel[]
StackMap stack:
7: aload 7
iload 5
aaload
astore 4
start local 4 8: aload 4
ifnull 10
9: aload 4
invokevirtual javax.swing.colorchooser.AbstractColorChooserPanel.updateChooser:()V
end local 4 10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 6
if_icmplt 7
12: StackMap locals: javax.swing.plaf.basic.BasicColorChooserUI javax.swing.colorchooser.ColorSelectionModel javax.swing.JComponent javax.swing.colorchooser.AbstractColorChooserPanel[]
StackMap stack:
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/plaf/basic/BasicColorChooserUI;
0 13 1 model Ljavax/swing/colorchooser/ColorSelectionModel;
1 13 2 previewPanel Ljavax/swing/JComponent;
5 13 3 panels [Ljavax/swing/colorchooser/AbstractColorChooserPanel;
8 10 4 panel Ljavax/swing/colorchooser/AbstractColorChooserPanel;
MethodParameters:
Name Flags
model
}
SourceFile: "BasicColorChooserUI.java"
NestMembers:
javax.swing.plaf.basic.BasicColorChooserUI$ColorTransferHandler javax.swing.plaf.basic.BasicColorChooserUI$Handler javax.swing.plaf.basic.BasicColorChooserUI$PropertyHandler
InnerClasses:
ColorTransferHandler = javax.swing.plaf.basic.BasicColorChooserUI$ColorTransferHandler of javax.swing.plaf.basic.BasicColorChooserUI
private Handler = javax.swing.plaf.basic.BasicColorChooserUI$Handler of javax.swing.plaf.basic.BasicColorChooserUI
public PropertyHandler = javax.swing.plaf.basic.BasicColorChooserUI$PropertyHandler of javax.swing.plaf.basic.BasicColorChooserUI