public class javax.swing.ViewportLayout implements java.awt.LayoutManager, java.io.Serializable
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: javax.swing.ViewportLayout
  super_class: java.lang.Object
{
  static javax.swing.ViewportLayout SHARED_INSTANCE;
    descriptor: Ljavax/swing/ViewportLayout;
    flags: (0x0008) ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 64
            new javax.swing.ViewportLayout
            dup
            invokespecial javax.swing.ViewportLayout.<init>:()V
            putstatic javax.swing.ViewportLayout.SHARED_INSTANCE:Ljavax/swing/ViewportLayout;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javax.swing.ViewportLayout this
         0: .line 61
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // javax.swing.ViewportLayout this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavax/swing/ViewportLayout;

  public void addLayoutComponent(java.lang.String, java.awt.Component);
    descriptor: (Ljava/lang/String;Ljava/awt/Component;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=3, args_size=3
        start local 0 // javax.swing.ViewportLayout this
        start local 1 // java.lang.String name
        start local 2 // java.awt.Component c
         0: .line 71
            return
        end local 2 // java.awt.Component c
        end local 1 // java.lang.String name
        end local 0 // javax.swing.ViewportLayout this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavax/swing/ViewportLayout;
            0    1     1  name  Ljava/lang/String;
            0    1     2     c  Ljava/awt/Component;
    MethodParameters:
      Name  Flags
      name  
      c     

  public void removeLayoutComponent(java.awt.Component);
    descriptor: (Ljava/awt/Component;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // javax.swing.ViewportLayout this
        start local 1 // java.awt.Component c
         0: .line 78
            return
        end local 1 // java.awt.Component c
        end local 0 // javax.swing.ViewportLayout this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavax/swing/ViewportLayout;
            0    1     1     c  Ljava/awt/Component;
    MethodParameters:
      Name  Flags
      c     

  public java.awt.Dimension preferredLayoutSize(java.awt.Container);
    descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // javax.swing.ViewportLayout this
        start local 1 // java.awt.Container parent
         0: .line 90
            aload 1 /* parent */
            checkcast javax.swing.JViewport
            invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
            astore 2 /* view */
        start local 2 // java.awt.Component view
         1: .line 91
            aload 2 /* view */
            ifnonnull 3
         2: .line 92
            new java.awt.Dimension
            dup
            iconst_0
            iconst_0
            invokespecial java.awt.Dimension.<init>:(II)V
            areturn
         3: .line 94
      StackMap locals: java.awt.Component
      StackMap stack:
            aload 2 /* view */
            instanceof javax.swing.Scrollable
            ifeq 5
         4: .line 95
            aload 2 /* view */
            checkcast javax.swing.Scrollable
            invokeinterface javax.swing.Scrollable.getPreferredScrollableViewportSize:()Ljava/awt/Dimension;
            areturn
         5: .line 98
      StackMap locals:
      StackMap stack:
            aload 2 /* view */
            invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
            areturn
        end local 2 // java.awt.Component view
        end local 1 // java.awt.Container parent
        end local 0 // javax.swing.ViewportLayout this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Ljavax/swing/ViewportLayout;
            0    6     1  parent  Ljava/awt/Container;
            1    6     2    view  Ljava/awt/Component;
    MethodParameters:
        Name  Flags
      parent  

  public java.awt.Dimension minimumLayoutSize(java.awt.Container);
    descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // javax.swing.ViewportLayout this
        start local 1 // java.awt.Container parent
         0: .line 113
            new java.awt.Dimension
            dup
            iconst_4
            iconst_4
            invokespecial java.awt.Dimension.<init>:(II)V
            areturn
        end local 1 // java.awt.Container parent
        end local 0 // javax.swing.ViewportLayout this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Ljavax/swing/ViewportLayout;
            0    1     1  parent  Ljava/awt/Container;
    MethodParameters:
        Name  Flags
      parent  

  public void layoutContainer(java.awt.Container);
    descriptor: (Ljava/awt/Container;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=10, args_size=2
        start local 0 // javax.swing.ViewportLayout this
        start local 1 // java.awt.Container parent
         0: .line 127
            aload 1 /* parent */
            checkcast javax.swing.JViewport
            astore 2 /* vp */
        start local 2 // javax.swing.JViewport vp
         1: .line 128
            aload 2 /* vp */
            invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
            astore 3 /* view */
        start local 3 // java.awt.Component view
         2: .line 129
            aconst_null
            astore 4 /* scrollableView */
        start local 4 // javax.swing.Scrollable scrollableView
         3: .line 131
            aload 3 /* view */
            ifnonnull 5
         4: .line 132
            return
         5: .line 134
      StackMap locals: javax.swing.JViewport java.awt.Component javax.swing.Scrollable
      StackMap stack:
            aload 3 /* view */
            instanceof javax.swing.Scrollable
            ifeq 7
         6: .line 135
            aload 3 /* view */
            checkcast javax.swing.Scrollable
            astore 4 /* scrollableView */
         7: .line 142
      StackMap locals:
      StackMap stack:
            aload 2 /* vp */
            invokevirtual javax.swing.JViewport.getInsets:()Ljava/awt/Insets;
            pop
         8: .line 143
            aload 3 /* view */
            invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
            astore 5 /* viewPrefSize */
        start local 5 // java.awt.Dimension viewPrefSize
         9: .line 144
            aload 2 /* vp */
            invokevirtual javax.swing.JViewport.getSize:()Ljava/awt/Dimension;
            astore 6 /* vpSize */
        start local 6 // java.awt.Dimension vpSize
        10: .line 145
            aload 2 /* vp */
            aload 6 /* vpSize */
            invokevirtual javax.swing.JViewport.toViewCoordinates:(Ljava/awt/Dimension;)Ljava/awt/Dimension;
            astore 7 /* extentSize */
        start local 7 // java.awt.Dimension extentSize
        11: .line 146
            new java.awt.Dimension
            dup
            aload 5 /* viewPrefSize */
            invokespecial java.awt.Dimension.<init>:(Ljava/awt/Dimension;)V
            astore 8 /* viewSize */
        start local 8 // java.awt.Dimension viewSize
        12: .line 148
            aload 4 /* scrollableView */
            ifnull 17
        13: .line 149
            aload 4 /* scrollableView */
            invokeinterface javax.swing.Scrollable.getScrollableTracksViewportWidth:()Z
            ifeq 15
        14: .line 150
            aload 8 /* viewSize */
            aload 6 /* vpSize */
            getfield java.awt.Dimension.width:I
            putfield java.awt.Dimension.width:I
        15: .line 152
      StackMap locals: javax.swing.ViewportLayout java.awt.Container javax.swing.JViewport java.awt.Component javax.swing.Scrollable java.awt.Dimension java.awt.Dimension java.awt.Dimension java.awt.Dimension
      StackMap stack:
            aload 4 /* scrollableView */
            invokeinterface javax.swing.Scrollable.getScrollableTracksViewportHeight:()Z
            ifeq 17
        16: .line 153
            aload 8 /* viewSize */
            aload 6 /* vpSize */
            getfield java.awt.Dimension.height:I
            putfield java.awt.Dimension.height:I
        17: .line 157
      StackMap locals:
      StackMap stack:
            aload 2 /* vp */
            invokevirtual javax.swing.JViewport.getViewPosition:()Ljava/awt/Point;
            astore 9 /* viewPosition */
        start local 9 // java.awt.Point viewPosition
        18: .line 164
            aload 4 /* scrollableView */
            ifnull 21
        19: .line 165
            aload 2 /* vp */
            invokevirtual javax.swing.JViewport.getParent:()Ljava/awt/Container;
            ifnull 21
        20: .line 166
            aload 2 /* vp */
            invokevirtual javax.swing.JViewport.getParent:()Ljava/awt/Container;
            invokevirtual java.awt.Container.getComponentOrientation:()Ljava/awt/ComponentOrientation;
            invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
            ifeq 24
        21: .line 167
      StackMap locals: java.awt.Point
      StackMap stack:
            aload 9 /* viewPosition */
            getfield java.awt.Point.x:I
            aload 7 /* extentSize */
            getfield java.awt.Dimension.width:I
            iadd
            aload 8 /* viewSize */
            getfield java.awt.Dimension.width:I
            if_icmple 28
        22: .line 168
            aload 9 /* viewPosition */
            iconst_0
            aload 8 /* viewSize */
            getfield java.awt.Dimension.width:I
            aload 7 /* extentSize */
            getfield java.awt.Dimension.width:I
            isub
            invokestatic java.lang.Math.max:(II)I
            putfield java.awt.Point.x:I
        23: .line 170
            goto 28
        24: .line 171
      StackMap locals:
      StackMap stack:
            aload 7 /* extentSize */
            getfield java.awt.Dimension.width:I
            aload 8 /* viewSize */
            getfield java.awt.Dimension.width:I
            if_icmple 27
        25: .line 172
            aload 9 /* viewPosition */
            aload 8 /* viewSize */
            getfield java.awt.Dimension.width:I
            aload 7 /* extentSize */
            getfield java.awt.Dimension.width:I
            isub
            putfield java.awt.Point.x:I
        26: .line 173
            goto 28
        27: .line 174
      StackMap locals:
      StackMap stack:
            aload 9 /* viewPosition */
            iconst_0
            aload 8 /* viewSize */
            getfield java.awt.Dimension.width:I
            aload 7 /* extentSize */
            getfield java.awt.Dimension.width:I
            isub
            aload 9 /* viewPosition */
            getfield java.awt.Point.x:I
            invokestatic java.lang.Math.min:(II)I
            invokestatic java.lang.Math.max:(II)I
            putfield java.awt.Point.x:I
        28: .line 182
      StackMap locals:
      StackMap stack:
            aload 9 /* viewPosition */
            getfield java.awt.Point.y:I
            aload 7 /* extentSize */
            getfield java.awt.Dimension.height:I
            iadd
            aload 8 /* viewSize */
            getfield java.awt.Dimension.height:I
            if_icmple 30
        29: .line 183
            aload 9 /* viewPosition */
            iconst_0
            aload 8 /* viewSize */
            getfield java.awt.Dimension.height:I
            aload 7 /* extentSize */
            getfield java.awt.Dimension.height:I
            isub
            invokestatic java.lang.Math.max:(II)I
            putfield java.awt.Point.y:I
        30: .line 194
      StackMap locals:
      StackMap stack:
            aload 4 /* scrollableView */
            ifnonnull 35
        31: .line 195
            aload 9 /* viewPosition */
            getfield java.awt.Point.x:I
            ifne 33
            aload 6 /* vpSize */
            getfield java.awt.Dimension.width:I
            aload 5 /* viewPrefSize */
            getfield java.awt.Dimension.width:I
            if_icmple 33
        32: .line 196
            aload 8 /* viewSize */
            aload 6 /* vpSize */
            getfield java.awt.Dimension.width:I
            putfield java.awt.Dimension.width:I
        33: .line 198
      StackMap locals:
      StackMap stack:
            aload 9 /* viewPosition */
            getfield java.awt.Point.y:I
            ifne 35
            aload 6 /* vpSize */
            getfield java.awt.Dimension.height:I
            aload 5 /* viewPrefSize */
            getfield java.awt.Dimension.height:I
            if_icmple 35
        34: .line 199
            aload 8 /* viewSize */
            aload 6 /* vpSize */
            getfield java.awt.Dimension.height:I
            putfield java.awt.Dimension.height:I
        35: .line 202
      StackMap locals:
      StackMap stack:
            aload 2 /* vp */
            aload 9 /* viewPosition */
            invokevirtual javax.swing.JViewport.setViewPosition:(Ljava/awt/Point;)V
        36: .line 203
            aload 2 /* vp */
            aload 8 /* viewSize */
            invokevirtual javax.swing.JViewport.setViewSize:(Ljava/awt/Dimension;)V
        37: .line 204
            return
        end local 9 // java.awt.Point viewPosition
        end local 8 // java.awt.Dimension viewSize
        end local 7 // java.awt.Dimension extentSize
        end local 6 // java.awt.Dimension vpSize
        end local 5 // java.awt.Dimension viewPrefSize
        end local 4 // javax.swing.Scrollable scrollableView
        end local 3 // java.awt.Component view
        end local 2 // javax.swing.JViewport vp
        end local 1 // java.awt.Container parent
        end local 0 // javax.swing.ViewportLayout this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   38     0            this  Ljavax/swing/ViewportLayout;
            0   38     1          parent  Ljava/awt/Container;
            1   38     2              vp  Ljavax/swing/JViewport;
            2   38     3            view  Ljava/awt/Component;
            3   38     4  scrollableView  Ljavax/swing/Scrollable;
            9   38     5    viewPrefSize  Ljava/awt/Dimension;
           10   38     6          vpSize  Ljava/awt/Dimension;
           11   38     7      extentSize  Ljava/awt/Dimension;
           12   38     8        viewSize  Ljava/awt/Dimension;
           18   38     9    viewPosition  Ljava/awt/Point;
    MethodParameters:
        Name  Flags
      parent  
}
SourceFile: "ViewportLayout.java"