public class javax.swing.DefaultComboBoxModel<E> extends javax.swing.AbstractListModel<E> implements javax.swing.MutableComboBoxModel<E>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.DefaultComboBoxModel
super_class: javax.swing.AbstractListModel
{
java.util.Vector<E> objects;
descriptor: Ljava/util/Vector;
flags: (0x0000)
Signature: Ljava/util/Vector<TE;>;
java.lang.Object selectedObject;
descriptor: Ljava/lang/Object;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.AbstractListModel.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/DefaultComboBoxModel<TE;>;
public void <init>();
descriptor: ([Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.AbstractListModel.<init>:()V
1: aload 0
new java.util.Vector
dup
aload 1
arraylength
invokespecial java.util.Vector.<init>:(I)V
putfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
2: iconst_0
istore 2
start local 2 3: aload 1
arraylength
istore 3
start local 3 4: goto 7
5: StackMap locals: javax.swing.DefaultComboBoxModel java.lang.Object[] int int
StackMap stack:
aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
aload 1
iload 2
aaload
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 3
if_icmplt 5
8: aload 0
invokevirtual javax.swing.DefaultComboBoxModel.getSize:()I
ifle 10
9: aload 0
aload 0
iconst_0
invokevirtual javax.swing.DefaultComboBoxModel.getElementAt:(I)Ljava/lang/Object;
putfield javax.swing.DefaultComboBoxModel.selectedObject:Ljava/lang/Object;
10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/DefaultComboBoxModel<TE;>;
0 11 1 items [Ljava/lang/Object;
3 11 2 i I
4 11 3 c I
Signature: ([TE;)V
MethodParameters:
Name Flags
items final
public void <init>(java.util.Vector<E>);
descriptor: (Ljava/util/Vector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.AbstractListModel.<init>:()V
1: aload 0
aload 1
putfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
2: aload 0
invokevirtual javax.swing.DefaultComboBoxModel.getSize:()I
ifle 4
3: aload 0
aload 0
iconst_0
invokevirtual javax.swing.DefaultComboBoxModel.getElementAt:(I)Ljava/lang/Object;
putfield javax.swing.DefaultComboBoxModel.selectedObject:Ljava/lang/Object;
4: StackMap locals: javax.swing.DefaultComboBoxModel java.util.Vector
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/DefaultComboBoxModel<TE;>;
0 5 1 v Ljava/util/Vector<TE;>;
Signature: (Ljava/util/Vector<TE;>;)V
MethodParameters:
Name Flags
v
public void setSelectedItem(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.DefaultComboBoxModel.selectedObject:Ljava/lang/Object;
ifnull 1
aload 0
getfield javax.swing.DefaultComboBoxModel.selectedObject:Ljava/lang/Object;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultComboBoxModel.selectedObject:Ljava/lang/Object;
ifnonnull 4
aload 1
ifnull 4
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.swing.DefaultComboBoxModel.selectedObject:Ljava/lang/Object;
3: aload 0
aload 0
iconst_m1
iconst_m1
invokevirtual javax.swing.DefaultComboBoxModel.fireContentsChanged:(Ljava/lang/Object;II)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/DefaultComboBoxModel<TE;>;
0 5 1 anObject Ljava/lang/Object;
MethodParameters:
Name Flags
anObject
public java.lang.Object getSelectedItem();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.DefaultComboBoxModel.selectedObject:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/DefaultComboBoxModel<TE;>;
public int getSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/DefaultComboBoxModel<TE;>;
public E getElementAt();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 2
iload 1
aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmpge 2
1: aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
iload 1
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/DefaultComboBoxModel<TE;>;
0 3 1 index I
Signature: (I)TE;
MethodParameters:
Name Flags
index
public int getIndexOf(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.indexOf:(Ljava/lang/Object;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/DefaultComboBoxModel<TE;>;
0 1 1 anObject Ljava/lang/Object;
MethodParameters:
Name Flags
anObject
public void addElement();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
1: aload 0
aload 0
aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
iconst_1
isub
aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
iconst_1
isub
invokevirtual javax.swing.DefaultComboBoxModel.fireIntervalAdded:(Ljava/lang/Object;II)V
2: aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
iconst_1
if_icmpne 4
aload 0
getfield javax.swing.DefaultComboBoxModel.selectedObject:Ljava/lang/Object;
ifnonnull 4
aload 1
ifnull 4
3: aload 0
aload 1
invokevirtual javax.swing.DefaultComboBoxModel.setSelectedItem:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/DefaultComboBoxModel<TE;>;
0 5 1 anObject TE;
Signature: (TE;)V
MethodParameters:
Name Flags
anObject
public void insertElementAt(E, );
descriptor: (Ljava/lang/Object;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
aload 1
iload 2
invokevirtual java.util.Vector.insertElementAt:(Ljava/lang/Object;I)V
1: aload 0
aload 0
iload 2
iload 2
invokevirtual javax.swing.DefaultComboBoxModel.fireIntervalAdded:(Ljava/lang/Object;II)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/DefaultComboBoxModel<TE;>;
0 3 1 anObject TE;
0 3 2 index I
Signature: (TE;I)V
MethodParameters:
Name Flags
anObject
index
public void removeElementAt(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.swing.DefaultComboBoxModel.getElementAt:(I)Ljava/lang/Object;
aload 0
getfield javax.swing.DefaultComboBoxModel.selectedObject:Ljava/lang/Object;
if_acmpne 7
1: iload 1
ifne 6
2: aload 0
aload 0
invokevirtual javax.swing.DefaultComboBoxModel.getSize:()I
iconst_1
if_icmpne 3
aconst_null
goto 4
StackMap locals:
StackMap stack: javax.swing.DefaultComboBoxModel
3: aload 0
iload 1
iconst_1
iadd
invokevirtual javax.swing.DefaultComboBoxModel.getElementAt:(I)Ljava/lang/Object;
StackMap locals: javax.swing.DefaultComboBoxModel int
StackMap stack: javax.swing.DefaultComboBoxModel java.lang.Object
4: invokevirtual javax.swing.DefaultComboBoxModel.setSelectedItem:(Ljava/lang/Object;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
aload 0
iload 1
iconst_1
isub
invokevirtual javax.swing.DefaultComboBoxModel.getElementAt:(I)Ljava/lang/Object;
invokevirtual javax.swing.DefaultComboBoxModel.setSelectedItem:(Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
iload 1
invokevirtual java.util.Vector.removeElementAt:(I)V
8: aload 0
aload 0
iload 1
iload 1
invokevirtual javax.swing.DefaultComboBoxModel.fireIntervalRemoved:(Ljava/lang/Object;II)V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/DefaultComboBoxModel<TE;>;
0 10 1 index I
MethodParameters:
Name Flags
index
public void removeElement(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.indexOf:(Ljava/lang/Object;)I
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpeq 3
2: aload 0
iload 2
invokevirtual javax.swing.DefaultComboBoxModel.removeElementAt:(I)V
3: StackMap locals: int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/DefaultComboBoxModel<TE;>;
0 4 1 anObject Ljava/lang/Object;
1 4 2 index I
MethodParameters:
Name Flags
anObject
public void removeAllElements();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ifle 7
1: iconst_0
istore 1
start local 1 2: aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
iconst_1
isub
istore 2
start local 2 3: aload 0
getfield javax.swing.DefaultComboBoxModel.objects:Ljava/util/Vector;
invokevirtual java.util.Vector.removeAllElements:()V
4: aload 0
aconst_null
putfield javax.swing.DefaultComboBoxModel.selectedObject:Ljava/lang/Object;
5: aload 0
aload 0
iload 1
iload 2
invokevirtual javax.swing.DefaultComboBoxModel.fireIntervalRemoved:(Ljava/lang/Object;II)V
end local 2 end local 1 6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield javax.swing.DefaultComboBoxModel.selectedObject:Ljava/lang/Object;
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/DefaultComboBoxModel<TE;>;
2 6 1 firstIndex I
3 6 2 lastIndex I
}
Signature: <E:Ljava/lang/Object;>Ljavax/swing/AbstractListModel<TE;>;Ljavax/swing/MutableComboBoxModel<TE;>;Ljava/io/Serializable;
SourceFile: "DefaultComboBoxModel.java"