class javafx.scene.control.ListView$ListViewBitSetSelectionModel<T> extends javafx.scene.control.MultipleSelectionModelBase<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.control.ListView$ListViewBitSetSelectionModel
super_class: javafx.scene.control.MultipleSelectionModelBase
{
private final javafx.collections.ListChangeListener<T> itemsContentObserver;
descriptor: Ljavafx/collections/ListChangeListener;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljavafx/collections/ListChangeListener<TT;>;
private final javafx.beans.InvalidationListener itemsObserver;
descriptor: Ljavafx/beans/InvalidationListener;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private javafx.collections.WeakListChangeListener<T> weakItemsContentObserver;
descriptor: Ljavafx/collections/WeakListChangeListener;
flags: (0x0002) ACC_PRIVATE
Signature: Ljavafx/collections/WeakListChangeListener<TT;>;
private final javafx.scene.control.ListView<T> listView;
descriptor: Ljavafx/scene/control/ListView;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljavafx/scene/control/ListView<TT;>;
private int itemCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int previousModelSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(javafx.scene.control.ListView<T>);
descriptor: (Ljavafx/scene/control/ListView;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javafx.scene.control.MultipleSelectionModelBase.<init>:()V
1: aload 0
new javafx.scene.control.ListView$ListViewBitSetSelectionModel$1
dup
aload 0
invokespecial javafx.scene.control.ListView$ListViewBitSetSelectionModel$1.<init>:(Ljavafx/scene/control/ListView$ListViewBitSetSelectionModel;)V
putfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.itemsContentObserver:Ljavafx/collections/ListChangeListener;
2: aload 0
3: new javafx.collections.WeakListChangeListener
dup
aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.itemsContentObserver:Ljavafx/collections/ListChangeListener;
invokespecial javafx.collections.WeakListChangeListener.<init>:(Ljavafx/collections/ListChangeListener;)V
putfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.weakItemsContentObserver:Ljavafx/collections/WeakListChangeListener;
4: aload 0
iconst_0
putfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.itemCount:I
5: aload 0
iconst_0
putfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.previousModelSize:I
6: aload 1
ifnonnull 8
7: new java.lang.IllegalArgumentException
dup
ldc "ListView can not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: javafx.scene.control.ListView$ListViewBitSetSelectionModel javafx.scene.control.ListView
StackMap stack:
aload 0
aload 1
putfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
9: aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.getSelectedItems:()Ljavafx/collections/ObservableList;
checkcast com.sun.javafx.scene.control.SelectedItemsReadOnlyObservableList
aload 1
invokevirtual javafx.scene.control.ListView.getItems:()Ljavafx/collections/ObservableList;
invokevirtual com.sun.javafx.scene.control.SelectedItemsReadOnlyObservableList.setItemsList:(Ljavafx/collections/ObservableList;)V
10: aload 0
new javafx.scene.control.ListView$ListViewBitSetSelectionModel$2
dup
aload 0
aload 1
invokespecial javafx.scene.control.ListView$ListViewBitSetSelectionModel$2.<init>:(Ljavafx/scene/control/ListView$ListViewBitSetSelectionModel;Ljavafx/scene/control/ListView;)V
putfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.itemsObserver:Ljavafx/beans/InvalidationListener;
11: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
invokevirtual javafx.scene.control.ListView.itemsProperty:()Ljavafx/beans/property/ObjectProperty;
new javafx.beans.WeakInvalidationListener
dup
aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.itemsObserver:Ljavafx/beans/InvalidationListener;
invokespecial javafx.beans.WeakInvalidationListener.<init>:(Ljavafx/beans/InvalidationListener;)V
invokevirtual javafx.beans.property.ObjectProperty.addListener:(Ljavafx/beans/InvalidationListener;)V
12: aload 1
invokevirtual javafx.scene.control.ListView.getItems:()Ljavafx/collections/ObservableList;
ifnull 14
13: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
invokevirtual javafx.scene.control.ListView.getItems:()Ljavafx/collections/ObservableList;
aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.weakItemsContentObserver:Ljavafx/collections/WeakListChangeListener;
invokeinterface javafx.collections.ObservableList.addListener:(Ljavafx/collections/ListChangeListener;)V
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.updateItemCount:()V
15: aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.updateDefaultSelection:()V
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavafx/scene/control/ListView$ListViewBitSetSelectionModel<TT;>;
0 17 1 listView Ljavafx/scene/control/ListView<TT;>;
Signature: (Ljavafx/scene/control/ListView<TT;>;)V
MethodParameters:
Name Flags
listView final
private void updateSelection(javafx.collections.ListChangeListener$Change<? extends T>);
descriptor: (Ljavafx/collections/ListChangeListener$Change;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.reset:()V
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: goto 55
3: StackMap locals: java.util.List
StackMap stack:
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.wasReplaced:()Z
ifeq 19
4: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getList:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.isEmpty:()Z
ifeq 7
5: aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.clearSelection:()V
6: goto 55
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.getSelectedIndex:()I
istore 3
start local 3 8: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.previousModelSize:I
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getRemovedSize:()I
if_icmpne 11
9: aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.clearSelection:()V
10: goto 55
StackMap locals: int
StackMap stack:
11: iload 3
aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.getItemCount:()I
if_icmpge 17
iload 3
iflt 17
12: aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.startAtomic:()V
13: aload 0
iload 3
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.clearSelection:(I)V
14: aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.stopAtomic:()V
15: aload 0
iload 3
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.select:(I)V
16: goto 55
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.clearSelection:()V
end local 3 18: goto 55
StackMap locals:
StackMap stack:
19: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.wasAdded:()Z
ifne 20
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.wasRemoved:()Z
ifeq 25
20: StackMap locals:
StackMap stack:
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.wasAdded:()Z
ifeq 21
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getAddedSize:()I
goto 22
StackMap locals:
StackMap stack:
21: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getRemovedSize:()I
ineg
StackMap locals:
StackMap stack: int
22: istore 3
start local 3 23: aload 2
new javafx.util.Pair
dup
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getFrom:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial javafx.util.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 24: goto 55
StackMap locals:
StackMap stack:
25: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.wasPermutated:()Z
ifeq 55
26: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getTo:()I
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getFrom:()I
isub
istore 3
start local 3 27: new java.util.HashMap
dup
iload 3
invokespecial java.util.HashMap.<init>:(I)V
astore 4
start local 4 28: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getFrom:()I
istore 5
start local 5 29: goto 32
30: StackMap locals: int java.util.HashMap int
StackMap stack:
aload 4
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
iload 5
invokevirtual javafx.collections.ListChangeListener$Change.getPermutation:(I)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
31: iinc 5 1
StackMap locals:
StackMap stack:
32: iload 5
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getTo:()I
if_icmplt 30
end local 5 33: new java.util.ArrayList
dup
aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.getSelectedIndices:()Ljavafx/collections/ObservableList;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 5
start local 5 34: aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.clearSelection:()V
35: new java.util.ArrayList
dup
aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.getSelectedIndices:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 6
start local 6 36: iconst_0
istore 7
start local 7 37: goto 43
38: StackMap locals: javafx.scene.control.ListView$ListViewBitSetSelectionModel javafx.collections.ListChangeListener$Change java.util.List int java.util.HashMap java.util.List java.util.List int
StackMap stack:
aload 5
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 8
start local 8 39: aload 4
iload 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 42
40: aload 4
iload 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 9
start local 9 41: aload 6
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 8 42: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
43: iload 7
aload 5
invokeinterface java.util.List.size:()I
if_icmplt 38
end local 7 44: aload 6
invokeinterface java.util.List.isEmpty:()Z
ifne 55
45: aload 6
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 48
46: aload 0
aload 6
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.select:(I)V
47: goto 55
48: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.List.size:()I
iconst_1
isub
newarray 10
astore 7
start local 7 49: iconst_0
istore 8
start local 8 50: goto 53
51: StackMap locals: int[] int
StackMap stack:
aload 7
iload 8
aload 6
iload 8
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iastore
52: iinc 8 1
StackMap locals:
StackMap stack:
53: iload 8
aload 6
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmplt 51
end local 8 54: aload 0
aload 6
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aload 7
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.selectIndices:(I[I)V
end local 7 end local 6 end local 5 end local 4 end local 3 55: StackMap locals: javafx.scene.control.ListView$ListViewBitSetSelectionModel javafx.collections.ListChangeListener$Change java.util.List
StackMap stack:
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.next:()Z
ifne 3
56: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifne 58
57: aload 0
aload 2
aconst_null
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.shiftSelection:(Ljava/util/List;Ljavafx/util/Callback;)V
58: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.getItemCount:()I
putfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.previousModelSize:I
59: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 60 0 this Ljavafx/scene/control/ListView$ListViewBitSetSelectionModel<TT;>;
0 60 1 c Ljavafx/collections/ListChangeListener$Change<+TT;>;
2 60 2 shifts Ljava/util/List<Ljavafx/util/Pair<Ljava/lang/Integer;Ljava/lang/Integer;>;>;
8 18 3 index I
23 24 3 shift I
27 55 3 length I
28 55 4 pMap Ljava/util/HashMap<Ljava/lang/Integer;Ljava/lang/Integer;>;
29 33 5 i I
34 55 5 selectedIndices Ljava/util/List<Ljava/lang/Integer;>;
36 55 6 newIndices Ljava/util/List<Ljava/lang/Integer;>;
37 44 7 i I
39 42 8 oldIndex I
41 42 9 newIndex Ljava/lang/Integer;
49 55 7 ints [I
50 54 8 i I
Signature: (Ljavafx/collections/ListChangeListener$Change<+TT;>;)V
MethodParameters:
Name Flags
c
public void selectAll();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
iconst_m1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic com.sun.javafx.scene.control.behavior.ListCellBehavior.getAnchor:(Ljavafx/scene/control/Control;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 1
start local 1 1: aload 0
invokespecial javafx.scene.control.MultipleSelectionModelBase.selectAll:()V
2: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_0
invokestatic com.sun.javafx.scene.control.behavior.ListCellBehavior.setAnchor:(Ljavafx/scene/control/Control;Ljava/lang/Object;Z)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/control/ListView$ListViewBitSetSelectionModel<TT;>;
1 4 1 anchor I
public void clearAndSelect(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_0
invokestatic com.sun.javafx.scene.control.behavior.ListCellBehavior.setAnchor:(Ljavafx/scene/control/Control;Ljava/lang/Object;Z)V
1: aload 0
iload 1
invokespecial javafx.scene.control.MultipleSelectionModelBase.clearAndSelect:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/control/ListView$ListViewBitSetSelectionModel<TT;>;
0 3 1 row I
MethodParameters:
Name Flags
row
protected void focus(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
invokevirtual javafx.scene.control.ListView.getFocusModel:()Ljavafx/scene/control/FocusModel;
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
invokevirtual javafx.scene.control.ListView.getFocusModel:()Ljavafx/scene/control/FocusModel;
iload 1
invokevirtual javafx.scene.control.FocusModel.focus:(I)V
2: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
getstatic javafx.scene.AccessibleAttribute.FOCUS_ITEM:Ljavafx/scene/AccessibleAttribute;
invokevirtual javafx.scene.control.ListView.notifyAccessibleAttributeChanged:(Ljavafx/scene/AccessibleAttribute;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/control/ListView$ListViewBitSetSelectionModel<TT;>;
0 4 1 row I
MethodParameters:
Name Flags
row
protected int getFocusedIndex();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
invokevirtual javafx.scene.control.ListView.getFocusModel:()Ljavafx/scene/control/FocusModel;
ifnonnull 1
iconst_m1
ireturn
1: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
invokevirtual javafx.scene.control.ListView.getFocusModel:()Ljavafx/scene/control/FocusModel;
invokevirtual javafx.scene.control.FocusModel.getFocusedIndex:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/control/ListView$ListViewBitSetSelectionModel<TT;>;
protected int getItemCount();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.itemCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/ListView$ListViewBitSetSelectionModel<TT;>;
protected T getModelItem();
descriptor: (I)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
invokevirtual javafx.scene.control.ListView.getItems:()Ljavafx/collections/ObservableList;
astore 2
start local 2 1: aload 2
ifnonnull 2
aconst_null
areturn
2: StackMap locals: java.util.List
StackMap stack:
iload 1
iflt 3
iload 1
aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.itemCount:I
if_icmplt 4
StackMap locals:
StackMap stack:
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 2
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavafx/scene/control/ListView$ListViewBitSetSelectionModel<TT;>;
0 5 1 index I
1 5 2 items Ljava/util/List<TT;>;
Signature: (I)TT;
MethodParameters:
Name Flags
index
private void updateItemCount();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
ifnonnull 3
1: aload 0
iconst_m1
putfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.itemCount:I
2: goto 7
3: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
invokevirtual javafx.scene.control.ListView.getItems:()Ljavafx/collections/ObservableList;
astore 1
start local 1 4: aload 0
aload 1
ifnonnull 5
iconst_m1
goto 6
StackMap locals: javafx.scene.control.ListView$ListViewBitSetSelectionModel java.util.List
StackMap stack: javafx.scene.control.ListView$ListViewBitSetSelectionModel
5: aload 1
invokeinterface java.util.List.size:()I
StackMap locals: javafx.scene.control.ListView$ListViewBitSetSelectionModel java.util.List
StackMap stack: javafx.scene.control.ListView$ListViewBitSetSelectionModel int
6: putfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.itemCount:I
end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavafx/scene/control/ListView$ListViewBitSetSelectionModel<TT;>;
4 7 1 items Ljava/util/List<TT;>;
private void updateItemsObserver(javafx.collections.ObservableList<T>, javafx.collections.ObservableList<T>);
descriptor: (Ljavafx/collections/ObservableList;Ljavafx/collections/ObservableList;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 2
1: aload 1
aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.weakItemsContentObserver:Ljavafx/collections/WeakListChangeListener;
invokeinterface javafx.collections.ObservableList.removeListener:(Ljavafx/collections/ListChangeListener;)V
2: StackMap locals:
StackMap stack:
aload 2
ifnull 4
3: aload 2
aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.weakItemsContentObserver:Ljavafx/collections/WeakListChangeListener;
invokeinterface javafx.collections.ObservableList.addListener:(Ljavafx/collections/ListChangeListener;)V
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.updateItemCount:()V
5: aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.updateDefaultSelection:()V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavafx/scene/control/ListView$ListViewBitSetSelectionModel<TT;>;
0 7 1 oldList Ljavafx/collections/ObservableList<TT;>;
0 7 2 newList Ljavafx/collections/ObservableList<TT;>;
Signature: (Ljavafx/collections/ObservableList<TT;>;Ljavafx/collections/ObservableList<TT;>;)V
MethodParameters:
Name Flags
oldList
newList
private void updateDefaultSelection();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_m1
istore 1
start local 1 1: iconst_m1
istore 2
start local 2 2: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
invokevirtual javafx.scene.control.ListView.getItems:()Ljavafx/collections/ObservableList;
ifnull 11
3: aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.getSelectedItem:()Ljava/lang/Object;
astore 3
start local 3 4: aload 3
ifnull 7
5: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
invokevirtual javafx.scene.control.ListView.getItems:()Ljavafx/collections/ObservableList;
aload 3
invokeinterface javafx.collections.ObservableList.indexOf:(Ljava/lang/Object;)I
istore 1
6: iload 1
istore 2
7: StackMap locals: int int java.lang.Object
StackMap stack:
aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
getfield javafx.scene.control.ListView.selectFirstRowByDefault:Z
ifeq 11
iload 2
iconst_m1
if_icmpne 11
8: aload 0
getfield javafx.scene.control.ListView$ListViewBitSetSelectionModel.listView:Ljavafx/scene/control/ListView;
invokevirtual javafx.scene.control.ListView.getItems:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
ifle 9
iconst_0
goto 10
StackMap locals:
StackMap stack:
9: iconst_m1
StackMap locals:
StackMap stack: int
10: istore 2
end local 3 11: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.clearSelection:()V
12: aload 0
iload 1
invokevirtual javafx.scene.control.ListView$ListViewBitSetSelectionModel.select:(I)V
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavafx/scene/control/ListView$ListViewBitSetSelectionModel<TT;>;
1 14 1 newSelectionIndex I
2 14 2 newFocusIndex I
4 11 3 selectedItem TT;
}
Signature: <T:Ljava/lang/Object;>Ljavafx/scene/control/MultipleSelectionModelBase<TT;>;
SourceFile: "ListView.java"
NestHost: javafx.scene.control.ListView
InnerClasses:
public abstract Change = javafx.collections.ListChangeListener$Change of javafx.collections.ListChangeListener
ListViewBitSetSelectionModel = javafx.scene.control.ListView$ListViewBitSetSelectionModel of javafx.scene.control.ListView
javafx.scene.control.ListView$ListViewBitSetSelectionModel$1
javafx.scene.control.ListView$ListViewBitSetSelectionModel$2
ShiftParams = javafx.scene.control.MultipleSelectionModelBase$ShiftParams of javafx.scene.control.MultipleSelectionModelBase