public class javax.swing.JViewport extends javax.swing.JComponent implements javax.accessibility.Accessible
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.JViewport
super_class: javax.swing.JComponent
{
private static final java.lang.String uiClassID;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "ViewportUI"
static final java.lang.Object EnableWindowBlit;
descriptor: Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
protected boolean isViewSizeSet;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected java.awt.Point lastPaintPosition;
descriptor: Ljava/awt/Point;
flags: (0x0004) ACC_PROTECTED
protected boolean backingStore;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
java.lang.Deprecated()
protected transient java.awt.Image backingStoreImage;
descriptor: Ljava/awt/Image;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected boolean scrollUnderway;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private java.awt.event.ComponentListener viewListener;
descriptor: Ljava/awt/event/ComponentListener;
flags: (0x0002) ACC_PRIVATE
private transient javax.swing.event.ChangeEvent changeEvent;
descriptor: Ljavax/swing/event/ChangeEvent;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public static final int BLIT_SCROLL_MODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int BACKINGSTORE_SCROLL_MODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int SIMPLE_SCROLL_MODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private int scrollMode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private transient boolean repaintAll;
descriptor: Z
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient boolean waitingForRepaint;
descriptor: Z
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient javax.swing.Timer repaintTimer;
descriptor: Ljavax/swing/Timer;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient boolean inBlitPaint;
descriptor: Z
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private boolean hasHadValidView;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "EnableWindowBlit"
putstatic javax.swing.JViewport.EnableWindowBlit:Ljava/lang/Object;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JComponent.<init>:()V
1: aload 0
iconst_0
putfield javax.swing.JViewport.isViewSizeSet:Z
2: aload 0
aconst_null
putfield javax.swing.JViewport.lastPaintPosition:Ljava/awt/Point;
3: aload 0
iconst_0
putfield javax.swing.JViewport.backingStore:Z
4: aload 0
aconst_null
putfield javax.swing.JViewport.backingStoreImage:Ljava/awt/Image;
5: aload 0
iconst_0
putfield javax.swing.JViewport.scrollUnderway:Z
6: aload 0
aconst_null
putfield javax.swing.JViewport.viewListener:Ljava/awt/event/ComponentListener;
7: aload 0
aconst_null
putfield javax.swing.JViewport.changeEvent:Ljavax/swing/event/ChangeEvent;
8: aload 0
iconst_1
putfield javax.swing.JViewport.scrollMode:I
9: aload 0
aload 0
invokevirtual javax.swing.JViewport.createLayoutManager:()Ljava/awt/LayoutManager;
invokevirtual javax.swing.JViewport.setLayout:(Ljava/awt/LayoutManager;)V
10: aload 0
iconst_1
invokevirtual javax.swing.JViewport.setOpaque:(Z)V
11: aload 0
invokevirtual javax.swing.JViewport.updateUI:()V
12: aload 0
iconst_1
invokevirtual javax.swing.JViewport.setInheritsPopupMenu:(Z)V
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/JViewport;
public javax.swing.plaf.ViewportUI getUI();
descriptor: ()Ljavax/swing/plaf/ViewportUI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JViewport.ui:Ljavax/swing/plaf/ComponentUI;
checkcast javax.swing.plaf.ViewportUI
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JViewport;
public void setUI(javax.swing.plaf.ViewportUI);
descriptor: (Ljavax/swing/plaf/ViewportUI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.JComponent.setUI:(Ljavax/swing/plaf/ComponentUI;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JViewport;
0 2 1 ui Ljavax/swing/plaf/ViewportUI;
MethodParameters:
Name Flags
ui
public void updateUI();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokestatic javax.swing.UIManager.getUI:(Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
checkcast javax.swing.plaf.ViewportUI
invokevirtual javax.swing.JViewport.setUI:(Ljavax/swing/plaf/ViewportUI;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JViewport;
public java.lang.String getUIClassID();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "ViewportUI"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JViewport;
protected void addImpl(java.awt.Component, java.lang.Object, int);
descriptor: (Ljava/awt/Component;Ljava/lang/Object;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual javax.swing.JViewport.setView:(Ljava/awt/Component;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JViewport;
0 2 1 child Ljava/awt/Component;
0 2 2 constraints Ljava/lang/Object;
0 2 3 index I
MethodParameters:
Name Flags
child
constraints
index
public void remove(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield javax.swing.JViewport.viewListener:Ljava/awt/event/ComponentListener;
invokevirtual java.awt.Component.removeComponentListener:(Ljava/awt/event/ComponentListener;)V
1: aload 0
aload 1
invokespecial javax.swing.JComponent.remove:(Ljava/awt/Component;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JViewport;
0 3 1 child Ljava/awt/Component;
MethodParameters:
Name Flags
child
public void scrollRectToVisible(java.awt.Rectangle);
descriptor: (Ljava/awt/Rectangle;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: return
3: StackMap locals: java.awt.Component
StackMap stack:
aload 2
invokevirtual java.awt.Component.isValid:()Z
ifne 5
4: aload 0
invokevirtual javax.swing.JViewport.validateView:()V
5: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual javax.swing.JViewport.getWidth:()I
aload 1
getfield java.awt.Rectangle.width:I
aload 1
getfield java.awt.Rectangle.x:I
invokevirtual javax.swing.JViewport.positionAdjustment:(III)I
istore 3
start local 3 6: aload 0
aload 0
invokevirtual javax.swing.JViewport.getHeight:()I
aload 1
getfield java.awt.Rectangle.height:I
aload 1
getfield java.awt.Rectangle.y:I
invokevirtual javax.swing.JViewport.positionAdjustment:(III)I
istore 4
start local 4 7: iload 3
ifne 8
iload 4
ifeq 37
8: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual javax.swing.JViewport.getViewPosition:()Ljava/awt/Point;
astore 5
start local 5 9: aload 2
invokevirtual java.awt.Component.getSize:()Ljava/awt/Dimension;
astore 6
start local 6 10: aload 5
getfield java.awt.Point.x:I
istore 7
start local 7 11: aload 5
getfield java.awt.Point.y:I
istore 8
start local 8 12: aload 0
invokevirtual javax.swing.JViewport.getExtentSize:()Ljava/awt/Dimension;
astore 9
start local 9 13: aload 5
dup
getfield java.awt.Point.x:I
iload 3
isub
putfield java.awt.Point.x:I
14: aload 5
dup
getfield java.awt.Point.y:I
iload 4
isub
putfield java.awt.Point.y:I
15: aload 2
invokevirtual java.awt.Component.isValid:()Z
ifeq 34
16: aload 0
invokevirtual javax.swing.JViewport.getParent:()Ljava/awt/Container;
invokevirtual java.awt.Container.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 23
17: aload 5
getfield java.awt.Point.x:I
aload 9
getfield java.awt.Dimension.width:I
iadd
aload 6
getfield java.awt.Dimension.width:I
if_icmple 20
18: aload 5
iconst_0
aload 6
getfield java.awt.Dimension.width:I
aload 9
getfield java.awt.Dimension.width:I
isub
invokestatic java.lang.Math.max:(II)I
putfield java.awt.Point.x:I
19: goto 27
StackMap locals: javax.swing.JViewport java.awt.Rectangle java.awt.Component int int java.awt.Point java.awt.Dimension int int java.awt.Dimension
StackMap stack:
20: aload 5
getfield java.awt.Point.x:I
ifge 27
21: aload 5
iconst_0
putfield java.awt.Point.x:I
22: goto 27
23: StackMap locals:
StackMap stack:
aload 9
getfield java.awt.Dimension.width:I
aload 6
getfield java.awt.Dimension.width:I
if_icmple 26
24: aload 5
aload 6
getfield java.awt.Dimension.width:I
aload 9
getfield java.awt.Dimension.width:I
isub
putfield java.awt.Point.x:I
25: goto 27
26: StackMap locals:
StackMap stack:
aload 5
iconst_0
aload 6
getfield java.awt.Dimension.width:I
aload 9
getfield java.awt.Dimension.width:I
isub
aload 5
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
27: StackMap locals:
StackMap stack:
aload 5
getfield java.awt.Point.y:I
aload 9
getfield java.awt.Dimension.height:I
iadd
aload 6
getfield java.awt.Dimension.height:I
if_icmple 32
28: aload 5
iconst_0
aload 6
getfield java.awt.Dimension.height:I
29: aload 9
getfield java.awt.Dimension.height:I
isub
30: invokestatic java.lang.Math.max:(II)I
putfield java.awt.Point.y:I
31: goto 34
32: StackMap locals:
StackMap stack:
aload 5
getfield java.awt.Point.y:I
ifge 34
33: aload 5
iconst_0
putfield java.awt.Point.y:I
34: StackMap locals:
StackMap stack:
aload 5
getfield java.awt.Point.x:I
iload 7
if_icmpne 35
aload 5
getfield java.awt.Point.y:I
iload 8
if_icmpeq 37
35: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual javax.swing.JViewport.setViewPosition:(Ljava/awt/Point;)V
36: aload 0
iconst_0
putfield javax.swing.JViewport.scrollUnderway:Z
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 37: StackMap locals: javax.swing.JViewport java.awt.Rectangle java.awt.Component
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Ljavax/swing/JViewport;
0 38 1 contentRect Ljava/awt/Rectangle;
1 38 2 view Ljava/awt/Component;
6 37 3 dx I
7 37 4 dy I
9 37 5 viewPosition Ljava/awt/Point;
10 37 6 viewSize Ljava/awt/Dimension;
11 37 7 startX I
12 37 8 startY I
13 37 9 extent Ljava/awt/Dimension;
MethodParameters:
Name Flags
contentRect
private void validateView();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
astore 2
start local 2 2: goto 10
3: StackMap locals: java.awt.Component java.awt.Component
StackMap stack:
aload 2
instanceof javax.swing.CellRendererPane
ifne 4
aload 2
invokevirtual java.awt.Component.getPeer:()Ljava/awt/peer/ComponentPeer;
ifnonnull 5
4: StackMap locals:
StackMap stack:
return
5: StackMap locals:
StackMap stack:
aload 2
instanceof javax.swing.JComponent
ifeq 9
6: aload 2
checkcast javax.swing.JComponent
invokevirtual javax.swing.JComponent.isValidateRoot:()Z
ifeq 9
7: aload 2
astore 1
8: goto 11
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 2
StackMap locals:
StackMap stack:
10: aload 2
ifnonnull 3
end local 2 11: StackMap locals:
StackMap stack:
aload 1
ifnonnull 13
12: return
13: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 14: aload 1
astore 3
start local 3 15: goto 22
16: StackMap locals: java.awt.Component java.awt.Component
StackMap stack:
aload 3
invokevirtual java.awt.Component.getPeer:()Ljava/awt/peer/ComponentPeer;
ifnonnull 18
17: return
18: StackMap locals:
StackMap stack:
aload 3
instanceof java.awt.Window
ifne 19
aload 3
instanceof java.applet.Applet
ifeq 21
19: StackMap locals:
StackMap stack:
aload 3
astore 2
20: goto 23
21: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 3
StackMap locals:
StackMap stack:
22: aload 3
ifnonnull 16
end local 3 23: StackMap locals:
StackMap stack:
aload 2
ifnonnull 25
24: return
25: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.Component.validate:()V
26: aload 0
invokestatic javax.swing.RepaintManager.currentManager:(Ljavax/swing/JComponent;)Ljavax/swing/RepaintManager;
astore 3
start local 3 27: aload 3
ifnull 29
28: aload 3
aload 1
checkcast javax.swing.JComponent
invokevirtual javax.swing.RepaintManager.removeInvalidComponent:(Ljavax/swing/JComponent;)V
29: StackMap locals: javax.swing.RepaintManager
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljavax/swing/JViewport;
1 30 1 validateRoot Ljava/awt/Component;
2 11 2 c Ljava/awt/Component;
14 30 2 root Ljava/awt/Component;
15 23 3 c Ljava/awt/Component;
27 30 3 rm Ljavax/swing/RepaintManager;
private int positionAdjustment(int, int, int);
descriptor: (III)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
iflt 2
iload 2
iload 3
iadd
iload 1
if_icmpgt 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iload 3
ifgt 4
iload 2
iload 3
iadd
iload 1
if_icmplt 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iload 3
ifle 6
iload 2
iload 1
if_icmpgt 6
5: iload 3
ineg
iload 1
iadd
iload 2
isub
ireturn
6: StackMap locals:
StackMap stack:
iload 3
iflt 8
iload 2
iload 1
if_icmplt 8
7: iload 3
ineg
ireturn
8: StackMap locals:
StackMap stack:
iload 3
ifgt 10
iload 2
iload 1
if_icmpgt 10
9: iload 3
ineg
ireturn
10: StackMap locals:
StackMap stack:
iload 3
ifge 12
iload 2
iload 1
if_icmplt 12
11: iload 3
ineg
iload 1
iadd
iload 2
isub
ireturn
12: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/JViewport;
0 13 1 parentWidth I
0 13 2 childWidth I
0 13 3 childAt I
MethodParameters:
Name Flags
parentWidth
childWidth
childAt
public final void setBorder(javax.swing.border.Border);
descriptor: (Ljavax/swing/border/Border;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "JViewport.setBorder() not supported"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JViewport;
0 3 1 border Ljavax/swing/border/Border;
MethodParameters:
Name Flags
border
public final java.awt.Insets getInsets();
descriptor: ()Ljava/awt/Insets;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=1, args_size=1
start local 0 0: new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JViewport;
public final java.awt.Insets getInsets(java.awt.Insets);
descriptor: (Ljava/awt/Insets;)Ljava/awt/Insets;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 1
aload 1
aload 1
iconst_0
dup_x1
putfield java.awt.Insets.bottom:I
dup_x1
putfield java.awt.Insets.right:I
dup_x1
putfield java.awt.Insets.top:I
putfield java.awt.Insets.left:I
1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JViewport;
0 2 1 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
insets
private java.awt.Graphics getBackingStoreGraphics(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)Ljava/awt/Graphics;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JViewport.backingStoreImage:Ljava/awt/Image;
invokevirtual java.awt.Image.getGraphics:()Ljava/awt/Graphics;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual java.awt.Graphics.getColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
2: aload 2
aload 1
invokevirtual java.awt.Graphics.getFont:()Ljava/awt/Font;
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
3: aload 2
aload 1
invokevirtual java.awt.Graphics.getClipBounds:()Ljava/awt/Rectangle;
invokevirtual java.awt.Graphics.setClip:(Ljava/awt/Shape;)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JViewport;
0 5 1 g Ljava/awt/Graphics;
1 5 2 bsg Ljava/awt/Graphics;
MethodParameters:
Name Flags
g
private void paintViaBackingStore(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.JViewport.getBackingStoreGraphics:(Ljava/awt/Graphics;)Ljava/awt/Graphics;
astore 2
start local 2 1: aload 0
aload 2
invokespecial javax.swing.JComponent.paint:(Ljava/awt/Graphics;)V
2: aload 1
aload 0
getfield javax.swing.JViewport.backingStoreImage:Ljava/awt/Image;
iconst_0
iconst_0
aload 0
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z
pop
3: goto 7
StackMap locals: javax.swing.JViewport java.awt.Graphics java.awt.Graphics
StackMap stack: java.lang.Throwable
4: astore 3
5: aload 2
invokevirtual java.awt.Graphics.dispose:()V
6: aload 3
athrow
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.awt.Graphics.dispose:()V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/JViewport;
0 9 1 g Ljava/awt/Graphics;
1 9 2 bsg Ljava/awt/Graphics;
Exception table:
from to target type
1 4 4 any
MethodParameters:
Name Flags
g
private void paintViaBackingStore(java.awt.Graphics, java.awt.Rectangle);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Rectangle;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual javax.swing.JViewport.getBackingStoreGraphics:(Ljava/awt/Graphics;)Ljava/awt/Graphics;
astore 3
start local 3 1: aload 0
aload 3
invokespecial javax.swing.JComponent.paint:(Ljava/awt/Graphics;)V
2: aload 1
aload 2
invokevirtual java.awt.Graphics.setClip:(Ljava/awt/Shape;)V
3: aload 1
aload 0
getfield javax.swing.JViewport.backingStoreImage:Ljava/awt/Image;
iconst_0
iconst_0
aload 0
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z
pop
4: goto 8
StackMap locals: javax.swing.JViewport java.awt.Graphics java.awt.Rectangle java.awt.Graphics
StackMap stack: java.lang.Throwable
5: astore 4
6: aload 3
invokevirtual java.awt.Graphics.dispose:()V
7: aload 4
athrow
8: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.awt.Graphics.dispose:()V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/JViewport;
0 10 1 g Ljava/awt/Graphics;
0 10 2 oClip Ljava/awt/Rectangle;
1 10 3 bsg Ljava/awt/Graphics;
Exception table:
from to target type
1 5 5 any
MethodParameters:
Name Flags
g
oClip
public boolean isOptimizedDrawingEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JViewport;
boolean isPaintingOrigin();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JViewport.scrollMode:I
iconst_2
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JViewport;
private java.awt.Point getViewLocation();
descriptor: ()Ljava/awt/Point;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.awt.Component.getLocation:()Ljava/awt/Point;
areturn
3: StackMap locals: java.awt.Component
StackMap stack:
new java.awt.Point
dup
iconst_0
iconst_0
invokespecial java.awt.Point.<init>:(II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JViewport;
1 4 1 view Ljava/awt/Component;
public void paint(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=19, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JViewport.getWidth:()I
istore 2
start local 2 1: aload 0
invokevirtual javax.swing.JViewport.getHeight:()I
istore 3
start local 3 2: iload 2
ifle 3
iload 3
ifgt 4
3: StackMap locals: int int
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JViewport.inBlitPaint:Z
ifeq 7
5: aload 0
aload 1
invokespecial javax.swing.JComponent.paint:(Ljava/awt/Graphics;)V
6: return
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JViewport.repaintAll:Z
ifeq 22
8: aload 0
iconst_0
putfield javax.swing.JViewport.repaintAll:Z
9: aload 1
invokevirtual java.awt.Graphics.getClipBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 10: aload 4
getfield java.awt.Rectangle.width:I
aload 0
invokevirtual javax.swing.JViewport.getWidth:()I
if_icmplt 12
11: aload 4
getfield java.awt.Rectangle.height:I
aload 0
invokevirtual javax.swing.JViewport.getHeight:()I
if_icmpge 18
12: StackMap locals: java.awt.Rectangle
StackMap stack:
aload 0
iconst_1
putfield javax.swing.JViewport.waitingForRepaint:Z
13: aload 0
getfield javax.swing.JViewport.repaintTimer:Ljavax/swing/Timer;
ifnonnull 15
14: aload 0
aload 0
invokevirtual javax.swing.JViewport.createRepaintTimer:()Ljavax/swing/Timer;
putfield javax.swing.JViewport.repaintTimer:Ljavax/swing/Timer;
15: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JViewport.repaintTimer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
16: aload 0
getfield javax.swing.JViewport.repaintTimer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.start:()V
17: goto 28
18: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JViewport.repaintTimer:Ljavax/swing/Timer;
ifnull 20
19: aload 0
getfield javax.swing.JViewport.repaintTimer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
20: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield javax.swing.JViewport.waitingForRepaint:Z
end local 4 21: goto 28
22: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JViewport.waitingForRepaint:Z
ifeq 28
23: aload 1
invokevirtual java.awt.Graphics.getClipBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 24: aload 4
getfield java.awt.Rectangle.width:I
aload 0
invokevirtual javax.swing.JViewport.getWidth:()I
if_icmplt 28
25: aload 4
getfield java.awt.Rectangle.height:I
aload 0
invokevirtual javax.swing.JViewport.getHeight:()I
if_icmplt 28
26: aload 0
iconst_0
putfield javax.swing.JViewport.waitingForRepaint:Z
27: aload 0
getfield javax.swing.JViewport.repaintTimer:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
end local 4 28: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JViewport.backingStore:Z
ifeq 29
aload 0
invokevirtual javax.swing.JViewport.isBlitting:()Z
ifne 29
aload 0
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
ifnonnull 32
29: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial javax.swing.JComponent.paint:(Ljava/awt/Graphics;)V
30: aload 0
aload 0
invokevirtual javax.swing.JViewport.getViewLocation:()Ljava/awt/Point;
putfield javax.swing.JViewport.lastPaintPosition:Ljava/awt/Point;
31: return
32: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
invokevirtual java.awt.Component.getBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 33: aload 0
invokevirtual javax.swing.JViewport.isOpaque:()Z
ifne 35
34: aload 1
iconst_0
iconst_0
aload 4
getfield java.awt.Rectangle.width:I
aload 4
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.clipRect:(IIII)V
35: StackMap locals: java.awt.Rectangle
StackMap stack:
aload 0
getfield javax.swing.JViewport.backingStoreImage:Ljava/awt/Image;
ifnonnull 49
36: aload 0
aload 0
iload 2
iload 3
invokevirtual javax.swing.JViewport.createImage:(II)Ljava/awt/Image;
putfield javax.swing.JViewport.backingStoreImage:Ljava/awt/Image;
37: aload 1
invokevirtual java.awt.Graphics.getClipBounds:()Ljava/awt/Rectangle;
astore 5
start local 5 38: aload 5
getfield java.awt.Rectangle.width:I
iload 2
if_icmpne 39
aload 5
getfield java.awt.Rectangle.height:I
iload 3
if_icmpeq 47
39: StackMap locals: java.awt.Rectangle
StackMap stack:
aload 0
invokevirtual javax.swing.JViewport.isOpaque:()Z
ifne 44
40: aload 1
iconst_0
iconst_0
aload 4
getfield java.awt.Rectangle.width:I
iload 2
invokestatic java.lang.Math.min:(II)I
41: aload 4
getfield java.awt.Rectangle.height:I
iload 3
invokestatic java.lang.Math.min:(II)I
42: invokevirtual java.awt.Graphics.setClip:(IIII)V
43: goto 45
44: StackMap locals:
StackMap stack:
aload 1
iconst_0
iconst_0
iload 2
iload 3
invokevirtual java.awt.Graphics.setClip:(IIII)V
45: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 5
invokevirtual javax.swing.JViewport.paintViaBackingStore:(Ljava/awt/Graphics;Ljava/awt/Rectangle;)V
46: goto 79
47: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.JViewport.paintViaBackingStore:(Ljava/awt/Graphics;)V
end local 5 48: goto 79
49: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JViewport.scrollUnderway:Z
ifeq 50
aload 0
getfield javax.swing.JViewport.lastPaintPosition:Ljava/awt/Point;
aload 0
invokevirtual javax.swing.JViewport.getViewLocation:()Ljava/awt/Point;
invokevirtual java.awt.Point.equals:(Ljava/lang/Object;)Z
ifeq 52
50: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.JViewport.paintViaBackingStore:(Ljava/awt/Graphics;)V
51: goto 79
52: StackMap locals:
StackMap stack:
new java.awt.Point
dup
invokespecial java.awt.Point.<init>:()V
astore 5
start local 5 53: new java.awt.Point
dup
invokespecial java.awt.Point.<init>:()V
astore 6
start local 6 54: new java.awt.Dimension
dup
invokespecial java.awt.Dimension.<init>:()V
astore 7
start local 7 55: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 8
start local 8 56: aload 0
invokevirtual javax.swing.JViewport.getViewLocation:()Ljava/awt/Point;
astore 9
start local 9 57: aload 9
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.JViewport.lastPaintPosition:Ljava/awt/Point;
getfield java.awt.Point.x:I
isub
istore 10
start local 10 58: aload 9
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.JViewport.lastPaintPosition:Ljava/awt/Point;
getfield java.awt.Point.y:I
isub
istore 11
start local 11 59: aload 0
iload 10
iload 11
aload 5
aload 6
aload 7
aload 8
invokevirtual javax.swing.JViewport.computeBlit:(IILjava/awt/Point;Ljava/awt/Point;Ljava/awt/Dimension;Ljava/awt/Rectangle;)Z
istore 12
start local 12 60: iload 12
ifne 63
61: aload 0
aload 1
invokevirtual javax.swing.JViewport.paintViaBackingStore:(Ljava/awt/Graphics;)V
62: goto 79
63: StackMap locals: javax.swing.JViewport java.awt.Graphics int int java.awt.Rectangle java.awt.Point java.awt.Point java.awt.Dimension java.awt.Rectangle java.awt.Point int int int
StackMap stack:
aload 6
getfield java.awt.Point.x:I
aload 5
getfield java.awt.Point.x:I
isub
istore 13
start local 13 64: aload 6
getfield java.awt.Point.y:I
aload 5
getfield java.awt.Point.y:I
isub
istore 14
start local 14 65: aload 1
invokevirtual java.awt.Graphics.getClipBounds:()Ljava/awt/Rectangle;
astore 15
start local 15 66: aload 1
iconst_0
iconst_0
iload 2
iload 3
invokevirtual java.awt.Graphics.setClip:(IIII)V
67: aload 0
aload 1
invokevirtual javax.swing.JViewport.getBackingStoreGraphics:(Ljava/awt/Graphics;)Ljava/awt/Graphics;
astore 16
start local 16 68: aload 16
aload 5
getfield java.awt.Point.x:I
aload 5
getfield java.awt.Point.y:I
aload 7
getfield java.awt.Dimension.width:I
aload 7
getfield java.awt.Dimension.height:I
iload 13
iload 14
invokevirtual java.awt.Graphics.copyArea:(IIIIII)V
69: aload 1
aload 15
getfield java.awt.Rectangle.x:I
aload 15
getfield java.awt.Rectangle.y:I
aload 15
getfield java.awt.Rectangle.width:I
aload 15
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.setClip:(IIII)V
70: aload 4
aload 8
invokevirtual java.awt.Rectangle.intersection:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 17
start local 17 71: aload 16
aload 17
invokevirtual java.awt.Graphics.setClip:(Ljava/awt/Shape;)V
72: aload 0
aload 16
invokespecial javax.swing.JComponent.paint:(Ljava/awt/Graphics;)V
73: aload 1
aload 0
getfield javax.swing.JViewport.backingStoreImage:Ljava/awt/Image;
iconst_0
iconst_0
aload 0
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z
pop
end local 17 74: goto 78
StackMap locals: javax.swing.JViewport java.awt.Graphics int int java.awt.Rectangle java.awt.Point java.awt.Point java.awt.Dimension java.awt.Rectangle java.awt.Point int int int int int java.awt.Rectangle java.awt.Graphics
StackMap stack: java.lang.Throwable
75: astore 18
76: aload 16
invokevirtual java.awt.Graphics.dispose:()V
77: aload 18
athrow
78: StackMap locals:
StackMap stack:
aload 16
invokevirtual java.awt.Graphics.dispose:()V
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 79: StackMap locals: javax.swing.JViewport java.awt.Graphics int int java.awt.Rectangle
StackMap stack:
aload 0
aload 0
invokevirtual javax.swing.JViewport.getViewLocation:()Ljava/awt/Point;
putfield javax.swing.JViewport.lastPaintPosition:Ljava/awt/Point;
80: aload 0
iconst_0
putfield javax.swing.JViewport.scrollUnderway:Z
81: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 82 0 this Ljavax/swing/JViewport;
0 82 1 g Ljava/awt/Graphics;
1 82 2 width I
2 82 3 height I
10 21 4 clipB Ljava/awt/Rectangle;
24 28 4 clipB Ljava/awt/Rectangle;
33 82 4 viewBounds Ljava/awt/Rectangle;
38 48 5 clip Ljava/awt/Rectangle;
53 79 5 blitFrom Ljava/awt/Point;
54 79 6 blitTo Ljava/awt/Point;
55 79 7 blitSize Ljava/awt/Dimension;
56 79 8 blitPaint Ljava/awt/Rectangle;
57 79 9 newLocation Ljava/awt/Point;
58 79 10 dx I
59 79 11 dy I
60 79 12 canBlit Z
64 79 13 bdx I
65 79 14 bdy I
66 79 15 clip Ljava/awt/Rectangle;
68 79 16 bsg Ljava/awt/Graphics;
71 74 17 r Ljava/awt/Rectangle;
Exception table:
from to target type
68 75 75 any
MethodParameters:
Name Flags
g
public void reshape(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual javax.swing.JViewport.getWidth:()I
iload 3
if_icmpne 1
aload 0
invokevirtual javax.swing.JViewport.getHeight:()I
iload 4
if_icmpne 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: istore 5
start local 5 3: iload 5
ifeq 5
4: aload 0
aconst_null
putfield javax.swing.JViewport.backingStoreImage:Ljava/awt/Image;
5: StackMap locals: int
StackMap stack:
aload 0
iload 1
iload 2
iload 3
iload 4
invokespecial javax.swing.JComponent.reshape:(IIII)V
6: iload 5
ifeq 8
7: aload 0
invokevirtual javax.swing.JViewport.fireStateChanged:()V
8: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/JViewport;
0 9 1 x I
0 9 2 y I
0 9 3 w I
0 9 4 h I
3 9 5 sizeChanged Z
MethodParameters:
Name Flags
x
y
w
h
public void setScrollMode(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.JViewport.scrollMode:I
1: aload 0
iload 1
iconst_2
if_icmpne 2
iconst_1
goto 3
StackMap locals:
StackMap stack: javax.swing.JViewport
2: iconst_0
StackMap locals: javax.swing.JViewport int
StackMap stack: javax.swing.JViewport int
3: putfield javax.swing.JViewport.backingStore:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JViewport;
0 5 1 mode I
MethodParameters:
Name Flags
mode
public int getScrollMode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JViewport.scrollMode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JViewport;
public boolean isBackingStoreEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JViewport.scrollMode:I
iconst_2
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JViewport;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
java.lang.Deprecated()
public void setBackingStoreEnabled(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 3
1: aload 0
iconst_2
invokevirtual javax.swing.JViewport.setScrollMode:(I)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual javax.swing.JViewport.setScrollMode:(I)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JViewport;
0 5 1 enabled Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
enabled
private boolean isBlitting();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
astore 1
start local 1 1: aload 0
getfield javax.swing.JViewport.scrollMode:I
iconst_1
if_icmpne 4
2: aload 1
instanceof javax.swing.JComponent
ifeq 4
aload 1
invokevirtual java.awt.Component.isOpaque:()Z
ifeq 4
3: iconst_1
ireturn
StackMap locals: java.awt.Component
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JViewport;
1 5 1 view Ljava/awt/Component;
public java.awt.Component getView();
descriptor: ()Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.JViewport.getComponentCount:()I
ifle 1
aload 0
iconst_0
invokevirtual javax.swing.JViewport.getComponent:(I)Ljava/awt/Component;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.awt.Component
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JViewport;
public void setView(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JViewport.getComponentCount:()I
istore 2
start local 2 1: iload 2
iconst_1
isub
istore 3
start local 3 2: goto 5
3: StackMap locals: int int
StackMap stack:
aload 0
aload 0
iload 3
invokevirtual javax.swing.JViewport.getComponent:(I)Ljava/awt/Component;
invokevirtual javax.swing.JViewport.remove:(Ljava/awt/Component;)V
4: iinc 3 -1
StackMap locals:
StackMap stack:
5: iload 3
ifge 3
end local 3 6: aload 0
iconst_0
putfield javax.swing.JViewport.isViewSizeSet:Z
7: aload 1
ifnull 11
8: aload 0
aload 1
aconst_null
iconst_m1
invokespecial javax.swing.JComponent.addImpl:(Ljava/awt/Component;Ljava/lang/Object;I)V
9: aload 0
aload 0
invokevirtual javax.swing.JViewport.createViewListener:()Ljavax/swing/JViewport$ViewListener;
putfield javax.swing.JViewport.viewListener:Ljava/awt/event/ComponentListener;
10: aload 1
aload 0
getfield javax.swing.JViewport.viewListener:Ljava/awt/event/ComponentListener;
invokevirtual java.awt.Component.addComponentListener:(Ljava/awt/event/ComponentListener;)V
11: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JViewport.hasHadValidView:Z
ifeq 14
12: aload 0
invokevirtual javax.swing.JViewport.fireStateChanged:()V
13: goto 16
14: StackMap locals:
StackMap stack:
aload 1
ifnull 16
15: aload 0
iconst_1
putfield javax.swing.JViewport.hasHadValidView:Z
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.JViewport.revalidate:()V
17: aload 0
invokevirtual javax.swing.JViewport.repaint:()V
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/swing/JViewport;
0 19 1 view Ljava/awt/Component;
1 19 2 n I
2 6 3 i I
MethodParameters:
Name Flags
view
public java.awt.Dimension getViewSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
areturn
3: StackMap locals: java.awt.Component
StackMap stack:
aload 0
getfield javax.swing.JViewport.isViewSizeSet:Z
ifeq 5
4: aload 1
invokevirtual java.awt.Component.getSize:()Ljava/awt/Dimension;
areturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/JViewport;
1 6 1 view Ljava/awt/Component;
public void setViewSize(java.awt.Dimension);
descriptor: (Ljava/awt/Dimension;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
astore 2
start local 2 1: aload 2
ifnull 8
2: aload 2
invokevirtual java.awt.Component.getSize:()Ljava/awt/Dimension;
astore 3
start local 3 3: aload 1
aload 3
invokevirtual java.awt.Dimension.equals:(Ljava/lang/Object;)Z
ifne 8
4: aload 0
iconst_0
putfield javax.swing.JViewport.scrollUnderway:Z
5: aload 2
aload 1
invokevirtual java.awt.Component.setSize:(Ljava/awt/Dimension;)V
6: aload 0
iconst_1
putfield javax.swing.JViewport.isViewSizeSet:Z
7: aload 0
invokevirtual javax.swing.JViewport.fireStateChanged:()V
end local 3 8: StackMap locals: java.awt.Component
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/JViewport;
0 9 1 newSize Ljava/awt/Dimension;
1 9 2 view Ljava/awt/Component;
3 8 3 oldSize Ljava/awt/Dimension;
MethodParameters:
Name Flags
newSize
public java.awt.Point getViewPosition();
descriptor: ()Ljava/awt/Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
astore 1
start local 1 1: aload 1
ifnull 6
2: aload 1
invokevirtual java.awt.Component.getLocation:()Ljava/awt/Point;
astore 2
start local 2 3: aload 2
aload 2
getfield java.awt.Point.x:I
ineg
putfield java.awt.Point.x:I
4: aload 2
aload 2
getfield java.awt.Point.y:I
ineg
putfield java.awt.Point.y:I
5: aload 2
areturn
end local 2 6: StackMap locals: java.awt.Component
StackMap stack:
new java.awt.Point
dup
iconst_0
iconst_0
invokespecial java.awt.Point.<init>:(II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JViewport;
1 7 1 view Ljava/awt/Component;
3 6 2 p Ljava/awt/Point;
public void setViewPosition(java.awt.Point);
descriptor: (Ljava/awt/Point;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=14, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: return
3: StackMap locals: java.awt.Component
StackMap stack:
aload 1
getfield java.awt.Point.x:I
istore 5
start local 5 4: aload 1
getfield java.awt.Point.y:I
istore 6
start local 6 5: aload 2
instanceof javax.swing.JComponent
ifeq 10
6: aload 2
checkcast javax.swing.JComponent
astore 7
start local 7 7: aload 7
invokevirtual javax.swing.JComponent.getX:()I
istore 3
start local 3 8: aload 7
invokevirtual javax.swing.JComponent.getY:()I
istore 4
end local 7 start local 4 9: goto 13
end local 4 end local 3 10: StackMap locals: javax.swing.JViewport java.awt.Point java.awt.Component top top int int
StackMap stack:
aload 2
invokevirtual java.awt.Component.getBounds:()Ljava/awt/Rectangle;
astore 7
start local 7 11: aload 7
getfield java.awt.Rectangle.x:I
istore 3
start local 3 12: aload 7
getfield java.awt.Rectangle.y:I
istore 4
end local 7 start local 4 13: StackMap locals: javax.swing.JViewport java.awt.Point java.awt.Component int int int int
StackMap stack:
iload 5
ineg
istore 7
start local 7 14: iload 6
ineg
istore 8
start local 8 15: iload 3
iload 7
if_icmpne 16
iload 4
iload 8
if_icmpeq 49
16: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.JViewport.waitingForRepaint:Z
ifne 45
aload 0
invokevirtual javax.swing.JViewport.isBlitting:()Z
ifeq 45
aload 0
invokevirtual javax.swing.JViewport.canUseWindowBlitter:()Z
ifeq 45
17: aload 0
invokestatic javax.swing.RepaintManager.currentManager:(Ljavax/swing/JComponent;)Ljavax/swing/RepaintManager;
astore 9
start local 9 18: aload 2
checkcast javax.swing.JComponent
astore 10
start local 10 19: aload 9
aload 10
invokevirtual javax.swing.RepaintManager.getDirtyRegion:(Ljavax/swing/JComponent;)Ljava/awt/Rectangle;
astore 11
start local 11 20: aload 11
ifnull 21
aload 11
aload 10
invokevirtual javax.swing.JComponent.getVisibleRect:()Ljava/awt/Rectangle;
invokevirtual java.awt.Rectangle.contains:(Ljava/awt/Rectangle;)Z
ifne 42
21: StackMap locals: javax.swing.RepaintManager javax.swing.JComponent java.awt.Rectangle
StackMap stack:
aload 9
invokevirtual javax.swing.RepaintManager.beginPaint:()V
22: aload 0
invokestatic javax.swing.JComponent.safelyGetGraphics:(Ljava/awt/Component;)Ljava/awt/Graphics;
astore 12
start local 12 23: aload 0
aload 12
aload 11
invokevirtual javax.swing.JViewport.flushViewDirtyRegion:(Ljava/awt/Graphics;Ljava/awt/Rectangle;)V
24: aload 2
iload 7
iload 8
invokevirtual java.awt.Component.setLocation:(II)V
25: aload 12
iconst_0
iconst_0
aload 0
invokevirtual javax.swing.JViewport.getWidth:()I
aload 0
invokevirtual javax.swing.JViewport.getHeight:()I
26: aload 10
invokevirtual javax.swing.JComponent.getHeight:()I
27: invokestatic java.lang.Math.min:(II)I
invokevirtual java.awt.Graphics.setClip:(IIII)V
28: aload 0
aload 0
aload 12
invokevirtual javax.swing.JViewport.windowBlitPaint:(Ljava/awt/Graphics;)Z
ifeq 30
29: aload 0
invokevirtual javax.swing.JViewport.needsRepaintAfterBlit:()Z
ifeq 30
iconst_1
goto 31
StackMap locals: javax.swing.JViewport java.awt.Point java.awt.Component int int int int int int javax.swing.RepaintManager javax.swing.JComponent java.awt.Rectangle java.awt.Graphics
StackMap stack: javax.swing.JViewport
30: iconst_0
31: StackMap locals: javax.swing.JViewport java.awt.Point java.awt.Component int int int int int int javax.swing.RepaintManager javax.swing.JComponent java.awt.Rectangle java.awt.Graphics
StackMap stack: javax.swing.JViewport int
putfield javax.swing.JViewport.repaintAll:Z
32: aload 12
invokevirtual java.awt.Graphics.dispose:()V
33: aload 9
aload 0
invokevirtual javax.swing.JViewport.getParent:()Ljava/awt/Container;
checkcast javax.swing.JComponent
invokevirtual javax.swing.RepaintManager.markCompletelyClean:(Ljavax/swing/JComponent;)V
34: aload 9
aload 0
invokevirtual javax.swing.RepaintManager.markCompletelyClean:(Ljavax/swing/JComponent;)V
35: aload 9
aload 10
invokevirtual javax.swing.RepaintManager.markCompletelyClean:(Ljavax/swing/JComponent;)V
end local 12 36: goto 40
StackMap locals: javax.swing.JViewport java.awt.Point java.awt.Component int int int int int int javax.swing.RepaintManager javax.swing.JComponent java.awt.Rectangle
StackMap stack: java.lang.Throwable
37: astore 13
38: aload 9
invokevirtual javax.swing.RepaintManager.endPaint:()V
39: aload 13
athrow
40: StackMap locals:
StackMap stack:
aload 9
invokevirtual javax.swing.RepaintManager.endPaint:()V
41: goto 48
42: StackMap locals:
StackMap stack:
aload 2
iload 7
iload 8
invokevirtual java.awt.Component.setLocation:(II)V
43: aload 0
iconst_0
putfield javax.swing.JViewport.repaintAll:Z
end local 11 end local 10 end local 9 44: goto 48
45: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield javax.swing.JViewport.scrollUnderway:Z
46: aload 2
iload 7
iload 8
invokevirtual java.awt.Component.setLocation:(II)V
47: aload 0
iconst_0
putfield javax.swing.JViewport.repaintAll:Z
48: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.JViewport.fireStateChanged:()V
49: StackMap locals:
StackMap stack:
return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Ljavax/swing/JViewport;
0 50 1 p Ljava/awt/Point;
1 50 2 view Ljava/awt/Component;
8 10 3 oldX I
12 50 3 oldX I
9 10 4 oldY I
13 50 4 oldY I
4 50 5 x I
5 50 6 y I
7 9 7 c Ljavax/swing/JComponent;
11 13 7 r Ljava/awt/Rectangle;
14 50 7 newX I
15 50 8 newY I
18 44 9 rm Ljavax/swing/RepaintManager;
19 44 10 jview Ljavax/swing/JComponent;
20 44 11 dirty Ljava/awt/Rectangle;
23 36 12 g Ljava/awt/Graphics;
Exception table:
from to target type
22 37 37 any
MethodParameters:
Name Flags
p
public java.awt.Rectangle getViewRect();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.awt.Rectangle
dup
aload 0
invokevirtual javax.swing.JViewport.getViewPosition:()Ljava/awt/Point;
aload 0
invokevirtual javax.swing.JViewport.getExtentSize:()Ljava/awt/Dimension;
invokespecial java.awt.Rectangle.<init>:(Ljava/awt/Point;Ljava/awt/Dimension;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JViewport;
protected boolean computeBlit(int, int, java.awt.Point, java.awt.Point, java.awt.Dimension, java.awt.Rectangle);
descriptor: (IILjava/awt/Point;Ljava/awt/Point;Ljava/awt/Dimension;Ljava/awt/Rectangle;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: iload 1
invokestatic java.lang.Math.abs:(I)I
istore 7
start local 7 1: iload 2
invokestatic java.lang.Math.abs:(I)I
istore 8
start local 8 2: aload 0
invokevirtual javax.swing.JViewport.getExtentSize:()Ljava/awt/Dimension;
astore 9
start local 9 3: iload 1
ifne 18
iload 2
ifeq 18
iload 8
aload 9
getfield java.awt.Dimension.height:I
if_icmpge 18
4: iload 2
ifge 9
5: aload 3
iload 2
ineg
putfield java.awt.Point.y:I
6: aload 4
iconst_0
putfield java.awt.Point.y:I
7: aload 6
aload 9
getfield java.awt.Dimension.height:I
iload 2
iadd
putfield java.awt.Rectangle.y:I
8: goto 12
9: StackMap locals: int int java.awt.Dimension
StackMap stack:
aload 3
iconst_0
putfield java.awt.Point.y:I
10: aload 4
iload 2
putfield java.awt.Point.y:I
11: aload 6
iconst_0
putfield java.awt.Rectangle.y:I
12: StackMap locals:
StackMap stack:
aload 6
aload 3
aload 4
iconst_0
dup_x1
putfield java.awt.Point.x:I
dup_x1
putfield java.awt.Point.x:I
putfield java.awt.Rectangle.x:I
13: aload 5
aload 9
getfield java.awt.Dimension.width:I
putfield java.awt.Dimension.width:I
14: aload 5
aload 9
getfield java.awt.Dimension.height:I
iload 8
isub
putfield java.awt.Dimension.height:I
15: aload 6
aload 9
getfield java.awt.Dimension.width:I
putfield java.awt.Rectangle.width:I
16: aload 6
iload 8
putfield java.awt.Rectangle.height:I
17: iconst_1
ireturn
18: StackMap locals:
StackMap stack:
iload 2
ifne 33
iload 1
ifeq 33
iload 7
aload 9
getfield java.awt.Dimension.width:I
if_icmpge 33
19: iload 1
ifge 24
20: aload 3
iload 1
ineg
putfield java.awt.Point.x:I
21: aload 4
iconst_0
putfield java.awt.Point.x:I
22: aload 6
aload 9
getfield java.awt.Dimension.width:I
iload 1
iadd
putfield java.awt.Rectangle.x:I
23: goto 27
24: StackMap locals:
StackMap stack:
aload 3
iconst_0
putfield java.awt.Point.x:I
25: aload 4
iload 1
putfield java.awt.Point.x:I
26: aload 6
iconst_0
putfield java.awt.Rectangle.x:I
27: StackMap locals:
StackMap stack:
aload 6
aload 3
aload 4
iconst_0
dup_x1
putfield java.awt.Point.y:I
dup_x1
putfield java.awt.Point.y:I
putfield java.awt.Rectangle.y:I
28: aload 5
aload 9
getfield java.awt.Dimension.width:I
iload 7
isub
putfield java.awt.Dimension.width:I
29: aload 5
aload 9
getfield java.awt.Dimension.height:I
putfield java.awt.Dimension.height:I
30: aload 6
iload 7
putfield java.awt.Rectangle.width:I
31: aload 6
aload 9
getfield java.awt.Dimension.height:I
putfield java.awt.Rectangle.height:I
32: iconst_1
ireturn
33: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljavax/swing/JViewport;
0 34 1 dx I
0 34 2 dy I
0 34 3 blitFrom Ljava/awt/Point;
0 34 4 blitTo Ljava/awt/Point;
0 34 5 blitSize Ljava/awt/Dimension;
0 34 6 blitPaint Ljava/awt/Rectangle;
1 34 7 dxAbs I
2 34 8 dyAbs I
3 34 9 extentSize Ljava/awt/Dimension;
MethodParameters:
Name Flags
dx
dy
blitFrom
blitTo
blitSize
blitPaint
public java.awt.Dimension getExtentSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.JViewport.getSize:()Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JViewport;
public java.awt.Dimension toViewCoordinates(java.awt.Dimension);
descriptor: (Ljava/awt/Dimension;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.awt.Dimension
dup
aload 1
invokespecial java.awt.Dimension.<init>:(Ljava/awt/Dimension;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JViewport;
0 1 1 size Ljava/awt/Dimension;
MethodParameters:
Name Flags
size
public java.awt.Point toViewCoordinates(java.awt.Point);
descriptor: (Ljava/awt/Point;)Ljava/awt/Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.awt.Point
dup
aload 1
invokespecial java.awt.Point.<init>:(Ljava/awt/Point;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JViewport;
0 1 1 p Ljava/awt/Point;
MethodParameters:
Name Flags
p
public void setExtentSize(java.awt.Dimension);
descriptor: (Ljava/awt/Dimension;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JViewport.getExtentSize:()Ljava/awt/Dimension;
astore 2
start local 2 1: aload 1
aload 2
invokevirtual java.awt.Dimension.equals:(Ljava/lang/Object;)Z
ifne 4
2: aload 0
aload 1
invokevirtual javax.swing.JViewport.setSize:(Ljava/awt/Dimension;)V
3: aload 0
invokevirtual javax.swing.JViewport.fireStateChanged:()V
4: StackMap locals: java.awt.Dimension
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JViewport;
0 5 1 newExtent Ljava/awt/Dimension;
1 5 2 oldExtent Ljava/awt/Dimension;
MethodParameters:
Name Flags
newExtent
protected javax.swing.JViewport$ViewListener createViewListener();
descriptor: ()Ljavax/swing/JViewport$ViewListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new javax.swing.JViewport$ViewListener
dup
aload 0
invokespecial javax.swing.JViewport$ViewListener.<init>:(Ljavax/swing/JViewport;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JViewport;
protected java.awt.LayoutManager createLayoutManager();
descriptor: ()Ljava/awt/LayoutManager;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic javax.swing.ViewportLayout.SHARED_INSTANCE:Ljavax/swing/ViewportLayout;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JViewport;
public void addChangeListener(javax.swing.event.ChangeListener);
descriptor: (Ljavax/swing/event/ChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JViewport.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.add:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JViewport;
0 2 1 l Ljavax/swing/event/ChangeListener;
MethodParameters:
Name Flags
l
public void removeChangeListener(javax.swing.event.ChangeListener);
descriptor: (Ljavax/swing/event/ChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JViewport.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.remove:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JViewport;
0 2 1 l Ljavax/swing/event/ChangeListener;
MethodParameters:
Name Flags
l
public javax.swing.event.ChangeListener[] getChangeListeners();
descriptor: ()[Ljavax/swing/event/ChangeListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JViewport.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
invokevirtual javax.swing.event.EventListenerList.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
checkcast javax.swing.event.ChangeListener[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JViewport;
protected void fireStateChanged();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.JViewport.listenerList:Ljavax/swing/event/EventListenerList;
invokevirtual javax.swing.event.EventListenerList.getListenerList:()[Ljava/lang/Object;
astore 1
start local 1 1: aload 1
arraylength
iconst_2
isub
istore 2
start local 2 2: goto 8
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 1
iload 2
aaload
ldc Ljavax/swing/event/ChangeListener;
if_acmpne 7
4: aload 0
getfield javax.swing.JViewport.changeEvent:Ljavax/swing/event/ChangeEvent;
ifnonnull 6
5: aload 0
new javax.swing.event.ChangeEvent
dup
aload 0
invokespecial javax.swing.event.ChangeEvent.<init>:(Ljava/lang/Object;)V
putfield javax.swing.JViewport.changeEvent:Ljavax/swing/event/ChangeEvent;
6: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_1
iadd
aaload
checkcast javax.swing.event.ChangeListener
aload 0
getfield javax.swing.JViewport.changeEvent:Ljavax/swing/event/ChangeEvent;
invokeinterface javax.swing.event.ChangeListener.stateChanged:(Ljavax/swing/event/ChangeEvent;)V
7: StackMap locals:
StackMap stack:
iinc 2 -2
StackMap locals:
StackMap stack:
8: iload 2
ifge 3
end local 2 9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/JViewport;
1 10 1 listeners [Ljava/lang/Object;
2 9 2 i I
public void repaint(long, int, int, int, int);
descriptor: (JIIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=6
start local 0 start local 1 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokevirtual javax.swing.JViewport.getParent:()Ljava/awt/Container;
astore 7
start local 7 1: aload 7
ifnull 3
2: aload 7
lload 1
iload 3
aload 0
invokevirtual javax.swing.JViewport.getX:()I
iadd
iload 4
aload 0
invokevirtual javax.swing.JViewport.getY:()I
iadd
iload 5
iload 6
invokevirtual java.awt.Container.repaint:(JIIII)V
goto 4
3: StackMap locals: java.awt.Container
StackMap stack:
aload 0
lload 1
iload 3
iload 4
iload 5
iload 6
invokespecial javax.swing.JComponent.repaint:(JIIII)V
4: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JViewport;
0 5 1 tm J
0 5 3 x I
0 5 4 y I
0 5 5 w I
0 5 6 h I
1 5 7 parent Ljava/awt/Container;
MethodParameters:
Name Flags
tm
x
y
w
h
protected java.lang.String paramString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield javax.swing.JViewport.isViewSizeSet:Z
ifeq 2
1: ldc "true"
goto 3
StackMap locals:
StackMap stack:
2: ldc "false"
3: StackMap locals:
StackMap stack: java.lang.String
astore 1
start local 1 4: aload 0
getfield javax.swing.JViewport.lastPaintPosition:Ljava/awt/Point;
ifnull 6
5: aload 0
getfield javax.swing.JViewport.lastPaintPosition:Ljava/awt/Point;
invokevirtual java.awt.Point.toString:()Ljava/lang/String;
goto 7
StackMap locals: java.lang.String
StackMap stack:
6: ldc ""
7: StackMap locals:
StackMap stack: java.lang.String
astore 2
start local 2 8: aload 0
getfield javax.swing.JViewport.scrollUnderway:Z
ifeq 10
9: ldc "true"
goto 11
StackMap locals: java.lang.String
StackMap stack:
10: ldc "false"
11: StackMap locals:
StackMap stack: java.lang.String
astore 3
start local 3 12: new java.lang.StringBuilder
dup
aload 0
invokespecial javax.swing.JComponent.paramString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
13: ldc ",isViewSizeSet="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: ldc ",lastPaintPosition="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: ldc ",scrollUnderway="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/JViewport;
4 17 1 isViewSizeSetString Ljava/lang/String;
8 17 2 lastPaintPositionString Ljava/lang/String;
12 17 3 scrollUnderwayString Ljava/lang/String;
protected void firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial javax.swing.JComponent.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
1: aload 1
getstatic javax.swing.JViewport.EnableWindowBlit:Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
2: aload 3
ifnull 5
3: aload 0
iconst_1
invokevirtual javax.swing.JViewport.setScrollMode:(I)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual javax.swing.JViewport.setScrollMode:(I)V
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JViewport;
0 7 1 propertyName Ljava/lang/String;
0 7 2 oldValue Ljava/lang/Object;
0 7 3 newValue Ljava/lang/Object;
MethodParameters:
Name Flags
propertyName
oldValue
newValue
private boolean needsRepaintAfterBlit();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.JViewport.getParent:()Ljava/awt/Container;
astore 1
start local 1 1: goto 3
2: StackMap locals: java.awt.Component
StackMap stack:
aload 1
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 1
3: StackMap locals:
StackMap stack:
aload 1
ifnull 4
aload 1
invokevirtual java.awt.Component.isLightweight:()Z
ifne 2
4: StackMap locals:
StackMap stack:
aload 1
ifnull 9
5: aload 1
invokevirtual java.awt.Component.getPeer:()Ljava/awt/peer/ComponentPeer;
astore 2
start local 2 6: aload 2
ifnull 9
aload 2
invokeinterface java.awt.peer.ComponentPeer.canDetermineObscurity:()Z
ifeq 9
7: aload 2
invokeinterface java.awt.peer.ComponentPeer.isObscured:()Z
ifne 9
8: iconst_0
ireturn
end local 2 9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/JViewport;
1 10 1 heavyParent Ljava/awt/Component;
6 9 2 peer Ljava/awt/peer/ComponentPeer;
private javax.swing.Timer createRepaintTimer();
descriptor: ()Ljavax/swing/Timer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=1
start local 0 0: new javax.swing.Timer
dup
sipush 300
new javax.swing.JViewport$1
dup
aload 0
invokespecial javax.swing.JViewport$1.<init>:(Ljavax/swing/JViewport;)V
invokespecial javax.swing.Timer.<init>:(ILjava/awt/event/ActionListener;)V
astore 1
start local 1 1: aload 1
iconst_0
invokevirtual javax.swing.Timer.setRepeats:(Z)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JViewport;
1 3 1 timer Ljavax/swing/Timer;
private void flushViewDirtyRegion(java.awt.Graphics, java.awt.Rectangle);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Rectangle;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
checkcast javax.swing.JComponent
astore 3
start local 3 1: aload 2
ifnull 11
aload 2
getfield java.awt.Rectangle.width:I
ifle 11
aload 2
getfield java.awt.Rectangle.height:I
ifle 11
2: aload 2
dup
getfield java.awt.Rectangle.x:I
aload 3
invokevirtual javax.swing.JComponent.getX:()I
iadd
putfield java.awt.Rectangle.x:I
3: aload 2
dup
getfield java.awt.Rectangle.y:I
aload 3
invokevirtual javax.swing.JComponent.getY:()I
iadd
putfield java.awt.Rectangle.y:I
4: aload 1
invokevirtual java.awt.Graphics.getClipBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 5: aload 4
ifnonnull 7
6: aload 1
iconst_0
iconst_0
aload 0
invokevirtual javax.swing.JViewport.getWidth:()I
aload 0
invokevirtual javax.swing.JViewport.getHeight:()I
invokevirtual java.awt.Graphics.setClip:(IIII)V
7: StackMap locals: javax.swing.JComponent java.awt.Rectangle
StackMap stack:
aload 1
aload 2
getfield java.awt.Rectangle.x:I
aload 2
getfield java.awt.Rectangle.y:I
aload 2
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.clipRect:(IIII)V
8: aload 1
invokevirtual java.awt.Graphics.getClipBounds:()Ljava/awt/Rectangle;
astore 4
9: aload 4
getfield java.awt.Rectangle.width:I
ifle 11
aload 4
getfield java.awt.Rectangle.height:I
ifle 11
10: aload 0
aload 1
invokevirtual javax.swing.JViewport.paintView:(Ljava/awt/Graphics;)V
end local 4 11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/JViewport;
0 12 1 g Ljava/awt/Graphics;
0 12 2 dirty Ljava/awt/Rectangle;
1 12 3 view Ljavax/swing/JComponent;
5 11 4 clip Ljava/awt/Rectangle;
MethodParameters:
Name Flags
g
dirty
private boolean windowBlitPaint(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=13, locals=15, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JViewport.getWidth:()I
istore 2
start local 2 1: aload 0
invokevirtual javax.swing.JViewport.getHeight:()I
istore 3
start local 3 2: iload 2
ifeq 3
iload 3
ifne 4
3: StackMap locals: int int
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic javax.swing.RepaintManager.currentManager:(Ljavax/swing/JComponent;)Ljavax/swing/RepaintManager;
pop
5: aload 0
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
checkcast javax.swing.JComponent
astore 5
start local 5 6: aload 0
getfield javax.swing.JViewport.lastPaintPosition:Ljava/awt/Point;
ifnull 8
7: aload 0
getfield javax.swing.JViewport.lastPaintPosition:Ljava/awt/Point;
aload 0
invokevirtual javax.swing.JViewport.getViewLocation:()Ljava/awt/Point;
invokevirtual java.awt.Point.equals:(Ljava/lang/Object;)Z
ifeq 11
8: StackMap locals: javax.swing.JViewport java.awt.Graphics int int top javax.swing.JComponent
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.JViewport.paintView:(Ljava/awt/Graphics;)V
9: iconst_0
istore 4
start local 4 10: goto 33
end local 4 11: StackMap locals:
StackMap stack:
new java.awt.Point
dup
invokespecial java.awt.Point.<init>:()V
astore 6
start local 6 12: new java.awt.Point
dup
invokespecial java.awt.Point.<init>:()V
astore 7
start local 7 13: new java.awt.Dimension
dup
invokespecial java.awt.Dimension.<init>:()V
astore 8
start local 8 14: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 9
start local 9 15: aload 0
invokevirtual javax.swing.JViewport.getViewLocation:()Ljava/awt/Point;
astore 10
start local 10 16: aload 10
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.JViewport.lastPaintPosition:Ljava/awt/Point;
getfield java.awt.Point.x:I
isub
istore 11
start local 11 17: aload 10
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.JViewport.lastPaintPosition:Ljava/awt/Point;
getfield java.awt.Point.y:I
isub
istore 12
start local 12 18: aload 0
iload 11
iload 12
aload 6
aload 7
aload 8
19: aload 9
20: invokevirtual javax.swing.JViewport.computeBlit:(IILjava/awt/Point;Ljava/awt/Point;Ljava/awt/Dimension;Ljava/awt/Rectangle;)Z
istore 13
start local 13 21: iload 13
ifne 25
22: aload 0
aload 1
invokevirtual javax.swing.JViewport.paintView:(Ljava/awt/Graphics;)V
23: iconst_0
istore 4
start local 4 24: goto 33
end local 4 25: StackMap locals: javax.swing.JViewport java.awt.Graphics int int top javax.swing.JComponent java.awt.Point java.awt.Point java.awt.Dimension java.awt.Rectangle java.awt.Point int int int
StackMap stack:
aload 5
invokevirtual javax.swing.JComponent.getBounds:()Ljava/awt/Rectangle;
aload 9
invokevirtual java.awt.Rectangle.intersection:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 14
start local 14 26: aload 14
dup
getfield java.awt.Rectangle.x:I
aload 5
invokevirtual javax.swing.JComponent.getX:()I
isub
putfield java.awt.Rectangle.x:I
27: aload 14
dup
getfield java.awt.Rectangle.y:I
aload 5
invokevirtual javax.swing.JComponent.getY:()I
isub
putfield java.awt.Rectangle.y:I
28: aload 0
aload 5
aload 1
aload 14
getfield java.awt.Rectangle.x:I
aload 14
getfield java.awt.Rectangle.y:I
aload 14
getfield java.awt.Rectangle.width:I
aload 14
getfield java.awt.Rectangle.height:I
29: aload 6
getfield java.awt.Point.x:I
aload 6
getfield java.awt.Point.y:I
aload 7
getfield java.awt.Point.x:I
aload 7
getfield java.awt.Point.y:I
30: aload 8
getfield java.awt.Dimension.width:I
aload 8
getfield java.awt.Dimension.height:I
31: invokevirtual javax.swing.JViewport.blitDoubleBuffered:(Ljavax/swing/JComponent;Ljava/awt/Graphics;IIIIIIIIII)V
32: iconst_1
istore 4
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 start local 4 33: StackMap locals: javax.swing.JViewport java.awt.Graphics int int int javax.swing.JComponent
StackMap stack:
aload 0
aload 0
invokevirtual javax.swing.JViewport.getViewLocation:()Ljava/awt/Point;
putfield javax.swing.JViewport.lastPaintPosition:Ljava/awt/Point;
34: iload 4
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Ljavax/swing/JViewport;
0 35 1 g Ljava/awt/Graphics;
1 35 2 width I
2 35 3 height I
10 11 4 retValue Z
24 25 4 retValue Z
33 35 4 retValue Z
6 35 5 view Ljavax/swing/JComponent;
12 33 6 blitFrom Ljava/awt/Point;
13 33 7 blitTo Ljava/awt/Point;
14 33 8 blitSize Ljava/awt/Dimension;
15 33 9 blitPaint Ljava/awt/Rectangle;
16 33 10 newLocation Ljava/awt/Point;
17 33 11 dx I
18 33 12 dy I
21 33 13 canBlit Z
26 33 14 r Ljava/awt/Rectangle;
MethodParameters:
Name Flags
g
private void blitDoubleBuffered(javax.swing.JComponent, java.awt.Graphics, int, int, int, int, int, int, int, int, int, int);
descriptor: (Ljavax/swing/JComponent;Ljava/awt/Graphics;IIIIIIIIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=18, args_size=13
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 0: aload 0
invokestatic javax.swing.RepaintManager.currentManager:(Ljavax/swing/JComponent;)Ljavax/swing/RepaintManager;
astore 13
start local 13 1: iload 9
iload 7
isub
istore 14
start local 14 2: iload 10
iload 8
isub
istore 15
start local 15 3: aload 13
aload 0
aload 2
iload 7
iload 8
iload 11
iload 12
iload 14
iload 15
4: iconst_0
5: invokevirtual javax.swing.RepaintManager.copyArea:(Ljavax/swing/JComponent;Ljava/awt/Graphics;IIIIIIZ)V
6: aload 1
invokevirtual javax.swing.JComponent.getX:()I
istore 16
start local 16 7: aload 1
invokevirtual javax.swing.JComponent.getY:()I
istore 17
start local 17 8: aload 2
iload 16
iload 17
invokevirtual java.awt.Graphics.translate:(II)V
9: aload 2
iload 3
iload 4
iload 5
iload 6
invokevirtual java.awt.Graphics.setClip:(IIII)V
10: aload 1
aload 2
invokevirtual javax.swing.JComponent.paintForceDoubleBuffered:(Ljava/awt/Graphics;)V
11: aload 2
iload 16
ineg
iload 17
ineg
invokevirtual java.awt.Graphics.translate:(II)V
12: return
end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/JViewport;
0 13 1 view Ljavax/swing/JComponent;
0 13 2 g Ljava/awt/Graphics;
0 13 3 clipX I
0 13 4 clipY I
0 13 5 clipW I
0 13 6 clipH I
0 13 7 blitFromX I
0 13 8 blitFromY I
0 13 9 blitToX I
0 13 10 blitToY I
0 13 11 blitW I
0 13 12 blitH I
1 13 13 rm Ljavax/swing/RepaintManager;
2 13 14 bdx I
3 13 15 bdy I
7 13 16 x I
8 13 17 y I
MethodParameters:
Name Flags
view
g
clipX
clipY
clipW
clipH
blitFromX
blitFromY
blitToX
blitToY
blitW
blitH
private void paintView(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.Graphics.getClipBounds:()Ljava/awt/Rectangle;
astore 2
start local 2 1: aload 0
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
checkcast javax.swing.JComponent
astore 3
start local 3 2: aload 3
invokevirtual javax.swing.JComponent.getWidth:()I
aload 0
invokevirtual javax.swing.JViewport.getWidth:()I
if_icmplt 11
3: aload 3
invokevirtual javax.swing.JComponent.getX:()I
istore 4
start local 4 4: aload 3
invokevirtual javax.swing.JComponent.getY:()I
istore 5
start local 5 5: aload 1
iload 4
iload 5
invokevirtual java.awt.Graphics.translate:(II)V
6: aload 1
aload 2
getfield java.awt.Rectangle.x:I
iload 4
isub
aload 2
getfield java.awt.Rectangle.y:I
iload 5
isub
aload 2
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.setClip:(IIII)V
7: aload 3
aload 1
invokevirtual javax.swing.JComponent.paintForceDoubleBuffered:(Ljava/awt/Graphics;)V
8: aload 1
iload 4
ineg
iload 5
ineg
invokevirtual java.awt.Graphics.translate:(II)V
9: aload 1
aload 2
getfield java.awt.Rectangle.x:I
aload 2
getfield java.awt.Rectangle.y:I
aload 2
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.setClip:(IIII)V
end local 5 end local 4 10: goto 18
11: StackMap locals: java.awt.Rectangle javax.swing.JComponent
StackMap stack:
aload 0
iconst_1
putfield javax.swing.JViewport.inBlitPaint:Z
12: aload 0
aload 1
invokevirtual javax.swing.JViewport.paintForceDoubleBuffered:(Ljava/awt/Graphics;)V
13: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 4
15: aload 0
iconst_0
putfield javax.swing.JViewport.inBlitPaint:Z
16: aload 4
athrow
17: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield javax.swing.JViewport.inBlitPaint:Z
18: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/swing/JViewport;
0 19 1 g Ljava/awt/Graphics;
1 19 2 clip Ljava/awt/Rectangle;
2 19 3 view Ljavax/swing/JComponent;
4 10 4 x I
5 10 5 y I
Exception table:
from to target type
11 14 14 any
MethodParameters:
Name Flags
g
private boolean canUseWindowBlitter();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=14, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.JViewport.isShowing:()Z
ifeq 2
aload 0
invokevirtual javax.swing.JViewport.getParent:()Ljava/awt/Container;
instanceof javax.swing.JComponent
ifne 3
1: aload 0
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
instanceof javax.swing.JComponent
ifne 3
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.JViewport.isPainting:()Z
ifeq 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
invokestatic javax.swing.RepaintManager.currentManager:(Ljavax/swing/JComponent;)Ljavax/swing/RepaintManager;
6: aload 0
invokevirtual javax.swing.JViewport.getParent:()Ljava/awt/Container;
checkcast javax.swing.JComponent
invokevirtual javax.swing.RepaintManager.getDirtyRegion:(Ljavax/swing/JComponent;)Ljava/awt/Rectangle;
7: astore 1
start local 1 8: aload 1
ifnull 11
aload 1
getfield java.awt.Rectangle.width:I
ifle 11
9: aload 1
getfield java.awt.Rectangle.height:I
ifle 11
10: iconst_0
ireturn
11: StackMap locals: java.awt.Rectangle
StackMap stack:
new java.awt.Rectangle
dup
iconst_0
iconst_0
aload 0
invokevirtual javax.swing.JViewport.getWidth:()I
aload 0
invokevirtual javax.swing.JViewport.getHeight:()I
invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 2
start local 2 12: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 3
start local 3 13: aconst_null
astore 4
start local 4 14: aconst_null
astore 6
start local 6 15: aload 0
astore 5
start local 5 16: goto 46
17: StackMap locals: javax.swing.JViewport java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle java.awt.Container java.awt.Component
StackMap stack:
aload 5
invokevirtual java.awt.Container.getX:()I
istore 7
start local 7 18: aload 5
invokevirtual java.awt.Container.getY:()I
istore 8
start local 8 19: aload 5
invokevirtual java.awt.Container.getWidth:()I
istore 9
start local 9 20: aload 5
invokevirtual java.awt.Container.getHeight:()I
istore 10
start local 10 21: aload 3
aload 2
invokevirtual java.awt.Rectangle.setBounds:(Ljava/awt/Rectangle;)V
22: iconst_0
iconst_0
iload 9
iload 10
aload 2
invokestatic javax.swing.SwingUtilities.computeIntersection:(IIIILjava/awt/Rectangle;)Ljava/awt/Rectangle;
pop
23: aload 2
aload 3
invokevirtual java.awt.Rectangle.equals:(Ljava/lang/Object;)Z
ifne 25
24: iconst_0
ireturn
25: StackMap locals: javax.swing.JViewport java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle java.awt.Container java.awt.Component int int int int
StackMap stack:
aload 6
ifnull 42
aload 5
instanceof javax.swing.JComponent
ifeq 42
26: aload 5
checkcast javax.swing.JComponent
invokevirtual javax.swing.JComponent.isOptimizedDrawingEnabled:()Z
ifne 42
27: aload 5
invokevirtual java.awt.Container.getComponents:()[Ljava/awt/Component;
astore 11
start local 11 28: iconst_0
istore 12
start local 12 29: aload 11
arraylength
iconst_1
isub
istore 13
start local 13 30: goto 35
31: StackMap locals: java.awt.Component[] int int
StackMap stack:
aload 11
iload 13
aaload
aload 6
if_acmpne 34
32: iload 13
iconst_1
isub
istore 12
33: goto 41
34: StackMap locals:
StackMap stack:
iinc 13 -1
StackMap locals:
StackMap stack:
35: iload 13
ifge 31
end local 13 36: goto 41
37: StackMap locals:
StackMap stack:
aload 11
iload 12
aaload
aload 4
invokevirtual java.awt.Component.getBounds:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 4
38: aload 4
aload 2
invokevirtual java.awt.Rectangle.intersects:(Ljava/awt/Rectangle;)Z
ifeq 40
39: iconst_0
ireturn
40: StackMap locals:
StackMap stack:
iinc 12 -1
41: StackMap locals:
StackMap stack:
iload 12
ifge 37
end local 12 end local 11 42: StackMap locals:
StackMap stack:
aload 2
dup
getfield java.awt.Rectangle.x:I
iload 7
iadd
putfield java.awt.Rectangle.x:I
43: aload 2
dup
getfield java.awt.Rectangle.y:I
iload 8
iadd
putfield java.awt.Rectangle.y:I
44: aload 5
astore 6
45: aload 5
invokevirtual java.awt.Container.getParent:()Ljava/awt/Container;
astore 5
end local 10 end local 9 end local 8 end local 7 StackMap locals: javax.swing.JViewport java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle java.awt.Container java.awt.Component
StackMap stack:
46: aload 5
ifnull 47
aload 5
invokestatic javax.swing.JViewport.isLightweightComponent:(Ljava/awt/Component;)Z
ifne 17
47: StackMap locals:
StackMap stack:
aload 5
ifnonnull 49
48: iconst_0
ireturn
49: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Ljavax/swing/JViewport;
8 50 1 dirtyRegion Ljava/awt/Rectangle;
12 50 2 clip Ljava/awt/Rectangle;
13 50 3 oldClip Ljava/awt/Rectangle;
14 50 4 tmp2 Ljava/awt/Rectangle;
16 50 5 parent Ljava/awt/Container;
15 50 6 lastParent Ljava/awt/Component;
18 46 7 x I
19 46 8 y I
20 46 9 w I
21 46 10 h I
28 42 11 comps [Ljava/awt/Component;
29 42 12 index I
30 36 13 i I
public javax.accessibility.AccessibleContext getAccessibleContext();
descriptor: ()Ljavax/accessibility/AccessibleContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JViewport.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new javax.swing.JViewport$AccessibleJViewport
dup
aload 0
invokespecial javax.swing.JViewport$AccessibleJViewport.<init>:(Ljavax/swing/JViewport;)V
putfield javax.swing.JViewport.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JViewport.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JViewport;
}
SourceFile: "JViewport.java"
NestMembers:
javax.swing.JViewport$1 javax.swing.JViewport$AccessibleJViewport javax.swing.JViewport$ViewListener
InnerClasses:
javax.swing.JViewport$1
protected AccessibleJViewport = javax.swing.JViewport$AccessibleJViewport of javax.swing.JViewport
protected ViewListener = javax.swing.JViewport$ViewListener of javax.swing.JViewport