class javafx.scene.control.ControlUtils
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.control.ControlUtils
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/ControlUtils;
public static void scrollToIndex(javafx.scene.control.Control, int);
descriptor: (Ljavafx/scene/control/Control;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javafx.scene.control.Control.skinProperty:()Ljavafx/beans/property/ObjectProperty;
aload 0
iload 1
invokedynamic accept(Ljavafx/scene/control/Control;I)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
javafx/scene/control/ControlUtils.lambda$0(Ljavafx/scene/control/Control;ILjavafx/scene/control/Skin;)V (6)
(Ljavafx/scene/control/Skin;)V
invokestatic com.sun.javafx.scene.control.skin.Utils.executeOnceWhenPropertyIsNonNull:(Ljavafx/beans/value/ObservableValue;Ljava/util/function/Consumer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 control Ljavafx/scene/control/Control;
0 2 1 index I
MethodParameters:
Name Flags
control final
index
public static void scrollToColumn(javafx.scene.control.Control, javafx.scene.control.TableColumnBase<?, ?>);
descriptor: (Ljavafx/scene/control/Control;Ljavafx/scene/control/TableColumnBase;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javafx.scene.control.Control.skinProperty:()Ljavafx/beans/property/ObjectProperty;
aload 0
aload 1
invokedynamic accept(Ljavafx/scene/control/Control;Ljavafx/scene/control/TableColumnBase;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
javafx/scene/control/ControlUtils.lambda$1(Ljavafx/scene/control/Control;Ljavafx/scene/control/TableColumnBase;Ljavafx/scene/control/Skin;)V (6)
(Ljavafx/scene/control/Skin;)V
invokestatic com.sun.javafx.scene.control.skin.Utils.executeOnceWhenPropertyIsNonNull:(Ljavafx/beans/value/ObservableValue;Ljava/util/function/Consumer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 control Ljavafx/scene/control/Control;
0 2 1 column Ljavafx/scene/control/TableColumnBase<**>;
Signature: (Ljavafx/scene/control/Control;Ljavafx/scene/control/TableColumnBase<**>;)V
MethodParameters:
Name Flags
control final
column final
static void requestFocusOnControlOnlyIfCurrentFocusOwnerIsChild(javafx.scene.control.Control);
descriptor: (Ljavafx/scene/control/Control;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.control.Control.getScene:()Ljavafx/scene/Scene;
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
goto 3
StackMap locals: javafx.scene.Scene
StackMap stack:
2: aload 1
invokevirtual javafx.scene.Scene.getFocusOwner:()Ljavafx/scene/Node;
StackMap locals:
StackMap stack: javafx.scene.Node
3: astore 2
start local 2 4: aload 2
ifnonnull 7
5: aload 0
invokevirtual javafx.scene.control.Control.requestFocus:()V
6: goto 15
StackMap locals: javafx.scene.Node
StackMap stack:
7: aload 0
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 15
8: aload 2
invokevirtual javafx.scene.Node.getParent:()Ljavafx/scene/Parent;
astore 3
start local 3 9: goto 14
10: StackMap locals: javafx.scene.Parent
StackMap stack:
aload 0
aload 3
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 0
invokevirtual javafx.scene.control.Control.requestFocus:()V
12: goto 15
13: StackMap locals:
StackMap stack:
aload 3
invokevirtual javafx.scene.Parent.getParent:()Ljavafx/scene/Parent;
astore 3
14: StackMap locals:
StackMap stack:
aload 3
ifnonnull 10
end local 3 15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 c Ljavafx/scene/control/Control;
1 16 1 scene Ljavafx/scene/Scene;
4 16 2 focusOwner Ljavafx/scene/Node;
9 15 3 p Ljavafx/scene/Parent;
MethodParameters:
Name Flags
c
static <T> javafx.collections.ListChangeListener$Change<T> buildClearAndSelectChange(javafx.collections.ObservableList<T>, java.util.List<T>, int);
descriptor: (Ljavafx/collections/ObservableList;Ljava/util/List;I)Ljavafx/collections/ListChangeListener$Change;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new javafx.scene.control.ControlUtils$1
dup
aload 0
aload 1
iload 2
invokespecial javafx.scene.control.ControlUtils$1.<init>:(Ljavafx/collections/ObservableList;Ljava/util/List;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljavafx/collections/ObservableList<TT;>;
0 1 1 removed Ljava/util/List<TT;>;
0 1 2 retainedRow I
Signature: <T:Ljava/lang/Object;>(Ljavafx/collections/ObservableList<TT;>;Ljava/util/List<TT;>;I)Ljavafx/collections/ListChangeListener$Change<TT;>;
MethodParameters:
Name Flags
list
removed
retainedRow
public static <S> void updateSelectedIndices(javafx.scene.control.MultipleSelectionModelBase<S>, javafx.collections.ListChangeListener$Change<? extends javafx.scene.control.TablePositionBase<?>>);
descriptor: (Ljavafx/scene/control/MultipleSelectionModelBase;Ljavafx/collections/ListChangeListener$Change;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.control.MultipleSelectionModelBase.selectedIndices:Ljavafx/scene/control/MultipleSelectionModelBase$SelectedIndicesList;
invokevirtual javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList._beginChange:()V
1: goto 25
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.control.MultipleSelectionModelBase.startAtomic:()V
3: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getRemoved:()Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
4: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
javafx/scene/control/TablePositionBase.getRow()I (5)
(Ljavafx/scene/control/TablePositionBase;)Ljava/lang/Integer;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
5: invokeinterface java.util.stream.Stream.distinct:()Ljava/util/stream/Stream;
6: aload 0
getfield javafx.scene.control.MultipleSelectionModelBase.selectedIndices:Ljavafx/scene/control/MultipleSelectionModelBase$SelectedIndicesList;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljavafx/scene/control/MultipleSelectionModelBase$SelectedIndicesList;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
javafx/scene/control/MultipleSelectionModelBase$SelectedIndicesList.clear(I)V (5)
(Ljava/lang/Integer;)V
invokeinterface java.util.stream.Stream.peek:(Ljava/util/function/Consumer;)Ljava/util/stream/Stream;
7: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
8: astore 2
start local 2 9: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getAddedSubList:()Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
10: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
javafx/scene/control/TablePositionBase.getRow()I (5)
(Ljavafx/scene/control/TablePositionBase;)Ljava/lang/Integer;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
11: invokeinterface java.util.stream.Stream.distinct:()Ljava/util/stream/Stream;
12: aload 0
getfield javafx.scene.control.MultipleSelectionModelBase.selectedIndices:Ljavafx/scene/control/MultipleSelectionModelBase$SelectedIndicesList;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljavafx/scene/control/MultipleSelectionModelBase$SelectedIndicesList;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
javafx/scene/control/MultipleSelectionModelBase$SelectedIndicesList.set(I)V (5)
(Ljava/lang/Integer;)V
invokeinterface java.util.stream.Stream.peek:(Ljava/util/function/Consumer;)Ljava/util/stream/Stream;
13: invokeinterface java.util.stream.Stream.count:()J
l2i
14: istore 4
start local 4 15: aload 0
invokevirtual javafx.scene.control.MultipleSelectionModelBase.stopAtomic:()V
16: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getFrom:()I
iload 4
iadd
istore 6
start local 6 17: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.wasReplaced:()Z
ifeq 20
18: aload 0
getfield javafx.scene.control.MultipleSelectionModelBase.selectedIndices:Ljavafx/scene/control/MultipleSelectionModelBase$SelectedIndicesList;
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getFrom:()I
iload 6
aload 2
invokevirtual javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList._nextReplace:(IILjava/util/List;)V
19: goto 25
StackMap locals: javafx.scene.control.MultipleSelectionModelBase javafx.collections.ListChangeListener$Change java.util.List top int top int
StackMap stack:
20: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.wasRemoved:()Z
ifeq 23
21: aload 0
getfield javafx.scene.control.MultipleSelectionModelBase.selectedIndices:Ljavafx/scene/control/MultipleSelectionModelBase$SelectedIndicesList;
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getFrom:()I
aload 2
invokevirtual javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList._nextRemove:(ILjava/util/List;)V
22: goto 25
StackMap locals:
StackMap stack:
23: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.wasAdded:()Z
ifeq 25
24: aload 0
getfield javafx.scene.control.MultipleSelectionModelBase.selectedIndices:Ljavafx/scene/control/MultipleSelectionModelBase$SelectedIndicesList;
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getFrom:()I
iload 6
invokevirtual javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList._nextAdd:(II)V
end local 6 end local 4 end local 2 25: StackMap locals: javafx.scene.control.MultipleSelectionModelBase javafx.collections.ListChangeListener$Change
StackMap stack:
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.next:()Z
ifne 2
26: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.reset:()V
27: aload 0
getfield javafx.scene.control.MultipleSelectionModelBase.selectedIndices:Ljavafx/scene/control/MultipleSelectionModelBase$SelectedIndicesList;
invokevirtual javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList.reset:()V
28: aload 0
invokevirtual javafx.scene.control.MultipleSelectionModelBase.isAtomic:()Z
ifeq 30
29: return
30: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.control.MultipleSelectionModelBase.getSelectedItems:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.isEmpty:()Z
ifeq 32
aload 0
invokevirtual javafx.scene.control.MultipleSelectionModelBase.getSelectedItem:()Ljava/lang/Object;
ifnull 32
31: aload 0
aconst_null
invokevirtual javafx.scene.control.MultipleSelectionModelBase.setSelectedItem:(Ljava/lang/Object;)V
32: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.control.MultipleSelectionModelBase.selectedIndices:Ljavafx/scene/control/MultipleSelectionModelBase$SelectedIndicesList;
invokevirtual javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList._endChange:()V
33: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 sm Ljavafx/scene/control/MultipleSelectionModelBase<TS;>;
0 34 1 c Ljavafx/collections/ListChangeListener$Change<+Ljavafx/scene/control/TablePositionBase<*>;>;
9 25 2 removed Ljava/util/List<Ljava/lang/Integer;>;
15 25 4 addedSize I
17 25 6 to I
Signature: <S:Ljava/lang/Object;>(Ljavafx/scene/control/MultipleSelectionModelBase<TS;>;Ljavafx/collections/ListChangeListener$Change<+Ljavafx/scene/control/TablePositionBase<*>;>;)V
MethodParameters:
Name Flags
sm
c
static void reducingChange(javafx.scene.control.MultipleSelectionModelBase<?>.SelectedIndicesList, java.util.List<java.lang.Integer>);
descriptor: (Ljavafx/scene/control/MultipleSelectionModelBase$SelectedIndicesList;Ljava/util/List;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 2: iconst_1
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 12
5: StackMap locals: int int int
StackMap stack:
aload 1
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aload 1
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iconst_1
isub
if_icmpne 8
6: iinc 3 1
7: goto 12
8: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList.indexOf:(Ljava/lang/Object;)I
aload 1
iload 2
iload 3
invokeinterface java.util.List.subList:(II)Ljava/util/List;
invokevirtual javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList._nextRemove:(ILjava/util/List;)V
9: iload 3
istore 2
10: iload 2
iconst_1
iadd
istore 3
11: iconst_1
istore 4
12: StackMap locals:
StackMap stack:
iload 3
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 5
13: iload 4
ifne 15
14: aload 0
aload 0
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList.indexOf:(Ljava/lang/Object;)I
aload 1
invokevirtual javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList._nextRemove:(ILjava/util/List;)V
15: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 selectedIndices Ljavafx/scene/control/MultipleSelectionModelBase<*>.SelectedIndicesList;
0 16 1 removed Ljava/util/List<Ljava/lang/Integer;>;
2 16 2 startPos I
3 16 3 endPos I
4 16 4 firedOnce Z
Signature: (Ljavafx/scene/control/MultipleSelectionModelBase<*>.SelectedIndicesList;Ljava/util/List<Ljava/lang/Integer;>;)V
MethodParameters:
Name Flags
selectedIndices
removed
private static void lambda$0(javafx.scene.control.Control, int, javafx.scene.control.Skin);
descriptor: (Ljavafx/scene/control/Control;ILjavafx/scene/control/Skin;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=3, args_size=3
start local 2 0: aload 0
new javafx.scene.control.ScrollToEvent
dup
aload 0
aload 0
invokestatic javafx.scene.control.ScrollToEvent.scrollToTopIndex:()Ljavafx/event/EventType;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial javafx.scene.control.ScrollToEvent.<init>:(Ljava/lang/Object;Ljavafx/event/EventTarget;Ljavafx/event/EventType;Ljava/lang/Object;)V
invokestatic javafx.event.Event.fireEvent:(Ljavafx/event/EventTarget;Ljavafx/event/Event;)V
1: return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 2 2 skin Ljavafx/scene/control/Skin<*>;
private static void lambda$1(javafx.scene.control.Control, javafx.scene.control.TableColumnBase, javafx.scene.control.Skin);
descriptor: (Ljavafx/scene/control/Control;Ljavafx/scene/control/TableColumnBase;Ljavafx/scene/control/Skin;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=3, args_size=3
start local 2 0: aload 0
new javafx.scene.control.ScrollToEvent
dup
aload 0
aload 0
invokestatic javafx.scene.control.ScrollToEvent.scrollToColumn:()Ljavafx/event/EventType;
aload 1
invokespecial javafx.scene.control.ScrollToEvent.<init>:(Ljava/lang/Object;Ljavafx/event/EventTarget;Ljavafx/event/EventType;Ljava/lang/Object;)V
invokevirtual javafx.scene.control.Control.fireEvent:(Ljavafx/event/Event;)V
1: return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 2 2 skin Ljavafx/scene/control/Skin<*>;
}
SourceFile: "ControlUtils.java"
NestMembers:
javafx.scene.control.ControlUtils$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Change = javafx.collections.ListChangeListener$Change of javafx.collections.ListChangeListener
javafx.scene.control.ControlUtils$1
SelectedIndicesList = javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList of javafx.scene.control.MultipleSelectionModelBase