class javax.swing.plaf.basic.BasicColorChooserUI$Handler implements javax.swing.event.ChangeListener, java.awt.event.MouseListener, java.beans.PropertyChangeListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicColorChooserUI$Handler
super_class: java.lang.Object
{
final javax.swing.plaf.basic.BasicColorChooserUI this$0;
descriptor: Ljavax/swing/plaf/basic/BasicColorChooserUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(javax.swing.plaf.basic.BasicColorChooserUI);
descriptor: (Ljavax/swing/plaf/basic/BasicColorChooserUI;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
MethodParameters:
Name Flags
this$0 final
public void stateChanged(javax.swing.event.ChangeEvent);
descriptor: (Ljavax/swing/event/ChangeEvent;)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$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
aload 1
invokevirtual javax.swing.event.ChangeEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.colorchooser.ColorSelectionModel
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.selectionChanged:(Ljavax/swing/colorchooser/ColorSelectionModel;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
0 2 1 evt Ljavax/swing/event/ChangeEvent;
MethodParameters:
Name Flags
evt
public void mousePressed(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.JColorChooser.getDragEnabled:()Z
ifeq 3
1: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.JColorChooser.getTransferHandler:()Ljavax/swing/TransferHandler;
astore 2
start local 2 2: aload 2
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 1
iconst_1
invokevirtual javax.swing.TransferHandler.exportAsDrag:(Ljavax/swing/JComponent;Ljava/awt/event/InputEvent;I)V
end local 2 3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
0 4 1 evt Ljava/awt/event/MouseEvent;
2 3 2 th Ljavax/swing/TransferHandler;
MethodParameters:
Name Flags
evt
public void mouseReleased(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
0 1 1 evt Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
evt
public void mouseClicked(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
0 1 1 evt Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
evt
public void mouseEntered(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
0 1 1 evt Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
evt
public void mouseExited(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
0 1 1 evt Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
evt
public void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "chooserPanels"
if_acmpne 53
2: aload 1
invokevirtual java.beans.PropertyChangeEvent.getOldValue:()Ljava/lang/Object;
checkcast javax.swing.colorchooser.AbstractColorChooserPanel[]
3: astore 3
start local 3 4: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast javax.swing.colorchooser.AbstractColorChooserPanel[]
5: astore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 15
8: StackMap locals: javax.swing.plaf.basic.BasicColorChooserUI$Handler java.beans.PropertyChangeEvent java.lang.String javax.swing.colorchooser.AbstractColorChooserPanel[] javax.swing.colorchooser.AbstractColorChooserPanel[] int
StackMap stack:
aload 3
iload 5
aaload
invokevirtual javax.swing.colorchooser.AbstractColorChooserPanel.getParent:()Ljava/awt/Container;
astore 6
start local 6 9: aload 6
ifnull 14
10: aload 6
invokevirtual java.awt.Container.getParent:()Ljava/awt/Container;
astore 7
start local 7 11: aload 7
ifnull 13
12: aload 7
aload 6
invokevirtual java.awt.Container.remove:(Ljava/awt/Component;)V
13: StackMap locals: java.awt.Container java.awt.Container
StackMap stack:
aload 3
iload 5
aaload
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.colorchooser.AbstractColorChooserPanel.uninstallChooserPanel:(Ljavax/swing/JColorChooser;)V
end local 7 end local 6 14: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
aload 3
arraylength
if_icmplt 8
end local 5 16: aload 4
arraylength
istore 5
start local 5 17: iload 5
ifne 20
18: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.tabbedPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JColorChooser.remove:(Ljava/awt/Component;)V
19: return
20: StackMap locals:
StackMap stack:
iload 5
iconst_1
if_icmpne 28
21: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.tabbedPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JColorChooser.remove:(Ljava/awt/Component;)V
22: 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
astore 6
start local 6 23: aload 6
iconst_1
invokevirtual javax.swing.JPanel.setInheritsPopupMenu:(Z)V
24: aload 6
aload 4
iconst_0
aaload
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
25: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.singlePanel:Ljavax/swing/JPanel;
aload 6
ldc "Center"
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
26: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.singlePanel:Ljavax/swing/JPanel;
invokevirtual javax.swing.JColorChooser.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
end local 6 27: goto 46
28: StackMap locals:
StackMap stack:
aload 3
arraylength
iconst_2
if_icmpge 31
29: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.singlePanel:Ljavax/swing/JPanel;
invokevirtual javax.swing.JColorChooser.remove:(Ljava/awt/Component;)V
30: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.tabbedPane:Ljavax/swing/JTabbedPane;
ldc "Center"
invokevirtual javax.swing.JColorChooser.add:(Ljava/awt/Component;Ljava/lang/Object;)V
31: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 32: goto 45
33: StackMap locals: int
StackMap stack:
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
astore 7
start local 7 34: aload 7
iconst_1
invokevirtual javax.swing.JPanel.setInheritsPopupMenu:(Z)V
35: aload 4
iload 6
aaload
invokevirtual javax.swing.colorchooser.AbstractColorChooserPanel.getDisplayName:()Ljava/lang/String;
astore 8
start local 8 36: aload 4
iload 6
aaload
invokevirtual javax.swing.colorchooser.AbstractColorChooserPanel.getMnemonic:()I
istore 9
start local 9 37: aload 7
aload 4
iload 6
aaload
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
38: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.tabbedPane:Ljavax/swing/JTabbedPane;
aload 8
aload 7
invokevirtual javax.swing.JTabbedPane.addTab:(Ljava/lang/String;Ljava/awt/Component;)V
39: iload 9
ifle 44
40: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.tabbedPane:Ljavax/swing/JTabbedPane;
iload 6
iload 9
invokevirtual javax.swing.JTabbedPane.setMnemonicAt:(II)V
41: aload 4
iload 6
aaload
invokevirtual javax.swing.colorchooser.AbstractColorChooserPanel.getDisplayedMnemonicIndex:()I
istore 10
start local 10 42: iload 10
iflt 44
43: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.tabbedPane:Ljavax/swing/JTabbedPane;
iload 6
iload 10
invokevirtual javax.swing.JTabbedPane.setDisplayedMnemonicIndexAt:(II)V
end local 10 end local 9 end local 8 end local 7 44: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
45: iload 6
aload 4
arraylength
if_icmplt 33
end local 6 46: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.JColorChooser.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual javax.swing.JColorChooser.applyComponentOrientation:(Ljava/awt/ComponentOrientation;)V
47: iconst_0
istore 6
start local 6 48: goto 51
49: StackMap locals: int
StackMap stack:
aload 4
iload 6
aaload
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.chooser:Ljavax/swing/JColorChooser;
invokevirtual javax.swing.colorchooser.AbstractColorChooserPanel.installChooserPanel:(Ljavax/swing/JColorChooser;)V
50: iinc 6 1
StackMap locals:
StackMap stack:
51: iload 6
aload 4
arraylength
if_icmplt 49
end local 6 end local 5 end local 4 end local 3 52: goto 71
53: StackMap locals: javax.swing.plaf.basic.BasicColorChooserUI$Handler java.beans.PropertyChangeEvent java.lang.String
StackMap stack:
aload 2
ldc "previewPanel"
if_acmpne 57
54: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.uninstallPreviewPanel:()V
55: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.installPreviewPanel:()V
56: goto 71
57: StackMap locals:
StackMap stack:
aload 2
ldc "selectionModel"
if_acmpne 64
58: aload 1
invokevirtual java.beans.PropertyChangeEvent.getOldValue:()Ljava/lang/Object;
checkcast javax.swing.colorchooser.ColorSelectionModel
astore 3
start local 3 59: aload 3
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewListener:Ljavax/swing/event/ChangeListener;
invokeinterface javax.swing.colorchooser.ColorSelectionModel.removeChangeListener:(Ljavax/swing/event/ChangeListener;)V
60: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast javax.swing.colorchooser.ColorSelectionModel
astore 4
start local 4 61: aload 4
aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
getfield javax.swing.plaf.basic.BasicColorChooserUI.previewListener:Ljavax/swing/event/ChangeListener;
invokeinterface javax.swing.colorchooser.ColorSelectionModel.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
62: aload 0
getfield javax.swing.plaf.basic.BasicColorChooserUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicColorChooserUI;
aload 4
invokevirtual javax.swing.plaf.basic.BasicColorChooserUI.selectionChanged:(Ljavax/swing/colorchooser/ColorSelectionModel;)V
end local 4 end local 3 63: goto 71
64: StackMap locals:
StackMap stack:
aload 2
ldc "componentOrientation"
if_acmpne 71
65: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast java.awt.ComponentOrientation
66: astore 3
start local 3 67: aload 1
invokevirtual java.beans.PropertyChangeEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JColorChooser
astore 4
start local 4 68: aload 3
aload 1
invokevirtual java.beans.PropertyChangeEvent.getOldValue:()Ljava/lang/Object;
checkcast java.awt.ComponentOrientation
if_acmpeq 71
69: aload 4
aload 3
invokevirtual javax.swing.JColorChooser.applyComponentOrientation:(Ljava/awt/ComponentOrientation;)V
70: aload 4
invokevirtual javax.swing.JColorChooser.updateUI:()V
end local 4 end local 3 71: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 72 0 this Ljavax/swing/plaf/basic/BasicColorChooserUI$Handler;
0 72 1 evt Ljava/beans/PropertyChangeEvent;
1 72 2 prop Ljava/lang/String;
4 52 3 oldPanels [Ljavax/swing/colorchooser/AbstractColorChooserPanel;
6 52 4 newPanels [Ljavax/swing/colorchooser/AbstractColorChooserPanel;
7 16 5 i I
9 14 6 wrapper Ljava/awt/Container;
11 14 7 parent Ljava/awt/Container;
17 52 5 numNewPanels I
23 27 6 centerWrapper Ljavax/swing/JPanel;
32 46 6 i I
34 44 7 centerWrapper Ljavax/swing/JPanel;
36 44 8 name Ljava/lang/String;
37 44 9 mnemonic I
42 44 10 index I
48 52 6 i I
59 63 3 oldModel Ljavax/swing/colorchooser/ColorSelectionModel;
61 63 4 newModel Ljavax/swing/colorchooser/ColorSelectionModel;
67 71 3 o Ljava/awt/ComponentOrientation;
68 71 4 cc Ljavax/swing/JColorChooser;
MethodParameters:
Name Flags
evt
}
SourceFile: "BasicColorChooserUI.java"
NestHost: javax.swing.plaf.basic.BasicColorChooserUI
InnerClasses:
private Handler = javax.swing.plaf.basic.BasicColorChooserUI$Handler of javax.swing.plaf.basic.BasicColorChooserUI