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

  private boolean left;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  public void <init>(java.lang.String, boolean, boolean);
    descriptor: (Ljava/lang/String;ZZ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // javax.swing.text.DefaultEditorKit$PageAction this
        start local 1 // java.lang.String nm
        start local 2 // boolean left
        start local 3 // boolean select
         0: .line 1597
            aload 0 /* this */
            aload 1 /* nm */
            invokespecial javax.swing.text.TextAction.<init>:(Ljava/lang/String;)V
         1: .line 1598
            aload 0 /* this */
            iload 3 /* select */
            putfield javax.swing.text.DefaultEditorKit$PageAction.select:Z
         2: .line 1599
            aload 0 /* this */
            iload 2 /* left */
            putfield javax.swing.text.DefaultEditorKit$PageAction.left:Z
         3: .line 1600
            return
        end local 3 // boolean select
        end local 2 // boolean left
        end local 1 // java.lang.String nm
        end local 0 // javax.swing.text.DefaultEditorKit$PageAction this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Ljavax/swing/text/DefaultEditorKit$PageAction;
            0    4     1      nm  Ljava/lang/String;
            0    4     2    left  Z
            0    4     3  select  Z
    MethodParameters:
        Name  Flags
      nm      
      left    
      select  

  public void actionPerformed(java.awt.event.ActionEvent);
    descriptor: (Ljava/awt/event/ActionEvent;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=6, args_size=2
        start local 0 // javax.swing.text.DefaultEditorKit$PageAction this
        start local 1 // java.awt.event.ActionEvent e
         0: .line 1605
            aload 0 /* this */
            aload 1 /* e */
            invokevirtual javax.swing.text.DefaultEditorKit$PageAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
            astore 2 /* target */
        start local 2 // javax.swing.text.JTextComponent target
         1: .line 1606
            aload 2 /* target */
            ifnull 30
         2: .line 1608
            new java.awt.Rectangle
            dup
            invokespecial java.awt.Rectangle.<init>:()V
            astore 4 /* visible */
        start local 4 // java.awt.Rectangle visible
         3: .line 1609
            aload 2 /* target */
            aload 4 /* visible */
            invokevirtual javax.swing.text.JTextComponent.computeVisibleRect:(Ljava/awt/Rectangle;)V
         4: .line 1610
            aload 0 /* this */
            getfield javax.swing.text.DefaultEditorKit$PageAction.left:Z
            ifeq 7
         5: .line 1611
            aload 4 /* visible */
            iconst_0
            aload 4 /* visible */
            getfield java.awt.Rectangle.x:I
            aload 4 /* visible */
            getfield java.awt.Rectangle.width:I
            isub
            invokestatic java.lang.Math.max:(II)I
            putfield java.awt.Rectangle.x:I
         6: .line 1612
            goto 8
         7: .line 1614
      StackMap locals: javax.swing.text.DefaultEditorKit$PageAction java.awt.event.ActionEvent javax.swing.text.JTextComponent top java.awt.Rectangle
      StackMap stack:
            aload 4 /* visible */
            dup
            getfield java.awt.Rectangle.x:I
            aload 4 /* visible */
            getfield java.awt.Rectangle.width:I
            iadd
            putfield java.awt.Rectangle.x:I
         8: .line 1617
      StackMap locals:
      StackMap stack:
            aload 2 /* target */
            invokevirtual javax.swing.text.JTextComponent.getCaretPosition:()I
            istore 3 /* selectedIndex */
        start local 3 // int selectedIndex
         9: .line 1618
            iload 3 /* selectedIndex */
            iconst_m1
            if_icmpeq 30
        10: .line 1619
            aload 0 /* this */
            getfield javax.swing.text.DefaultEditorKit$PageAction.left:Z
            ifeq 15
        11: .line 1620
            aload 2 /* target */
        12: .line 1621
            new java.awt.Point
            dup
            aload 4 /* visible */
            getfield java.awt.Rectangle.x:I
            aload 4 /* visible */
            getfield java.awt.Rectangle.y:I
            invokespecial java.awt.Point.<init>:(II)V
        13: .line 1620
            invokevirtual javax.swing.text.JTextComponent.viewToModel:(Ljava/awt/Point;)I
            istore 3 /* selectedIndex */
        14: .line 1622
            goto 20
        15: .line 1624
      StackMap locals: javax.swing.text.DefaultEditorKit$PageAction java.awt.event.ActionEvent javax.swing.text.JTextComponent int java.awt.Rectangle
      StackMap stack:
            aload 2 /* target */
        16: .line 1625
            new java.awt.Point
            dup
            aload 4 /* visible */
            getfield java.awt.Rectangle.x:I
            aload 4 /* visible */
            getfield java.awt.Rectangle.width:I
            iadd
            iconst_1
            isub
        17: .line 1626
            aload 4 /* visible */
            getfield java.awt.Rectangle.y:I
            aload 4 /* visible */
            getfield java.awt.Rectangle.height:I
            iadd
            iconst_1
            isub
        18: .line 1625
            invokespecial java.awt.Point.<init>:(II)V
        19: .line 1624
            invokevirtual javax.swing.text.JTextComponent.viewToModel:(Ljava/awt/Point;)I
            istore 3 /* selectedIndex */
        20: .line 1628
      StackMap locals:
      StackMap stack:
            aload 2 /* target */
            invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
            astore 5 /* doc */
        start local 5 // javax.swing.text.Document doc
        21: .line 1629
            iload 3 /* selectedIndex */
            ifeq 25
        22: .line 1630
            iload 3 /* selectedIndex */
            aload 5 /* doc */
            invokeinterface javax.swing.text.Document.getLength:()I
            iconst_1
            isub
            if_icmple 25
        23: .line 1631
            aload 5 /* doc */
            invokeinterface javax.swing.text.Document.getLength:()I
            iconst_1
            isub
            istore 3 /* selectedIndex */
        24: .line 1632
            goto 27
        25: .line 1633
      StackMap locals: javax.swing.text.Document
      StackMap stack:
            iload 3 /* selectedIndex */
            ifge 27
        26: .line 1634
            iconst_0
            istore 3 /* selectedIndex */
        27: .line 1636
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.swing.text.DefaultEditorKit$PageAction.select:Z
            ifeq 29
        28: .line 1637
            aload 2 /* target */
            iload 3 /* selectedIndex */
            invokevirtual javax.swing.text.JTextComponent.moveCaretPosition:(I)V
            goto 30
        29: .line 1639
      StackMap locals:
      StackMap stack:
            aload 2 /* target */
            iload 3 /* selectedIndex */
            invokevirtual javax.swing.text.JTextComponent.setCaretPosition:(I)V
        end local 5 // javax.swing.text.Document doc
        end local 4 // java.awt.Rectangle visible
        end local 3 // int selectedIndex
        30: .line 1642
      StackMap locals:
      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$PageAction this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   31     0           this  Ljavax/swing/text/DefaultEditorKit$PageAction;
            0   31     1              e  Ljava/awt/event/ActionEvent;
            1   31     2         target  Ljavax/swing/text/JTextComponent;
            9   30     3  selectedIndex  I
            3   30     4        visible  Ljava/awt/Rectangle;
           21   30     5            doc  Ljavax/swing/text/Document;
    MethodParameters:
      Name  Flags
      e     
}
SourceFile: "DefaultEditorKit.java"
NestHost: javax.swing.text.DefaultEditorKit
InnerClasses:
  PageAction = javax.swing.text.DefaultEditorKit$PageAction of javax.swing.text.DefaultEditorKit