public abstract class javafx.scene.control.FocusModel<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javafx.scene.control.FocusModel
super_class: java.lang.Object
{
private javafx.beans.property.ReadOnlyIntegerWrapper focusedIndex;
descriptor: Ljavafx/beans/property/ReadOnlyIntegerWrapper;
flags: (0x0002) ACC_PRIVATE
private javafx.beans.property.ReadOnlyObjectWrapper<T> focusedItem;
descriptor: Ljavafx/beans/property/ReadOnlyObjectWrapper;
flags: (0x0002) ACC_PRIVATE
Signature: Ljavafx/beans/property/ReadOnlyObjectWrapper<TT;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new javafx.beans.property.ReadOnlyIntegerWrapper
dup
aload 0
ldc "focusedIndex"
iconst_m1
invokespecial javafx.beans.property.ReadOnlyIntegerWrapper.<init>:(Ljava/lang/Object;Ljava/lang/String;I)V
putfield javafx.scene.control.FocusModel.focusedIndex:Ljavafx/beans/property/ReadOnlyIntegerWrapper;
2: aload 0
new javafx.beans.property.ReadOnlyObjectWrapper
dup
aload 0
ldc "focusedItem"
invokespecial javafx.beans.property.ReadOnlyObjectWrapper.<init>:(Ljava/lang/Object;Ljava/lang/String;)V
putfield javafx.scene.control.FocusModel.focusedItem:Ljavafx/beans/property/ReadOnlyObjectWrapper;
3: aload 0
invokevirtual javafx.scene.control.FocusModel.focusedIndexProperty:()Ljavafx/beans/property/ReadOnlyIntegerProperty;
aload 0
invokedynamic invalidated(Ljavafx/scene/control/FocusModel;)Ljavafx/beans/InvalidationListener;
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:
(Ljavafx/beans/Observable;)V
javafx/scene/control/FocusModel.lambda$0(Ljavafx/beans/Observable;)V (7)
(Ljavafx/beans/Observable;)V
invokevirtual javafx.beans.property.ReadOnlyIntegerProperty.addListener:(Ljavafx/beans/InvalidationListener;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavafx/scene/control/FocusModel<TT;>;
public final javafx.beans.property.ReadOnlyIntegerProperty focusedIndexProperty();
descriptor: ()Ljavafx/beans/property/ReadOnlyIntegerProperty;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.FocusModel.focusedIndex:Ljavafx/beans/property/ReadOnlyIntegerWrapper;
invokevirtual javafx.beans.property.ReadOnlyIntegerWrapper.getReadOnlyProperty:()Ljavafx/beans/property/ReadOnlyIntegerProperty;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/FocusModel<TT;>;
public final int getFocusedIndex();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.FocusModel.focusedIndex:Ljavafx/beans/property/ReadOnlyIntegerWrapper;
invokevirtual javafx.beans.property.ReadOnlyIntegerWrapper.get:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/FocusModel<TT;>;
final void setFocusedIndex(int);
descriptor: (I)V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.control.FocusModel.focusedIndex:Ljavafx/beans/property/ReadOnlyIntegerWrapper;
iload 1
invokevirtual javafx.beans.property.ReadOnlyIntegerWrapper.set:(I)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/FocusModel<TT;>;
0 1 1 value I
MethodParameters:
Name Flags
value
public final javafx.beans.property.ReadOnlyObjectProperty<T> focusedItemProperty();
descriptor: ()Ljavafx/beans/property/ReadOnlyObjectProperty;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.FocusModel.focusedItem:Ljavafx/beans/property/ReadOnlyObjectWrapper;
invokevirtual javafx.beans.property.ReadOnlyObjectWrapper.getReadOnlyProperty:()Ljavafx/beans/property/ReadOnlyObjectProperty;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/FocusModel<TT;>;
Signature: ()Ljavafx/beans/property/ReadOnlyObjectProperty<TT;>;
public final T getFocusedItem();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.control.FocusModel.focusedItemProperty:()Ljavafx/beans/property/ReadOnlyObjectProperty;
invokevirtual javafx.beans.property.ReadOnlyObjectProperty.get:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/FocusModel<TT;>;
Signature: ()TT;
final void setFocusedItem();
descriptor: (Ljava/lang/Object;)V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.control.FocusModel.focusedItem:Ljavafx/beans/property/ReadOnlyObjectWrapper;
aload 1
invokevirtual javafx.beans.property.ReadOnlyObjectWrapper.set:(Ljava/lang/Object;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/FocusModel<TT;>;
0 1 1 value TT;
Signature: (TT;)V
MethodParameters:
Name Flags
value
protected abstract int getItemCount();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract T getModelItem();
descriptor: (I)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (I)TT;
MethodParameters:
Name Flags
index
public boolean isFocused(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
invokevirtual javafx.scene.control.FocusModel.getItemCount:()I
if_icmplt 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.control.FocusModel.getFocusedIndex:()I
iload 1
if_icmpne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/control/FocusModel<TT;>;
0 4 1 index I
MethodParameters:
Name Flags
index
public void focus(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
invokevirtual javafx.scene.control.FocusModel.getItemCount:()I
if_icmplt 3
1: StackMap locals:
StackMap stack:
aload 0
iconst_m1
invokevirtual javafx.scene.control.FocusModel.setFocusedIndex:(I)V
2: goto 7
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual javafx.scene.control.FocusModel.getFocusedIndex:()I
istore 2
start local 2 4: aload 0
iload 1
invokevirtual javafx.scene.control.FocusModel.setFocusedIndex:(I)V
5: iload 2
iload 1
if_icmpne 7
6: aload 0
aload 0
iload 1
invokevirtual javafx.scene.control.FocusModel.getModelItem:(I)Ljava/lang/Object;
invokevirtual javafx.scene.control.FocusModel.setFocusedItem:(Ljava/lang/Object;)V
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavafx/scene/control/FocusModel<TT;>;
0 8 1 index I
4 7 2 oldFocusIndex I
MethodParameters:
Name Flags
index
public void focusPrevious();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.control.FocusModel.getFocusedIndex:()I
iconst_m1
if_icmpne 3
1: aload 0
iconst_0
invokevirtual javafx.scene.control.FocusModel.focus:(I)V
2: goto 5
StackMap locals:
StackMap stack:
3: aload 0
invokevirtual javafx.scene.control.FocusModel.getFocusedIndex:()I
ifle 5
4: aload 0
aload 0
invokevirtual javafx.scene.control.FocusModel.getFocusedIndex:()I
iconst_1
isub
invokevirtual javafx.scene.control.FocusModel.focus:(I)V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavafx/scene/control/FocusModel<TT;>;
public void focusNext();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.control.FocusModel.getFocusedIndex:()I
iconst_m1
if_icmpne 3
1: aload 0
iconst_0
invokevirtual javafx.scene.control.FocusModel.focus:(I)V
2: goto 5
StackMap locals:
StackMap stack:
3: aload 0
invokevirtual javafx.scene.control.FocusModel.getFocusedIndex:()I
aload 0
invokevirtual javafx.scene.control.FocusModel.getItemCount:()I
iconst_1
isub
if_icmpeq 5
4: aload 0
aload 0
invokevirtual javafx.scene.control.FocusModel.getFocusedIndex:()I
iconst_1
iadd
invokevirtual javafx.scene.control.FocusModel.focus:(I)V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavafx/scene/control/FocusModel<TT;>;
private void lambda$0(javafx.beans.Observable);
descriptor: (Ljavafx/beans/Observable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 0
invokevirtual javafx.scene.control.FocusModel.getFocusedIndex:()I
invokevirtual javafx.scene.control.FocusModel.getModelItem:(I)Ljava/lang/Object;
invokevirtual javafx.scene.control.FocusModel.setFocusedItem:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/control/FocusModel<TT;>;
0 2 1 valueModel Ljavafx/beans/Observable;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "FocusModel.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles