public class javax.swing.DefaultSingleSelectionModel implements javax.swing.SingleSelectionModel, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.DefaultSingleSelectionModel
super_class: java.lang.Object
{
protected transient javax.swing.event.ChangeEvent changeEvent;
descriptor: Ljavax/swing/event/ChangeEvent;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected javax.swing.event.EventListenerList listenerList;
descriptor: Ljavax/swing/event/EventListenerList;
flags: (0x0004) ACC_PROTECTED
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.swing.DefaultSingleSelectionModel.changeEvent:Ljavax/swing/event/ChangeEvent;
2: aload 0
new javax.swing.event.EventListenerList
dup
invokespecial javax.swing.event.EventListenerList.<init>:()V
putfield javax.swing.DefaultSingleSelectionModel.listenerList:Ljavax/swing/event/EventListenerList;
3: aload 0
iconst_m1
putfield javax.swing.DefaultSingleSelectionModel.index:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/DefaultSingleSelectionModel;
public int getSelectedIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.DefaultSingleSelectionModel.index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/DefaultSingleSelectionModel;
public void setSelectedIndex(int);
descriptor: (I)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.DefaultSingleSelectionModel.index:I
iload 1
if_icmpeq 3
1: aload 0
iload 1
putfield javax.swing.DefaultSingleSelectionModel.index:I
2: aload 0
invokevirtual javax.swing.DefaultSingleSelectionModel.fireStateChanged:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/DefaultSingleSelectionModel;
0 4 1 index I
MethodParameters:
Name Flags
index
public void clearSelection();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_m1
invokevirtual javax.swing.DefaultSingleSelectionModel.setSelectedIndex:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/DefaultSingleSelectionModel;
public boolean isSelected();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual javax.swing.DefaultSingleSelectionModel.getSelectedIndex:()I
iconst_m1
if_icmpeq 3
2: iconst_1
istore 1
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/DefaultSingleSelectionModel;
1 4 1 ret Z
public void addChangeListener(javax.swing.event.ChangeListener);
descriptor: (Ljavax/swing/event/ChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.DefaultSingleSelectionModel.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.add:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/DefaultSingleSelectionModel;
0 2 1 l Ljavax/swing/event/ChangeListener;
MethodParameters:
Name Flags
l
public void removeChangeListener(javax.swing.event.ChangeListener);
descriptor: (Ljavax/swing/event/ChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.DefaultSingleSelectionModel.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.remove:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/DefaultSingleSelectionModel;
0 2 1 l Ljavax/swing/event/ChangeListener;
MethodParameters:
Name Flags
l
public javax.swing.event.ChangeListener[] getChangeListeners();
descriptor: ()[Ljavax/swing/event/ChangeListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.DefaultSingleSelectionModel.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
invokevirtual javax.swing.event.EventListenerList.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
checkcast javax.swing.event.ChangeListener[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/DefaultSingleSelectionModel;
protected void fireStateChanged();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.DefaultSingleSelectionModel.listenerList:Ljavax/swing/event/EventListenerList;
invokevirtual javax.swing.event.EventListenerList.getListenerList:()[Ljava/lang/Object;
astore 1
start local 1 1: aload 1
arraylength
iconst_2
isub
istore 2
start local 2 2: goto 8
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 1
iload 2
aaload
ldc Ljavax/swing/event/ChangeListener;
if_acmpne 7
4: aload 0
getfield javax.swing.DefaultSingleSelectionModel.changeEvent:Ljavax/swing/event/ChangeEvent;
ifnonnull 6
5: aload 0
new javax.swing.event.ChangeEvent
dup
aload 0
invokespecial javax.swing.event.ChangeEvent.<init>:(Ljava/lang/Object;)V
putfield javax.swing.DefaultSingleSelectionModel.changeEvent:Ljavax/swing/event/ChangeEvent;
6: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_1
iadd
aaload
checkcast javax.swing.event.ChangeListener
aload 0
getfield javax.swing.DefaultSingleSelectionModel.changeEvent:Ljavax/swing/event/ChangeEvent;
invokeinterface javax.swing.event.ChangeListener.stateChanged:(Ljavax/swing/event/ChangeEvent;)V
7: StackMap locals:
StackMap stack:
iinc 2 -2
StackMap locals:
StackMap stack:
8: iload 2
ifge 3
end local 2 9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/DefaultSingleSelectionModel;
1 10 1 listeners [Ljava/lang/Object;
2 9 2 i I
public <T extends java.util.EventListener> T[] getListeners(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)[Ljava/util/EventListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.DefaultSingleSelectionModel.listenerList:Ljavax/swing/event/EventListenerList;
aload 1
invokevirtual javax.swing.event.EventListenerList.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/DefaultSingleSelectionModel;
0 1 1 listenerType Ljava/lang/Class<TT;>;
Signature: <T::Ljava/util/EventListener;>(Ljava/lang/Class<TT;>;)[TT;
MethodParameters:
Name Flags
listenerType
}
SourceFile: "DefaultSingleSelectionModel.java"