class javax.swing.text.DefaultEditorKit$VerticalPageAction extends javax.swing.text.TextAction
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: javax.swing.text.DefaultEditorKit$VerticalPageAction
  super_class: javax.swing.text.TextAction
{
  private boolean select;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private int direction;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  public void <init>(java.lang.String, int, boolean);
    descriptor: (Ljava/lang/String;IZ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // javax.swing.text.DefaultEditorKit$VerticalPageAction this
        start local 1 // java.lang.String nm
        start local 2 // int direction
        start local 3 // boolean select
         0: .line 1426
            aload 0 /* this */
            aload 1 /* nm */
            invokespecial javax.swing.text.TextAction.<init>:(Ljava/lang/String;)V
         1: .line 1427
            aload 0 /* this */
            iload 3 /* select */
            putfield javax.swing.text.DefaultEditorKit$VerticalPageAction.select:Z
         2: .line 1428
            aload 0 /* this */
            iload 2 /* direction */
            putfield javax.swing.text.DefaultEditorKit$VerticalPageAction.direction:I
         3: .line 1429
            return
        end local 3 // boolean select
        end local 2 // int direction
        end local 1 // java.lang.String nm
        end local 0 // javax.swing.text.DefaultEditorKit$VerticalPageAction this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Ljavax/swing/text/DefaultEditorKit$VerticalPageAction;
            0    4     1         nm  Ljava/lang/String;
            0    4     2  direction  I
            0    4     3     select  Z
    MethodParameters:
           Name  Flags
      nm         
      direction  
      select     

  public void actionPerformed(java.awt.event.ActionEvent);
    descriptor: (Ljava/awt/event/ActionEvent;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=15, args_size=2
        start local 0 // javax.swing.text.DefaultEditorKit$VerticalPageAction this
        start local 1 // java.awt.event.ActionEvent e
         0: .line 1434
            aload 0 /* this */
            aload 1 /* e */
            invokevirtual javax.swing.text.DefaultEditorKit$VerticalPageAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
            astore 2 /* target */
        start local 2 // javax.swing.text.JTextComponent target
         1: .line 1435
            aload 2 /* target */
            ifnull 60
         2: .line 1436
            aload 2 /* target */
            invokevirtual javax.swing.text.JTextComponent.getVisibleRect:()Ljava/awt/Rectangle;
            astore 3 /* visible */
        start local 3 // java.awt.Rectangle visible
         3: .line 1437
            new java.awt.Rectangle
            dup
            aload 3 /* visible */
            invokespecial java.awt.Rectangle.<init>:(Ljava/awt/Rectangle;)V
            astore 4 /* newVis */
        start local 4 // java.awt.Rectangle newVis
         4: .line 1438
            aload 2 /* target */
            invokevirtual javax.swing.text.JTextComponent.getCaretPosition:()I
            istore 5 /* selectedIndex */
        start local 5 // int selectedIndex
         5: .line 1439
            aload 0 /* this */
            getfield javax.swing.text.DefaultEditorKit$VerticalPageAction.direction:I
         6: .line 1440
            aload 2 /* target */
         7: .line 1441
            aload 3 /* visible */
            iconst_1
            aload 0 /* this */
            getfield javax.swing.text.DefaultEditorKit$VerticalPageAction.direction:I
         8: .line 1440
            invokevirtual javax.swing.text.JTextComponent.getScrollableBlockIncrement:(Ljava/awt/Rectangle;II)I
         9: .line 1439
            imul
            istore 6 /* scrollAmount */
        start local 6 // int scrollAmount
        10: .line 1442
            aload 3 /* visible */
            getfield java.awt.Rectangle.y:I
            istore 7 /* initialY */
        start local 7 // int initialY
        11: .line 1443
            aload 2 /* target */
            invokevirtual javax.swing.text.JTextComponent.getCaret:()Ljavax/swing/text/Caret;
            astore 8 /* caret */
        start local 8 // javax.swing.text.Caret caret
        12: .line 1444
            aload 8 /* caret */
            invokeinterface javax.swing.text.Caret.getMagicCaretPosition:()Ljava/awt/Point;
            astore 9 /* magicPosition */
        start local 9 // java.awt.Point magicPosition
        13: .line 1446
            iload 5 /* selectedIndex */
            iconst_m1
            if_icmpeq 54
        14: .line 1448
            aload 2 /* target */
        15: .line 1449
            iload 5 /* selectedIndex */
        16: .line 1448
            invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
            astore 10 /* dotBounds */
        start local 10 // java.awt.Rectangle dotBounds
        17: .line 1450
            aload 9 /* magicPosition */
            ifnull 18
            aload 9 /* magicPosition */
            getfield java.awt.Point.x:I
            goto 19
        18: .line 1451
      StackMap locals: javax.swing.text.DefaultEditorKit$VerticalPageAction java.awt.event.ActionEvent javax.swing.text.JTextComponent java.awt.Rectangle java.awt.Rectangle int int int javax.swing.text.Caret java.awt.Point java.awt.Rectangle
      StackMap stack:
            aload 10 /* dotBounds */
            getfield java.awt.Rectangle.x:I
        19: .line 1450
      StackMap locals:
      StackMap stack: int
            istore 11 /* x */
        start local 11 // int x
        20: .line 1452
            aload 10 /* dotBounds */
            getfield java.awt.Rectangle.height:I
            istore 12 /* h */
        start local 12 // int h
        21: .line 1453
            iload 12 /* h */
            ifle 23
        22: .line 1456
            iload 6 /* scrollAmount */
            iload 12 /* h */
            idiv
            iload 12 /* h */
            imul
            istore 6 /* scrollAmount */
        23: .line 1458
      StackMap locals: int int
      StackMap stack:
            aload 4 /* newVis */
            aload 0 /* this */
            aload 2 /* target */
        24: .line 1459
            iload 7 /* initialY */
            iload 6 /* scrollAmount */
            iadd
            aload 3 /* visible */
            getfield java.awt.Rectangle.height:I
        25: .line 1458
            invokevirtual javax.swing.text.DefaultEditorKit$VerticalPageAction.constrainY:(Ljavax/swing/text/JTextComponent;II)I
            putfield java.awt.Rectangle.y:I
        26: .line 1463
            aload 3 /* visible */
            aload 10 /* dotBounds */
            getfield java.awt.Rectangle.x:I
            aload 10 /* dotBounds */
            getfield java.awt.Rectangle.y:I
            invokevirtual java.awt.Rectangle.contains:(II)Z
            ifeq 33
        27: .line 1466
            aload 2 /* target */
        28: .line 1467
            new java.awt.Point
            dup
            iload 11 /* x */
            aload 0 /* this */
            aload 2 /* target */
        29: .line 1468
            aload 10 /* dotBounds */
            getfield java.awt.Rectangle.y:I
            iload 6 /* scrollAmount */
            iadd
            iconst_0
        30: .line 1467
            invokevirtual javax.swing.text.DefaultEditorKit$VerticalPageAction.constrainY:(Ljavax/swing/text/JTextComponent;II)I
            invokespecial java.awt.Point.<init>:(II)V
        31: .line 1466
            invokevirtual javax.swing.text.JTextComponent.viewToModel:(Ljava/awt/Point;)I
            istore 13 /* newIndex */
        start local 13 // int newIndex
        32: .line 1469
            goto 41
        end local 13 // int newIndex
        33: .line 1473
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.swing.text.DefaultEditorKit$VerticalPageAction.direction:I
            iconst_m1
            if_icmpne 38
        34: .line 1474
            aload 2 /* target */
            new java.awt.Point
            dup
        35: .line 1475
            iload 11 /* x */
            aload 4 /* newVis */
            getfield java.awt.Rectangle.y:I
            invokespecial java.awt.Point.<init>:(II)V
        36: .line 1474
            invokevirtual javax.swing.text.JTextComponent.viewToModel:(Ljava/awt/Point;)I
            istore 13 /* newIndex */
        start local 13 // int newIndex
        37: .line 1476
            goto 41
        end local 13 // int newIndex
        38: .line 1478
      StackMap locals:
      StackMap stack:
            aload 2 /* target */
            new java.awt.Point
            dup
        39: .line 1479
            iload 11 /* x */
            aload 4 /* newVis */
            getfield java.awt.Rectangle.y:I
            aload 3 /* visible */
            getfield java.awt.Rectangle.height:I
            iadd
            invokespecial java.awt.Point.<init>:(II)V
        40: .line 1478
            invokevirtual javax.swing.text.JTextComponent.viewToModel:(Ljava/awt/Point;)I
            istore 13 /* newIndex */
        start local 13 // int newIndex
        41: .line 1482
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aload 2 /* target */
            iload 13 /* newIndex */
            invokevirtual javax.swing.text.DefaultEditorKit$VerticalPageAction.constrainOffset:(Ljavax/swing/text/JTextComponent;I)I
            istore 13 /* newIndex */
        42: .line 1483
            iload 13 /* newIndex */
            iload 5 /* selectedIndex */
            if_icmpeq 57
        43: .line 1487
            aload 0 /* this */
            aload 2 /* target */
            aload 4 /* newVis */
            iload 13 /* newIndex */
            invokevirtual javax.swing.text.DefaultEditorKit$VerticalPageAction.getAdjustedY:(Ljavax/swing/text/JTextComponent;Ljava/awt/Rectangle;I)I
            istore 14 /* newY */
        start local 14 // int newY
        44: .line 1489
            aload 0 /* this */
            getfield javax.swing.text.DefaultEditorKit$VerticalPageAction.direction:I
            iconst_m1
            if_icmpne 45
            iload 14 /* newY */
            iload 7 /* initialY */
            if_icmple 46
      StackMap locals: int
      StackMap stack:
        45: aload 0 /* this */
            getfield javax.swing.text.DefaultEditorKit$VerticalPageAction.direction:I
            iconst_1
            if_icmpne 57
            iload 14 /* newY */
            iload 7 /* initialY */
            if_icmplt 57
        46: .line 1491
      StackMap locals:
      StackMap stack:
            aload 4 /* newVis */
            iload 14 /* newY */
            putfield java.awt.Rectangle.y:I
        47: .line 1493
            aload 0 /* this */
            getfield javax.swing.text.DefaultEditorKit$VerticalPageAction.select:Z
            ifeq 50
        48: .line 1494
            aload 2 /* target */
            iload 13 /* newIndex */
            invokevirtual javax.swing.text.JTextComponent.moveCaretPosition:(I)V
        49: .line 1495
            goto 57
        50: .line 1496
      StackMap locals:
      StackMap stack:
            aload 2 /* target */
            iload 13 /* newIndex */
            invokevirtual javax.swing.text.JTextComponent.setCaretPosition:(I)V
        end local 14 // int newY
        end local 13 // int newIndex
        end local 12 // int h
        end local 11 // int x
        end local 10 // java.awt.Rectangle dotBounds
        51: .line 1500
            goto 57
      StackMap locals: javax.swing.text.DefaultEditorKit$VerticalPageAction java.awt.event.ActionEvent javax.swing.text.JTextComponent java.awt.Rectangle java.awt.Rectangle int int int javax.swing.text.Caret java.awt.Point
      StackMap stack: javax.swing.text.BadLocationException
        52: pop
        53: .line 1501
            goto 57
        54: .line 1502
      StackMap locals:
      StackMap stack:
            aload 4 /* newVis */
            aload 0 /* this */
            aload 2 /* target */
        55: .line 1503
            iload 7 /* initialY */
            iload 6 /* scrollAmount */
            iadd
            aload 3 /* visible */
            getfield java.awt.Rectangle.height:I
        56: .line 1502
            invokevirtual javax.swing.text.DefaultEditorKit$VerticalPageAction.constrainY:(Ljavax/swing/text/JTextComponent;II)I
            putfield java.awt.Rectangle.y:I
        57: .line 1505
      StackMap locals:
      StackMap stack:
            aload 9 /* magicPosition */
            ifnull 59
        58: .line 1506
            aload 8 /* caret */
            aload 9 /* magicPosition */
            invokeinterface javax.swing.text.Caret.setMagicCaretPosition:(Ljava/awt/Point;)V
        59: .line 1508
      StackMap locals:
      StackMap stack:
            aload 2 /* target */
            aload 4 /* newVis */
            invokevirtual javax.swing.text.JTextComponent.scrollRectToVisible:(Ljava/awt/Rectangle;)V
        end local 9 // java.awt.Point magicPosition
        end local 8 // javax.swing.text.Caret caret
        end local 7 // int initialY
        end local 6 // int scrollAmount
        end local 5 // int selectedIndex
        end local 4 // java.awt.Rectangle newVis
        end local 3 // java.awt.Rectangle visible
        60: .line 1510
      StackMap locals: javax.swing.text.DefaultEditorKit$VerticalPageAction java.awt.event.ActionEvent javax.swing.text.JTextComponent
      StackMap stack:
            return
        end local 2 // javax.swing.text.JTextComponent target
        end local 1 // java.awt.event.ActionEvent e
        end local 0 // javax.swing.text.DefaultEditorKit$VerticalPageAction this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   61     0           this  Ljavax/swing/text/DefaultEditorKit$VerticalPageAction;
            0   61     1              e  Ljava/awt/event/ActionEvent;
            1   61     2         target  Ljavax/swing/text/JTextComponent;
            3   60     3        visible  Ljava/awt/Rectangle;
            4   60     4         newVis  Ljava/awt/Rectangle;
            5   60     5  selectedIndex  I
           10   60     6   scrollAmount  I
           11   60     7       initialY  I
           12   60     8          caret  Ljavax/swing/text/Caret;
           13   60     9  magicPosition  Ljava/awt/Point;
           17   51    10      dotBounds  Ljava/awt/Rectangle;
           20   51    11              x  I
           21   51    12              h  I
           32   33    13       newIndex  I
           37   38    13       newIndex  I
           41   51    13       newIndex  I
           44   51    14           newY  I
      Exception table:
        from    to  target  type
          14    51      52  Class javax.swing.text.BadLocationException
    MethodParameters:
      Name  Flags
      e     

  private int constrainY(javax.swing.text.JTextComponent, int, int);
    descriptor: (Ljavax/swing/text/JTextComponent;II)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // javax.swing.text.DefaultEditorKit$VerticalPageAction this
        start local 1 // javax.swing.text.JTextComponent target
        start local 2 // int y
        start local 3 // int vis
         0: .line 1517
            iload 2 /* y */
            ifge 3
         1: .line 1518
            iconst_0
            istore 2 /* y */
         2: .line 1519
            goto 5
         3: .line 1520
      StackMap locals:
      StackMap stack:
            iload 2 /* y */
            iload 3 /* vis */
            iadd
            aload 1 /* target */
            invokevirtual javax.swing.text.JTextComponent.getHeight:()I
            if_icmple 5
         4: .line 1521
            iconst_0
            aload 1 /* target */
            invokevirtual javax.swing.text.JTextComponent.getHeight:()I
            iload 3 /* vis */
            isub
            invokestatic java.lang.Math.max:(II)I
            istore 2 /* y */
         5: .line 1523
      StackMap locals:
      StackMap stack:
            iload 2 /* y */
            ireturn
        end local 3 // int vis
        end local 2 // int y
        end local 1 // javax.swing.text.JTextComponent target
        end local 0 // javax.swing.text.DefaultEditorKit$VerticalPageAction this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Ljavax/swing/text/DefaultEditorKit$VerticalPageAction;
            0    6     1  target  Ljavax/swing/text/JTextComponent;
            0    6     2       y  I
            0    6     3     vis  I
    MethodParameters:
        Name  Flags
      target  
      y       
      vis     

  private int constrainOffset(javax.swing.text.JTextComponent, int);
    descriptor: (Ljavax/swing/text/JTextComponent;I)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=3
        start local 0 // javax.swing.text.DefaultEditorKit$VerticalPageAction this
        start local 1 // javax.swing.text.JTextComponent text
        start local 2 // int offset
         0: .line 1531
            aload 1 /* text */
            invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
            astore 3 /* doc */
        start local 3 // javax.swing.text.Document doc
         1: .line 1533
            iload 2 /* offset */
            ifeq 3
            iload 2 /* offset */
            aload 3 /* doc */
            invokeinterface javax.swing.text.Document.getLength:()I
            if_icmple 3
         2: .line 1534
            aload 3 /* doc */
            invokeinterface javax.swing.text.Document.getLength:()I
            istore 2 /* offset */
         3: .line 1536
      StackMap locals: javax.swing.text.Document
      StackMap stack:
            iload 2 /* offset */
            ifge 5
         4: .line 1537
            iconst_0
            istore 2 /* offset */
         5: .line 1539
      StackMap locals:
      StackMap stack:
            iload 2 /* offset */
            ireturn
        end local 3 // javax.swing.text.Document doc
        end local 2 // int offset
        end local 1 // javax.swing.text.JTextComponent text
        end local 0 // javax.swing.text.DefaultEditorKit$VerticalPageAction this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Ljavax/swing/text/DefaultEditorKit$VerticalPageAction;
            0    6     1    text  Ljavax/swing/text/JTextComponent;
            0    6     2  offset  I
            1    6     3     doc  Ljavax/swing/text/Document;
    MethodParameters:
        Name  Flags
      text    
      offset  

  private int getAdjustedY(javax.swing.text.JTextComponent, java.awt.Rectangle, int);
    descriptor: (Ljavax/swing/text/JTextComponent;Ljava/awt/Rectangle;I)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=6, args_size=4
        start local 0 // javax.swing.text.DefaultEditorKit$VerticalPageAction this
        start local 1 // javax.swing.text.JTextComponent text
        start local 2 // java.awt.Rectangle visible
        start local 3 // int index
         0: .line 1548
            aload 2 /* visible */
            getfield java.awt.Rectangle.y:I
            istore 4 /* result */
        start local 4 // int result
         1: .line 1551
            aload 1 /* text */
            iload 3 /* index */
            invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
            astore 5 /* dotBounds */
        start local 5 // java.awt.Rectangle dotBounds
         2: .line 1553
            aload 5 /* dotBounds */
            getfield java.awt.Rectangle.y:I
            aload 2 /* visible */
            getfield java.awt.Rectangle.y:I
            if_icmpge 5
         3: .line 1554
            aload 5 /* dotBounds */
            getfield java.awt.Rectangle.y:I
            istore 4 /* result */
         4: .line 1555
            goto 10
         5: .line 1556
      StackMap locals: int java.awt.Rectangle
      StackMap stack:
            aload 5 /* dotBounds */
            getfield java.awt.Rectangle.y:I
            aload 2 /* visible */
            getfield java.awt.Rectangle.y:I
            aload 2 /* visible */
            getfield java.awt.Rectangle.height:I
            iadd
            if_icmpgt 7
         6: .line 1557
            aload 5 /* dotBounds */
            getfield java.awt.Rectangle.y:I
            aload 5 /* dotBounds */
            getfield java.awt.Rectangle.height:I
            iadd
            aload 2 /* visible */
            getfield java.awt.Rectangle.y:I
            aload 2 /* visible */
            getfield java.awt.Rectangle.height:I
            iadd
            if_icmple 10
         7: .line 1558
      StackMap locals:
      StackMap stack:
            aload 5 /* dotBounds */
            getfield java.awt.Rectangle.y:I
            aload 5 /* dotBounds */
            getfield java.awt.Rectangle.height:I
            iadd
            aload 2 /* visible */
            getfield java.awt.Rectangle.height:I
            isub
            istore 4 /* result */
        end local 5 // java.awt.Rectangle dotBounds
         8: .line 1561
            goto 10
      StackMap locals: javax.swing.text.DefaultEditorKit$VerticalPageAction javax.swing.text.JTextComponent java.awt.Rectangle int int
      StackMap stack: javax.swing.text.BadLocationException
         9: pop
        10: .line 1564
      StackMap locals:
      StackMap stack:
            iload 4 /* result */
            ireturn
        end local 4 // int result
        end local 3 // int index
        end local 2 // java.awt.Rectangle visible
        end local 1 // javax.swing.text.JTextComponent text
        end local 0 // javax.swing.text.DefaultEditorKit$VerticalPageAction this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0       this  Ljavax/swing/text/DefaultEditorKit$VerticalPageAction;
            0   11     1       text  Ljavax/swing/text/JTextComponent;
            0   11     2    visible  Ljava/awt/Rectangle;
            0   11     3      index  I
            1   11     4     result  I
            2    8     5  dotBounds  Ljava/awt/Rectangle;
      Exception table:
        from    to  target  type
           1     8       9  Class javax.swing.text.BadLocationException
    MethodParameters:
         Name  Flags
      text     
      visible  
      index    
}
SourceFile: "DefaultEditorKit.java"
NestHost: javax.swing.text.DefaultEditorKit
InnerClasses:
  VerticalPageAction = javax.swing.text.DefaultEditorKit$VerticalPageAction of javax.swing.text.DefaultEditorKit