final class sun.awt.windows.WScrollPanePeer extends sun.awt.windows.WPanelPeer implements java.awt.peer.ScrollPanePeer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.awt.windows.WScrollPanePeer
super_class: sun.awt.windows.WPanelPeer
{
private static final sun.util.logging.PlatformLogger log;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
int scrollbarWidth;
descriptor: I
flags: (0x0000)
int scrollbarHeight;
descriptor: I
flags: (0x0000)
int prevx;
descriptor: I
flags: (0x0000)
int prevy;
descriptor: I
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "sun.awt.windows.WScrollPanePeer"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.windows.WScrollPanePeer.log:Lsun/util/logging/PlatformLogger;
1: invokestatic sun.awt.windows.WScrollPanePeer.initIDs:()V
2: return
LocalVariableTable:
Start End Slot Name Signature
static native void initIDs();
descriptor: ()V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
native void create(sun.awt.windows.WComponentPeer);
descriptor: (Lsun/awt/windows/WComponentPeer;)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
parent
native int getOffset(int);
descriptor: (I)I
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
orient
void <init>(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.windows.WPanelPeer.<init>:(Ljava/awt/Component;)V
1: aload 0
aload 0
invokevirtual sun.awt.windows.WScrollPanePeer._getVScrollbarWidth:()I
putfield sun.awt.windows.WScrollPanePeer.scrollbarWidth:I
2: aload 0
aload 0
invokevirtual sun.awt.windows.WScrollPanePeer._getHScrollbarHeight:()I
putfield sun.awt.windows.WScrollPanePeer.scrollbarHeight:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/windows/WScrollPanePeer;
0 4 1 target Ljava/awt/Component;
MethodParameters:
Name Flags
target
void initialize();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.windows.WPanelPeer.initialize:()V
1: aload 0
invokevirtual sun.awt.windows.WScrollPanePeer.setInsets:()V
2: aload 0
invokevirtual sun.awt.windows.WScrollPanePeer.getInsets:()Ljava/awt/Insets;
astore 1
start local 1 3: aload 0
aload 1
getfield java.awt.Insets.left:I
ineg
aload 1
getfield java.awt.Insets.top:I
ineg
invokevirtual sun.awt.windows.WScrollPanePeer.setScrollPosition:(II)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/windows/WScrollPanePeer;
3 5 1 i Ljava/awt/Insets;
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/awt/windows/WScrollPanePeer;
0 1 1 adj Ljava/awt/Adjustable;
0 1 2 p I
MethodParameters:
Name Flags
adj
p
public java.awt.Insets insets();
descriptor: ()Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.windows.WScrollPanePeer.getInsets:()Ljava/awt/Insets;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WScrollPanePeer;
private native void setInsets();
descriptor: ()V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
public synchronized native void setScrollPosition(int, int);
descriptor: (II)V
flags: (0x0121) ACC_PUBLIC, ACC_SYNCHRONIZED, ACC_NATIVE
MethodParameters:
Name Flags
x
y
public int getHScrollbarHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WScrollPanePeer.scrollbarHeight:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WScrollPanePeer;
private native int _getHScrollbarHeight();
descriptor: ()I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
public int getVScrollbarWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WScrollPanePeer.scrollbarWidth:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WScrollPanePeer;
private native int _getVScrollbarWidth();
descriptor: ()I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
public java.awt.Point getScrollOffset();
descriptor: ()Ljava/awt/Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual sun.awt.windows.WScrollPanePeer.getOffset:(I)I
istore 1
start local 1 1: aload 0
iconst_1
invokevirtual sun.awt.windows.WScrollPanePeer.getOffset:(I)I
istore 2
start local 2 2: new java.awt.Point
dup
iload 1
iload 2
invokespecial java.awt.Point.<init>:(II)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WScrollPanePeer;
1 3 1 x I
2 3 2 y I
public void childResized(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.awt.windows.WScrollPanePeer.target:Ljava/lang/Object;
checkcast java.awt.ScrollPane
astore 3
start local 3 1: aload 3
invokevirtual java.awt.ScrollPane.getSize:()Ljava/awt/Dimension;
astore 4
start local 4 2: aload 0
aload 4
getfield java.awt.Dimension.width:I
aload 4
getfield java.awt.Dimension.height:I
iload 1
iload 2
invokevirtual sun.awt.windows.WScrollPanePeer.setSpans:(IIII)V
3: aload 0
invokevirtual sun.awt.windows.WScrollPanePeer.setInsets:()V
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/windows/WScrollPanePeer;
0 5 1 width I
0 5 2 height I
1 5 3 sp Ljava/awt/ScrollPane;
2 5 4 vs Ljava/awt/Dimension;
MethodParameters:
Name Flags
width
height
synchronized native void setSpans(int, int, int, int);
descriptor: (IIII)V
flags: (0x0120) ACC_SYNCHRONIZED, ACC_NATIVE
MethodParameters:
Name Flags
viewWidth
viewHeight
childWidth
childHeight
public void setValue(java.awt.Adjustable, int);
descriptor: (Ljava/awt/Adjustable;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.awt.windows.WScrollPanePeer.getScrollChild:()Ljava/awt/Component;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: return
3: StackMap locals: java.awt.Component
StackMap stack:
aload 3
invokevirtual java.awt.Component.getLocation:()Ljava/awt/Point;
astore 4
start local 4 4: aload 1
invokeinterface java.awt.Adjustable.getOrientation:()I
tableswitch { // 0 - 1
0: 7
1: 5
default: 8
}
5: StackMap locals: java.awt.Point
StackMap stack:
aload 0
aload 4
getfield java.awt.Point.x:I
ineg
iload 2
invokevirtual sun.awt.windows.WScrollPanePeer.setScrollPosition:(II)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
iload 2
aload 4
getfield java.awt.Point.y:I
ineg
invokevirtual sun.awt.windows.WScrollPanePeer.setScrollPosition:(II)V
8: StackMap locals:
StackMap stack:
return
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 Lsun/awt/windows/WScrollPanePeer;
0 9 1 adj Ljava/awt/Adjustable;
0 9 2 v I
1 9 3 c Ljava/awt/Component;
4 9 4 p Ljava/awt/Point;
MethodParameters:
Name Flags
adj
v
private java.awt.Component getScrollChild();
descriptor: ()Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WScrollPanePeer.target:Ljava/lang/Object;
checkcast java.awt.ScrollPane
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 1
iconst_0
invokevirtual java.awt.ScrollPane.getComponent:(I)Ljava/awt/Component;
astore 2
3: goto 5
StackMap locals: sun.awt.windows.WScrollPanePeer java.awt.ScrollPane java.awt.Component
StackMap stack: java.lang.ArrayIndexOutOfBoundsException
4: pop
5: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/windows/WScrollPanePeer;
1 6 1 sp Ljava/awt/ScrollPane;
2 6 2 child Ljava/awt/Component;
Exception table:
from to target type
2 3 4 Class java.lang.ArrayIndexOutOfBoundsException
private void postScrollEvent(int, int, int, boolean);
descriptor: (IIIZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new sun.awt.windows.WScrollPanePeer$Adjustor
dup
aload 0
iload 1
iload 2
iload 3
iload 4
invokespecial sun.awt.windows.WScrollPanePeer$Adjustor.<init>:(Lsun/awt/windows/WScrollPanePeer;IIIZ)V
astore 5
start local 5 1: new sun.awt.windows.WScrollPanePeer$ScrollEvent
dup
aload 0
aload 0
getfield sun.awt.windows.WScrollPanePeer.target:Ljava/lang/Object;
aload 5
invokespecial sun.awt.windows.WScrollPanePeer$ScrollEvent.<init>:(Lsun/awt/windows/WScrollPanePeer;Ljava/lang/Object;Ljava/lang/Runnable;)V
invokestatic sun.awt.windows.WToolkit.executeOnEventHandlerThread:(Lsun/awt/PeerEvent;)V
2: 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 3 0 this Lsun/awt/windows/WScrollPanePeer;
0 3 1 orient I
0 3 2 type I
0 3 3 pos I
0 3 4 isAdjusting Z
1 3 5 adjustor Ljava/lang/Runnable;
MethodParameters:
Name Flags
orient
type
pos
isAdjusting
}
SourceFile: "WScrollPanePeer.java"
NestMembers:
sun.awt.windows.WScrollPanePeer$Adjustor sun.awt.windows.WScrollPanePeer$ScrollEvent
InnerClasses:
Adjustor = sun.awt.windows.WScrollPanePeer$Adjustor of sun.awt.windows.WScrollPanePeer
ScrollEvent = sun.awt.windows.WScrollPanePeer$ScrollEvent of sun.awt.windows.WScrollPanePeer