final class sun.lwawt.LWScrollPanePeer extends sun.lwawt.LWContainerPeer<java.awt.ScrollPane, javax.swing.JScrollPane> implements java.awt.peer.ScrollPanePeer, javax.swing.event.ChangeListener
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.LWScrollPanePeer
super_class: sun.lwawt.LWContainerPeer
{
void <init>(java.awt.ScrollPane, sun.lwawt.PlatformComponent);
descriptor: (Ljava/awt/ScrollPane;Lsun/lwawt/PlatformComponent;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.lwawt.LWContainerPeer.<init>:(Ljava/awt/Container;Lsun/lwawt/PlatformComponent;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/LWScrollPanePeer;
0 2 1 target Ljava/awt/ScrollPane;
0 2 2 platformComponent Lsun/lwawt/PlatformComponent;
MethodParameters:
Name Flags
target final
platformComponent final
javax.swing.JScrollPane createDelegate();
descriptor: ()Ljavax/swing/JScrollPane;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: new javax.swing.JScrollPane
dup
invokespecial javax.swing.JScrollPane.<init>:()V
astore 1
start local 1 1: new javax.swing.JPanel
dup
invokespecial javax.swing.JPanel.<init>:()V
astore 2
start local 2 2: aload 2
iconst_0
invokevirtual javax.swing.JPanel.setOpaque:(Z)V
3: aload 2
iconst_0
invokevirtual javax.swing.JPanel.setVisible:(Z)V
4: aload 1
invokevirtual javax.swing.JScrollPane.getViewport:()Ljavax/swing/JViewport;
aload 2
invokevirtual javax.swing.JViewport.setView:(Ljava/awt/Component;)V
5: aload 1
invokestatic javax.swing.BorderFactory.createEmptyBorder:()Ljavax/swing/border/Border;
invokevirtual javax.swing.JScrollPane.setBorder:(Ljavax/swing/border/Border;)V
6: aload 1
invokevirtual javax.swing.JScrollPane.getViewport:()Ljavax/swing/JViewport;
aload 0
invokevirtual javax.swing.JViewport.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
7: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/lwawt/LWScrollPanePeer;
1 8 1 sp Ljavax/swing/JScrollPane;
2 8 2 panel Ljavax/swing/JPanel;
public void handleEvent(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.awt.event.MouseWheelEvent
ifeq 5
1: aload 1
checkcast java.awt.event.MouseWheelEvent
astore 2
start local 2 2: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.ScrollPane
invokevirtual java.awt.ScrollPane.isWheelScrollingEnabled:()Z
ifeq 6
aload 2
invokevirtual java.awt.event.MouseWheelEvent.isConsumed:()Z
ifeq 6
3: aload 0
aload 2
invokevirtual sun.lwawt.LWScrollPanePeer.sendEventToDelegate:(Ljava/awt/AWTEvent;)V
end local 2 4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial sun.lwawt.LWContainerPeer.handleEvent:(Ljava/awt/AWTEvent;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/lwawt/LWScrollPanePeer;
0 7 1 e Ljava/awt/AWTEvent;
2 4 2 wheelEvent Ljava/awt/event/MouseWheelEvent;
MethodParameters:
Name Flags
e
public void stateChanged(javax.swing.event.ChangeEvent);
descriptor: (Ljavax/swing/event/ChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new sun.lwawt.LWScrollPanePeer$1
dup
aload 0
invokespecial sun.lwawt.LWScrollPanePeer$1.<init>:(Lsun/lwawt/LWScrollPanePeer;)V
invokestatic javax.swing.SwingUtilities.invokeLater:(Ljava/lang/Runnable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/LWScrollPanePeer;
0 2 1 e Ljavax/swing/event/ChangeEvent;
MethodParameters:
Name Flags
e final
void initializeImpl();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokespecial sun.lwawt.LWContainerPeer.initializeImpl:()V
1: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.ScrollPane
invokevirtual java.awt.ScrollPane.getScrollbarDisplayPolicy:()I
istore 1
start local 1 2: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
3: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollPane
invokevirtual javax.swing.JScrollPane.getViewport:()Ljavax/swing/JViewport;
iconst_0
invokevirtual javax.swing.JViewport.setScrollMode:(I)V
4: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollPane
iload 1
invokestatic sun.lwawt.LWScrollPanePeer.convertVPolicy:(I)I
invokevirtual javax.swing.JScrollPane.setVerticalScrollBarPolicy:(I)V
5: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollPane
iload 1
invokestatic sun.lwawt.LWScrollPanePeer.convertHPolicy:(I)I
invokevirtual javax.swing.JScrollPane.setHorizontalScrollBarPolicy:(I)V
6: aload 2
monitorexit
7: goto 10
StackMap locals: sun.lwawt.LWScrollPanePeer int java.lang.Object
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/lwawt/LWScrollPanePeer;
2 11 1 policy I
Exception table:
from to target type
3 7 8 any
8 9 8 any
sun.lwawt.LWComponentPeer<?, ?> getViewPeer();
descriptor: ()Lsun/lwawt/LWComponentPeer;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getChildren:()Ljava/util/List;
astore 1
start local 1 1: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
aconst_null
goto 3
StackMap locals: java.util.List
StackMap stack:
2: aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.lwawt.LWComponentPeer
StackMap locals:
StackMap stack: sun.lwawt.LWComponentPeer
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/LWScrollPanePeer;
1 4 1 peerList Ljava/util/List<Lsun/lwawt/LWComponentPeer<**>;>;
Signature: ()Lsun/lwawt/LWComponentPeer<**>;
java.awt.Rectangle getContentSize();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollPane
invokevirtual javax.swing.JScrollPane.getViewport:()Ljavax/swing/JViewport;
invokevirtual javax.swing.JViewport.getViewRect:()Ljava/awt/Rectangle;
astore 1
start local 1 1: new java.awt.Rectangle
dup
aload 1
getfield java.awt.Rectangle.width:I
aload 1
getfield java.awt.Rectangle.height:I
invokespecial java.awt.Rectangle.<init>:(II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/LWScrollPanePeer;
1 2 1 viewRect Ljava/awt/Rectangle;
public void layout();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokespecial sun.lwawt.LWContainerPeer.layout:()V
1: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
2: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getViewPeer:()Lsun/lwawt/LWComponentPeer;
astore 2
start local 2 3: aload 2
ifnull 11
4: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollPane
invokevirtual javax.swing.JScrollPane.getViewport:()Ljavax/swing/JViewport;
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
astore 3
start local 3 5: aload 3
aload 2
invokevirtual sun.lwawt.LWComponentPeer.getBounds:()Ljava/awt/Rectangle;
invokevirtual java.awt.Component.setBounds:(Ljava/awt/Rectangle;)V
6: aload 3
aload 2
invokevirtual sun.lwawt.LWComponentPeer.getPreferredSize:()Ljava/awt/Dimension;
invokevirtual java.awt.Component.setPreferredSize:(Ljava/awt/Dimension;)V
7: aload 3
aload 2
invokevirtual sun.lwawt.LWComponentPeer.getMinimumSize:()Ljava/awt/Dimension;
invokevirtual java.awt.Component.setMinimumSize:(Ljava/awt/Dimension;)V
8: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollPane
invokevirtual javax.swing.JScrollPane.invalidate:()V
9: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollPane
invokevirtual javax.swing.JScrollPane.validate:()V
10: aload 2
aload 3
invokevirtual java.awt.Component.getBounds:()Ljava/awt/Rectangle;
invokevirtual sun.lwawt.LWComponentPeer.setBounds:(Ljava/awt/Rectangle;)V
end local 3 end local 2 11: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 1
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/lwawt/LWScrollPanePeer;
3 11 2 viewPeer Lsun/lwawt/LWComponentPeer<**>;
5 11 3 view Ljava/awt/Component;
Exception table:
from to target type
2 12 13 any
13 14 13 any
public void setScrollPosition(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWScrollPanePeer;
0 1 1 x I
0 1 2 y I
MethodParameters:
Name Flags
x
y
public int getHScrollbarHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollPane
invokevirtual javax.swing.JScrollPane.getHorizontalScrollBar:()Ljavax/swing/JScrollBar;
invokevirtual javax.swing.JScrollBar.getHeight:()I
aload 1
monitorexit
2: ireturn
3: StackMap locals: sun.lwawt.LWScrollPanePeer java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/LWScrollPanePeer;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public int getVScrollbarWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollPane
invokevirtual javax.swing.JScrollPane.getVerticalScrollBar:()Ljavax/swing/JScrollBar;
invokevirtual javax.swing.JScrollBar.getWidth:()I
aload 1
monitorexit
2: ireturn
3: StackMap locals: sun.lwawt.LWScrollPanePeer java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/LWScrollPanePeer;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public void childResized(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollPane
invokevirtual javax.swing.JScrollPane.invalidate:()V
2: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JScrollPane
invokevirtual javax.swing.JScrollPane.validate:()V
3: aload 3
monitorexit
4: goto 7
StackMap locals: sun.lwawt.LWScrollPanePeer int int java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 3
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/lwawt/LWScrollPanePeer;
0 8 1 w I
0 8 2 h I
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
w
h
public void setUnitIncrement(java.awt.Adjustable, int);
descriptor: (Ljava/awt/Adjustable;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWScrollPanePeer;
0 1 1 adj Ljava/awt/Adjustable;
0 1 2 u I
MethodParameters:
Name Flags
adj
u
public void setValue(java.awt.Adjustable, int);
descriptor: (Ljava/awt/Adjustable;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWScrollPanePeer;
0 1 1 adj Ljava/awt/Adjustable;
0 1 2 v I
MethodParameters:
Name Flags
adj
v
private static int convertHPolicy(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 1 - 2
1: 2
2: 1
default: 3
}
1: StackMap locals:
StackMap stack:
bipush 31
ireturn
2: StackMap locals:
StackMap stack:
bipush 32
ireturn
3: StackMap locals:
StackMap stack:
bipush 30
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 policy I
MethodParameters:
Name Flags
policy final
private static int convertVPolicy(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 1 - 2
1: 2
2: 1
default: 3
}
1: StackMap locals:
StackMap stack:
bipush 21
ireturn
2: StackMap locals:
StackMap stack:
bipush 22
ireturn
3: StackMap locals:
StackMap stack:
bipush 20
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 policy I
MethodParameters:
Name Flags
policy final
javax.swing.JComponent createDelegate();
descriptor: ()Ljavax/swing/JComponent;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.lwawt.LWScrollPanePeer.createDelegate:()Ljavax/swing/JScrollPane;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lsun/lwawt/LWContainerPeer<Ljava/awt/ScrollPane;Ljavax/swing/JScrollPane;>;Ljava/awt/peer/ScrollPanePeer;Ljavax/swing/event/ChangeListener;
SourceFile: "LWScrollPanePeer.java"
NestMembers:
sun.lwawt.LWScrollPanePeer$1
InnerClasses:
sun.lwawt.LWScrollPanePeer$1