public class javax.swing.plaf.basic.BasicComboBoxRenderer extends javax.swing.JLabel implements javax.swing.ListCellRenderer, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.basic.BasicComboBoxRenderer
super_class: javax.swing.JLabel
{
protected static javax.swing.border.Border noFocusBorder;
descriptor: Ljavax/swing/border/Border;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
private static final javax.swing.border.Border SAFE_NO_FOCUS_BORDER;
descriptor: Ljavax/swing/border/Border;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new javax.swing.border.EmptyBorder
dup
iconst_1
iconst_1
iconst_1
iconst_1
invokespecial javax.swing.border.EmptyBorder.<init>:(IIII)V
putstatic javax.swing.plaf.basic.BasicComboBoxRenderer.noFocusBorder:Ljavax/swing/border/Border;
1: new javax.swing.border.EmptyBorder
dup
iconst_1
iconst_1
iconst_1
iconst_1
invokespecial javax.swing.border.EmptyBorder.<init>:(IIII)V
putstatic javax.swing.plaf.basic.BasicComboBoxRenderer.SAFE_NO_FOCUS_BORDER:Ljavax/swing/border/Border;
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.JLabel.<init>:()V
1: aload 0
iconst_1
invokevirtual javax.swing.plaf.basic.BasicComboBoxRenderer.setOpaque:(Z)V
2: aload 0
invokestatic javax.swing.plaf.basic.BasicComboBoxRenderer.getNoFocusBorder:()Ljavax/swing/border/Border;
invokevirtual javax.swing.plaf.basic.BasicComboBoxRenderer.setBorder:(Ljavax/swing/border/Border;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicComboBoxRenderer;
private static javax.swing.border.Border getNoFocusBorder();
descriptor: ()Ljavax/swing/border/Border;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 2
1: getstatic javax.swing.plaf.basic.BasicComboBoxRenderer.SAFE_NO_FOCUS_BORDER:Ljavax/swing/border/Border;
areturn
2: StackMap locals:
StackMap stack:
getstatic javax.swing.plaf.basic.BasicComboBoxRenderer.noFocusBorder:Ljavax/swing/border/Border;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.awt.Dimension getPreferredSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicComboBoxRenderer.getText:()Ljava/lang/String;
ifnull 1
aload 0
invokevirtual javax.swing.plaf.basic.BasicComboBoxRenderer.getText:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
1: StackMap locals:
StackMap stack:
aload 0
ldc " "
invokevirtual javax.swing.plaf.basic.BasicComboBoxRenderer.setText:(Ljava/lang/String;)V
2: aload 0
invokespecial javax.swing.JLabel.getPreferredSize:()Ljava/awt/Dimension;
astore 1
start local 1 3: aload 0
ldc ""
invokevirtual javax.swing.plaf.basic.BasicComboBoxRenderer.setText:(Ljava/lang/String;)V
4: goto 6
end local 1 5: StackMap locals:
StackMap stack:
aload 0
invokespecial javax.swing.JLabel.getPreferredSize:()Ljava/awt/Dimension;
astore 1
start local 1 6: StackMap locals: java.awt.Dimension
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/plaf/basic/BasicComboBoxRenderer;
3 5 1 size Ljava/awt/Dimension;
6 7 1 size Ljava/awt/Dimension;
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=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 4
ifeq 4
1: aload 0
aload 1
invokevirtual javax.swing.JList.getSelectionBackground:()Ljava/awt/Color;
invokevirtual javax.swing.plaf.basic.BasicComboBoxRenderer.setBackground:(Ljava/awt/Color;)V
2: aload 0
aload 1
invokevirtual javax.swing.JList.getSelectionForeground:()Ljava/awt/Color;
invokevirtual javax.swing.plaf.basic.BasicComboBoxRenderer.setForeground:(Ljava/awt/Color;)V
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.JList.getBackground:()Ljava/awt/Color;
invokevirtual javax.swing.plaf.basic.BasicComboBoxRenderer.setBackground:(Ljava/awt/Color;)V
5: aload 0
aload 1
invokevirtual javax.swing.JList.getForeground:()Ljava/awt/Color;
invokevirtual javax.swing.plaf.basic.BasicComboBoxRenderer.setForeground:(Ljava/awt/Color;)V
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.JList.getFont:()Ljava/awt/Font;
invokevirtual javax.swing.plaf.basic.BasicComboBoxRenderer.setFont:(Ljava/awt/Font;)V
7: aload 2
instanceof javax.swing.Icon
ifeq 10
8: aload 0
aload 2
checkcast javax.swing.Icon
invokevirtual javax.swing.plaf.basic.BasicComboBoxRenderer.setIcon:(Ljavax/swing/Icon;)V
9: goto 13
10: StackMap locals:
StackMap stack:
aload 0
aload 2
ifnonnull 11
ldc ""
goto 12
StackMap locals:
StackMap stack: javax.swing.plaf.basic.BasicComboBoxRenderer
11: aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals: javax.swing.plaf.basic.BasicComboBoxRenderer javax.swing.JList java.lang.Object int int int
StackMap stack: javax.swing.plaf.basic.BasicComboBoxRenderer java.lang.String
12: invokevirtual javax.swing.plaf.basic.BasicComboBoxRenderer.setText:(Ljava/lang/String;)V
13: 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 14 0 this Ljavax/swing/plaf/basic/BasicComboBoxRenderer;
0 14 1 list Ljavax/swing/JList;
0 14 2 value Ljava/lang/Object;
0 14 3 index I
0 14 4 isSelected Z
0 14 5 cellHasFocus Z
MethodParameters:
Name Flags
list
value
index
isSelected
cellHasFocus
}
SourceFile: "BasicComboBoxRenderer.java"
NestMembers:
javax.swing.plaf.basic.BasicComboBoxRenderer$UIResource
InnerClasses:
public UIResource = javax.swing.plaf.basic.BasicComboBoxRenderer$UIResource of javax.swing.plaf.basic.BasicComboBoxRenderer