public abstract class javafx.scene.control.SingleSelectionModel<T> extends javafx.scene.control.SelectionModel<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: javafx.scene.control.SingleSelectionModel
  super_class: javafx.scene.control.SelectionModel
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javafx.scene.control.SingleSelectionModel this
         0: .line 56
            aload 0 /* this */
            invokespecial javafx.scene.control.SelectionModel.<init>:()V
            return
        end local 0 // javafx.scene.control.SingleSelectionModel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavafx/scene/control/SingleSelectionModel<TT;>;

  public void clearSelection();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // javafx.scene.control.SingleSelectionModel this
         0: .line 68
            aload 0 /* this */
            iconst_m1
            invokevirtual javafx.scene.control.SingleSelectionModel.updateSelectedIndex:(I)V
         1: .line 69
            return
        end local 0 // javafx.scene.control.SingleSelectionModel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljavafx/scene/control/SingleSelectionModel<TT;>;

  public void clearSelection(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // javafx.scene.control.SingleSelectionModel this
        start local 1 // int index
         0: .line 75
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getSelectedIndex:()I
            iload 1 /* index */
            if_icmpne 2
         1: .line 76
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.clearSelection:()V
         2: .line 78
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int index
        end local 0 // javafx.scene.control.SingleSelectionModel this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Ljavafx/scene/control/SingleSelectionModel<TT;>;
            0    3     1  index  I
    MethodParameters:
       Name  Flags
      index  

  public boolean isEmpty();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // javafx.scene.control.SingleSelectionModel this
         0: .line 82
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getItemCount:()I
            ifeq 1
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getSelectedIndex:()I
            iconst_m1
            if_icmpeq 1
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_1
            ireturn
        end local 0 // javafx.scene.control.SingleSelectionModel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljavafx/scene/control/SingleSelectionModel<TT;>;

  public boolean isSelected(int);
    descriptor: (I)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // javafx.scene.control.SingleSelectionModel this
        start local 1 // int index
         0: .line 94
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getSelectedIndex:()I
            iload 1 /* index */
            if_icmpne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 1 // int index
        end local 0 // javafx.scene.control.SingleSelectionModel this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Ljavafx/scene/control/SingleSelectionModel<TT;>;
            0    2     1  index  I
    MethodParameters:
       Name  Flags
      index  

  public void clearAndSelect(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // javafx.scene.control.SingleSelectionModel this
        start local 1 // int index
         0: .line 103
            aload 0 /* this */
            iload 1 /* index */
            invokevirtual javafx.scene.control.SingleSelectionModel.select:(I)V
         1: .line 104
            return
        end local 1 // int index
        end local 0 // javafx.scene.control.SingleSelectionModel this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Ljavafx/scene/control/SingleSelectionModel<TT;>;
            0    2     1  index  I
    MethodParameters:
       Name  Flags
      index  

  public void select();
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // javafx.scene.control.SingleSelectionModel this
        start local 1 // java.lang.Object obj
         0: .line 113
            aload 1 /* obj */
            ifnonnull 4
         1: .line 114
            aload 0 /* this */
            iconst_m1
            invokevirtual javafx.scene.control.SingleSelectionModel.setSelectedIndex:(I)V
         2: .line 115
            aload 0 /* this */
            aconst_null
            invokevirtual javafx.scene.control.SingleSelectionModel.setSelectedItem:(Ljava/lang/Object;)V
         3: .line 116
            return
         4: .line 119
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getItemCount:()I
            istore 2 /* itemCount */
        start local 2 // int itemCount
         5: .line 121
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         6: goto 12
         7: .line 122
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            iload 3 /* i */
            invokevirtual javafx.scene.control.SingleSelectionModel.getModelItem:(I)Ljava/lang/Object;
            astore 4 /* value */
        start local 4 // java.lang.Object value
         8: .line 123
            aload 4 /* value */
            ifnull 11
            aload 4 /* value */
            aload 1 /* obj */
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifeq 11
         9: .line 124
            aload 0 /* this */
            iload 3 /* i */
            invokevirtual javafx.scene.control.SingleSelectionModel.select:(I)V
        10: .line 125
            return
        end local 4 // java.lang.Object value
        11: .line 121
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        12: iload 3 /* i */
            iload 2 /* itemCount */
            if_icmplt 7
        end local 3 // int i
        13: .line 134
            aload 0 /* this */
            aload 1 /* obj */
            invokevirtual javafx.scene.control.SingleSelectionModel.setSelectedItem:(Ljava/lang/Object;)V
        14: .line 135
            return
        end local 2 // int itemCount
        end local 1 // java.lang.Object obj
        end local 0 // javafx.scene.control.SingleSelectionModel this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   15     0       this  Ljavafx/scene/control/SingleSelectionModel<TT;>;
            0   15     1        obj  TT;
            5   15     2  itemCount  I
            6   13     3          i  I
            8   11     4      value  TT;
    Signature: (TT;)V
    MethodParameters:
      Name  Flags
      obj   

  public void select(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // javafx.scene.control.SingleSelectionModel this
        start local 1 // int index
         0: .line 143
            iload 1 /* index */
            iconst_m1
            if_icmpne 3
         1: .line 144
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.clearSelection:()V
         2: .line 145
            return
         3: .line 147
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getItemCount:()I
            istore 2 /* itemCount */
        start local 2 // int itemCount
         4: .line 148
            iload 2 /* itemCount */
            ifeq 5
            iload 1 /* index */
            iflt 5
            iload 1 /* index */
            iload 2 /* itemCount */
            if_icmplt 6
      StackMap locals: int
      StackMap stack:
         5: return
         6: .line 149
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* index */
            invokevirtual javafx.scene.control.SingleSelectionModel.updateSelectedIndex:(I)V
         7: .line 150
            return
        end local 2 // int itemCount
        end local 1 // int index
        end local 0 // javafx.scene.control.SingleSelectionModel this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    8     0       this  Ljavafx/scene/control/SingleSelectionModel<TT;>;
            0    8     1      index  I
            4    8     2  itemCount  I
    MethodParameters:
       Name  Flags
      index  

  public void selectPrevious();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // javafx.scene.control.SingleSelectionModel this
         0: .line 158
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getSelectedIndex:()I
            ifne 1
            return
         1: .line 159
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getSelectedIndex:()I
            iconst_1
            isub
            invokevirtual javafx.scene.control.SingleSelectionModel.select:(I)V
         2: .line 160
            return
        end local 0 // javafx.scene.control.SingleSelectionModel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljavafx/scene/control/SingleSelectionModel<TT;>;

  public void selectNext();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // javafx.scene.control.SingleSelectionModel this
         0: .line 168
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getSelectedIndex:()I
            iconst_1
            iadd
            invokevirtual javafx.scene.control.SingleSelectionModel.select:(I)V
         1: .line 169
            return
        end local 0 // javafx.scene.control.SingleSelectionModel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljavafx/scene/control/SingleSelectionModel<TT;>;

  public void selectFirst();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // javafx.scene.control.SingleSelectionModel this
         0: .line 177
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getItemCount:()I
            ifle 2
         1: .line 178
            aload 0 /* this */
            iconst_0
            invokevirtual javafx.scene.control.SingleSelectionModel.select:(I)V
         2: .line 180
      StackMap locals:
      StackMap stack:
            return
        end local 0 // javafx.scene.control.SingleSelectionModel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljavafx/scene/control/SingleSelectionModel<TT;>;

  public void selectLast();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // javafx.scene.control.SingleSelectionModel this
         0: .line 188
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getItemCount:()I
            istore 1 /* numItems */
        start local 1 // int numItems
         1: .line 189
            iload 1 /* numItems */
            ifle 3
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getSelectedIndex:()I
            iload 1 /* numItems */
            iconst_1
            isub
            if_icmpge 3
         2: .line 190
            aload 0 /* this */
            iload 1 /* numItems */
            iconst_1
            isub
            invokevirtual javafx.scene.control.SingleSelectionModel.select:(I)V
         3: .line 192
      StackMap locals: int
      StackMap stack:
            return
        end local 1 // int numItems
        end local 0 // javafx.scene.control.SingleSelectionModel this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Ljavafx/scene/control/SingleSelectionModel<TT;>;
            1    4     1  numItems  I

  protected abstract T getModelItem();
    descriptor: (I)Ljava/lang/Object;
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    Signature: (I)TT;
    MethodParameters:
       Name  Flags
      index  

  protected abstract int getItemCount();
    descriptor: ()I
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT

  private void updateSelectedIndex(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // javafx.scene.control.SingleSelectionModel this
        start local 1 // int newIndex
         0: .line 212
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getSelectedIndex:()I
            istore 2 /* currentIndex */
        start local 2 // int currentIndex
         1: .line 213
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getSelectedItem:()Ljava/lang/Object;
            astore 3 /* currentItem */
        start local 3 // java.lang.Object currentItem
         2: .line 215
            aload 0 /* this */
            iload 1 /* newIndex */
            invokevirtual javafx.scene.control.SingleSelectionModel.setSelectedIndex:(I)V
         3: .line 217
            iload 2 /* currentIndex */
            iconst_m1
            if_icmpne 4
            aload 3 /* currentItem */
            ifnull 4
            iload 1 /* newIndex */
            iconst_m1
            if_icmpeq 5
         4: .line 223
      StackMap locals: int java.lang.Object
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual javafx.scene.control.SingleSelectionModel.getSelectedIndex:()I
            invokevirtual javafx.scene.control.SingleSelectionModel.getModelItem:(I)Ljava/lang/Object;
            invokevirtual javafx.scene.control.SingleSelectionModel.setSelectedItem:(Ljava/lang/Object;)V
         5: .line 225
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.lang.Object currentItem
        end local 2 // int currentIndex
        end local 1 // int newIndex
        end local 0 // javafx.scene.control.SingleSelectionModel this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    6     0          this  Ljavafx/scene/control/SingleSelectionModel<TT;>;
            0    6     1      newIndex  I
            1    6     2  currentIndex  I
            2    6     3   currentItem  TT;
    MethodParameters:
          Name  Flags
      newIndex  
}
Signature: <T:Ljava/lang/Object;>Ljavafx/scene/control/SelectionModel<TT;>;
SourceFile: "SingleSelectionModel.java"