class com.apple.laf.AquaComboBoxRendererInternal extends javax.swing.JLabel implements javax.swing.ListCellRenderer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.apple.laf.AquaComboBoxRendererInternal
super_class: javax.swing.JLabel
{
final javax.swing.JComboBox fComboBox;
descriptor: Ljavax/swing/JComboBox;
flags: (0x0010) ACC_FINAL
boolean fSelected;
descriptor: Z
flags: (0x0000)
boolean fChecked;
descriptor: Z
flags: (0x0000)
boolean fInList;
descriptor: Z
flags: (0x0000)
boolean fEditable;
descriptor: Z
flags: (0x0000)
boolean fDrawCheckedItem;
descriptor: Z
flags: (0x0000)
public void <init>(javax.swing.JComboBox);
descriptor: (Ljavax/swing/JComboBox;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.JLabel.<init>:()V
1: aload 0
iconst_1
putfield com.apple.laf.AquaComboBoxRendererInternal.fDrawCheckedItem:Z
2: aload 0
aload 1
putfield com.apple.laf.AquaComboBoxRendererInternal.fComboBox:Ljavax/swing/JComboBox;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaComboBoxRendererInternal;
0 4 1 comboBox Ljavax/swing/JComboBox;
MethodParameters:
Name Flags
comboBox final
public java.awt.Dimension getPreferredSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.getText:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 2
ldc ""
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
2: StackMap locals: com.apple.laf.AquaComboBoxRendererInternal top java.lang.String
StackMap stack:
aload 0
ldc " "
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.setText:(Ljava/lang/String;)V
3: aload 0
invokespecial javax.swing.JLabel.getPreferredSize:()Ljava/awt/Dimension;
astore 1
start local 1 4: aload 0
ldc ""
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.setText:(Ljava/lang/String;)V
5: goto 7
end local 1 6: StackMap locals:
StackMap stack:
aload 0
invokespecial javax.swing.JLabel.getPreferredSize:()Ljava/awt/Dimension;
astore 1
start local 1 7: StackMap locals: com.apple.laf.AquaComboBoxRendererInternal java.awt.Dimension java.lang.String
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/apple/laf/AquaComboBoxRendererInternal;
4 6 1 size Ljava/awt/Dimension;
7 8 1 size Ljava/awt/Dimension;
1 8 2 text Ljava/lang/String;
protected void paintBorder(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0004) ACC_PROTECTED
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 Lcom/apple/laf/AquaComboBoxRendererInternal;
0 1 1 g Ljava/awt/Graphics;
MethodParameters:
Name Flags
g final
public int getBaseline(int, int);
descriptor: (II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokespecial javax.swing.JLabel.getBaseline:(II)I
iconst_1
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaComboBoxRendererInternal;
0 1 1 width I
0 1 2 height I
MethodParameters:
Name Flags
width
height
public java.awt.Component getListCellRendererComponent(javax.swing.JList, java.lang.Object, int, boolean, boolean);
descriptor: (Ljavax/swing/JList;Ljava/lang/Object;IZZ)Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 3
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack: com.apple.laf.AquaComboBoxRendererInternal
1: iconst_0
StackMap locals: com.apple.laf.AquaComboBoxRendererInternal javax.swing.JList java.lang.Object int int int
StackMap stack: com.apple.laf.AquaComboBoxRendererInternal int
2: putfield com.apple.laf.AquaComboBoxRendererInternal.fInList:Z
3: aload 0
iload 4
putfield com.apple.laf.AquaComboBoxRendererInternal.fSelected:Z
4: iload 3
ifge 6
5: aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fComboBox:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
istore 3
6: StackMap locals:
StackMap stack:
iload 3
iflt 12
7: aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fComboBox:Ljavax/swing/JComboBox;
iload 3
invokevirtual javax.swing.JComboBox.getItemAt:(I)Ljava/lang/Object;
astore 6
start local 6 8: aload 0
aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fInList:Z
ifeq 9
aload 6
ifnull 9
aload 6
aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fComboBox:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getSelectedItem:()Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 9
iconst_1
goto 10
StackMap locals: com.apple.laf.AquaComboBoxRendererInternal javax.swing.JList java.lang.Object int int int java.lang.Object
StackMap stack: com.apple.laf.AquaComboBoxRendererInternal
9: iconst_0
StackMap locals: com.apple.laf.AquaComboBoxRendererInternal javax.swing.JList java.lang.Object int int int java.lang.Object
StackMap stack: com.apple.laf.AquaComboBoxRendererInternal int
10: putfield com.apple.laf.AquaComboBoxRendererInternal.fChecked:Z
end local 6 11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.apple.laf.AquaComboBoxRendererInternal.fChecked:Z
13: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fComboBox:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.isEditable:()Z
putfield com.apple.laf.AquaComboBoxRendererInternal.fEditable:Z
14: iload 4
ifeq 22
15: aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fEditable:Z
ifeq 19
16: aload 0
ldc "List.selectionBackground"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.setBackground:(Ljava/awt/Color;)V
17: aload 0
ldc "List.selectionForeground"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.setForeground:(Ljava/awt/Color;)V
18: goto 28
19: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.JList.getSelectionBackground:()Ljava/awt/Color;
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.setBackground:(Ljava/awt/Color;)V
20: aload 0
aload 1
invokevirtual javax.swing.JList.getSelectionForeground:()Ljava/awt/Color;
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.setForeground:(Ljava/awt/Color;)V
21: goto 28
22: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fEditable:Z
ifeq 26
23: aload 0
ldc "List.background"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.setBackground:(Ljava/awt/Color;)V
24: aload 0
ldc "List.foreground"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.setForeground:(Ljava/awt/Color;)V
25: goto 28
26: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.JList.getBackground:()Ljava/awt/Color;
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.setBackground:(Ljava/awt/Color;)V
27: aload 0
aload 1
invokevirtual javax.swing.JList.getForeground:()Ljava/awt/Color;
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.setForeground:(Ljava/awt/Color;)V
28: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.JList.getFont:()Ljava/awt/Font;
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.setFont:(Ljava/awt/Font;)V
29: aload 2
instanceof javax.swing.Icon
ifeq 32
30: aload 0
aload 2
checkcast javax.swing.Icon
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.setIcon:(Ljavax/swing/Icon;)V
31: goto 35
32: StackMap locals:
StackMap stack:
aload 0
aload 2
ifnonnull 33
ldc " "
goto 34
StackMap locals:
StackMap stack: com.apple.laf.AquaComboBoxRendererInternal
33: aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals: com.apple.laf.AquaComboBoxRendererInternal javax.swing.JList java.lang.Object int int int
StackMap stack: com.apple.laf.AquaComboBoxRendererInternal java.lang.String
34: invokevirtual com.apple.laf.AquaComboBoxRendererInternal.setText:(Ljava/lang/String;)V
35: StackMap locals:
StackMap stack:
aload 0
areturn
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 36 0 this Lcom/apple/laf/AquaComboBoxRendererInternal;
0 36 1 list Ljavax/swing/JList;
0 36 2 value Ljava/lang/Object;
0 36 3 index I
0 36 4 isSelected Z
0 36 5 cellHasFocus Z
8 11 6 item Ljava/lang/Object;
MethodParameters:
Name Flags
list final
value final
index
isSelected final
cellHasFocus final
public java.awt.Insets getInsets(java.awt.Insets);
descriptor: (Ljava/awt/Insets;)Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
astore 1
1: StackMap locals:
StackMap stack:
aload 1
iconst_1
putfield java.awt.Insets.top:I
2: aload 1
iconst_1
putfield java.awt.Insets.bottom:I
3: aload 1
iconst_5
putfield java.awt.Insets.right:I
4: aload 1
aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fInList:Z
ifeq 5
aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fEditable:Z
ifne 5
bipush 23
goto 6
StackMap locals:
StackMap stack: java.awt.Insets
5: iconst_5
StackMap locals: com.apple.laf.AquaComboBoxRendererInternal java.awt.Insets
StackMap stack: java.awt.Insets int
6: putfield java.awt.Insets.left:I
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/apple/laf/AquaComboBoxRendererInternal;
0 8 1 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
insets
protected void setDrawCheckedItem(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.apple.laf.AquaComboBoxRendererInternal.fDrawCheckedItem:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaComboBoxRendererInternal;
0 2 1 drawCheckedItem Z
MethodParameters:
Name Flags
drawCheckedItem final
protected void paintComponent(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fInList:Z
ifeq 10
1: aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fSelected:Z
ifeq 4
aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fEditable:Z
ifne 4
2: invokestatic com.apple.laf.AquaMenuPainter.instance:()Lcom/apple/laf/AquaMenuPainter;
aload 1
aload 0
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.getWidth:()I
aload 0
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.getHeight:()I
invokevirtual com.apple.laf.AquaMenuPainter.paintSelectedMenuItemBackground:(Ljava/awt/Graphics;II)V
3: goto 6
4: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
5: aload 1
iconst_0
iconst_0
aload 0
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.getWidth:()I
aload 0
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.getHeight:()I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fChecked:Z
ifeq 10
aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fEditable:Z
ifne 10
aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fDrawCheckedItem:Z
ifeq 10
7: aload 0
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.getHeight:()I
iconst_4
isub
istore 2
start local 2 8: aload 1
aload 0
invokevirtual com.apple.laf.AquaComboBoxRendererInternal.getForeground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
9: aload 0
getfield com.apple.laf.AquaComboBoxRendererInternal.fComboBox:Ljavax/swing/JComboBox;
aload 1
ldc "\u2713"
bipush 6
iload 2
invokestatic sun.swing.SwingUtilities2.drawString:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V
end local 2 10: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial javax.swing.JLabel.paintComponent:(Ljava/awt/Graphics;)V
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/apple/laf/AquaComboBoxRendererInternal;
0 12 1 g Ljava/awt/Graphics;
8 10 2 y I
MethodParameters:
Name Flags
g final
}
SourceFile: "AquaComboBoxRendererInternal.java"