public interface javax.swing.ListSelectionModel
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: javax.swing.ListSelectionModel
super_class: java.lang.Object
{
public static final int SINGLE_SELECTION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int SINGLE_INTERVAL_SELECTION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int MULTIPLE_INTERVAL_SELECTION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public abstract void setSelectionInterval(int, int);
descriptor: (II)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index0
index1
public abstract void addSelectionInterval(int, int);
descriptor: (II)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index0
index1
public abstract void removeSelectionInterval(int, int);
descriptor: (II)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index0
index1
public abstract int getMinSelectionIndex();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int getMaxSelectionIndex();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isSelectedIndex(int);
descriptor: (I)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index
public abstract int getAnchorSelectionIndex();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void setAnchorSelectionIndex(int);
descriptor: (I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index
public abstract int getLeadSelectionIndex();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void setLeadSelectionIndex(int);
descriptor: (I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index
public abstract void clearSelection();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isSelectionEmpty();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void insertIndexInterval(int, int, boolean);
descriptor: (IIZ)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index
length
before
public abstract void removeIndexInterval(int, int);
descriptor: (II)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index0
index1
public abstract void setValueIsAdjusting(boolean);
descriptor: (Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
valueIsAdjusting
public abstract boolean getValueIsAdjusting();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void setSelectionMode(int);
descriptor: (I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
selectionMode
public abstract int getSelectionMode();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void addListSelectionListener(javax.swing.event.ListSelectionListener);
descriptor: (Ljavax/swing/event/ListSelectionListener;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
x
public abstract void removeListSelectionListener(javax.swing.event.ListSelectionListener);
descriptor: (Ljavax/swing/event/ListSelectionListener;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
x
public int[] getSelectedIndices();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
invokeinterface javax.swing.ListSelectionModel.getMinSelectionIndex:()I
istore 1
start local 1 1: aload 0
invokeinterface javax.swing.ListSelectionModel.getMaxSelectionIndex:()I
istore 2
start local 2 2: iload 1
iflt 3
iload 2
ifge 4
3: StackMap locals: int int
StackMap stack:
iconst_0
newarray 10
areturn
4: StackMap locals:
StackMap stack:
iconst_1
iload 2
iload 1
isub
iadd
newarray 10
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: iload 1
istore 5
start local 5 7: goto 11
8: StackMap locals: int[] int int
StackMap stack:
aload 0
iload 5
invokeinterface javax.swing.ListSelectionModel.isSelectedIndex:(I)Z
ifeq 10
9: aload 3
iload 4
iinc 4 1
iload 5
iastore
10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 2
if_icmple 8
end local 5 12: iload 4
newarray 10
astore 5
start local 5 13: aload 3
iconst_0
aload 5
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
14: aload 5
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 15 0 this Ljavax/swing/ListSelectionModel;
1 15 1 iMin I
2 15 2 iMax I
5 15 3 rvTmp [I
6 15 4 n I
7 12 5 i I
13 15 5 rv [I
public int getSelectedItemsCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokeinterface javax.swing.ListSelectionModel.getMinSelectionIndex:()I
istore 1
start local 1 1: aload 0
invokeinterface javax.swing.ListSelectionModel.getMaxSelectionIndex:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: iload 1
istore 4
start local 4 4: goto 8
5: StackMap locals: javax.swing.ListSelectionModel int int int int
StackMap stack:
aload 0
iload 4
invokeinterface javax.swing.ListSelectionModel.isSelectedIndex:(I)Z
ifeq 7
6: iinc 3 1
7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 2
if_icmple 5
end local 4 9: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/ListSelectionModel;
1 10 1 iMin I
2 10 2 iMax I
3 10 3 count I
4 9 4 i I
}
SourceFile: "ListSelectionModel.java"