class javax.swing.plaf.basic.BasicScrollPaneUI$Handler implements javax.swing.event.ChangeListener, java.beans.PropertyChangeListener, java.awt.event.MouseWheelListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicScrollPaneUI$Handler
super_class: java.lang.Object
{
final javax.swing.plaf.basic.BasicScrollPaneUI this$0;
descriptor: Ljavax/swing/plaf/basic/BasicScrollPaneUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljavax/swing/plaf/basic/BasicScrollPaneUI;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic javax.swing.plaf.basic.BasicScrollPaneUI$Handler.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(javax.swing.plaf.basic.BasicScrollPaneUI);
descriptor: (Ljavax/swing/plaf/basic/BasicScrollPaneUI;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicScrollPaneUI$Handler;
MethodParameters:
Name Flags
this$0 final
public void mouseWheelMoved(java.awt.event.MouseWheelEvent);
descriptor: (Ljava/awt/event/MouseWheelEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=18, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.isWheelScrollingEnabled:()Z
ifeq 107
1: aload 1
invokevirtual java.awt.event.MouseWheelEvent.getWheelRotation:()I
ifeq 107
2: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getVerticalScrollBar:()Ljavax/swing/JScrollBar;
astore 2
start local 2 3: aload 1
invokevirtual java.awt.event.MouseWheelEvent.getWheelRotation:()I
ifge 4
iconst_m1
goto 5
StackMap locals: javax.swing.JScrollBar
StackMap stack:
4: iconst_1
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: iconst_1
istore 4
start local 4 7: aload 2
ifnull 9
aload 2
invokevirtual javax.swing.JScrollBar.isVisible:()Z
ifeq 9
8: aload 1
invokevirtual java.awt.event.MouseWheelEvent.isShiftDown:()Z
ifeq 13
9: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getHorizontalScrollBar:()Ljavax/swing/JScrollBar;
astore 2
10: aload 2
ifnull 11
aload 2
invokevirtual javax.swing.JScrollBar.isVisible:()Z
ifne 12
11: StackMap locals:
StackMap stack:
return
12: StackMap locals:
StackMap stack:
iconst_0
istore 4
13: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.MouseWheelEvent.consume:()V
14: aload 1
invokevirtual java.awt.event.MouseWheelEvent.getScrollType:()I
ifne 103
15: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getViewport:()Ljavax/swing/JViewport;
astore 5
start local 5 16: aload 5
ifnonnull 17
return
17: StackMap locals: javax.swing.JViewport
StackMap stack:
aload 5
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
astore 6
start local 6 18: aload 1
invokevirtual java.awt.event.MouseWheelEvent.getUnitsToScroll:()I
invokestatic java.lang.Math.abs:(I)I
istore 7
start local 7 19: aload 1
invokevirtual java.awt.event.MouseWheelEvent.getWheelRotation:()I
invokestatic java.lang.Math.abs:(I)I
iconst_1
if_icmpne 20
iconst_1
goto 21
StackMap locals: java.awt.Component int
StackMap stack:
20: iconst_0
StackMap locals:
StackMap stack: int
21: istore 8
start local 8 22: aload 2
23: ldc "JScrollBar.fastWheelScrolling"
24: invokevirtual javax.swing.JScrollBar.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 9
start local 9 25: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 9
if_acmpne 99
26: aload 6
instanceof javax.swing.Scrollable
ifeq 99
27: aload 6
checkcast javax.swing.Scrollable
astore 10
start local 10 28: aload 5
invokevirtual javax.swing.JViewport.getViewRect:()Ljava/awt/Rectangle;
astore 11
start local 11 29: aload 11
getfield java.awt.Rectangle.x:I
istore 12
start local 12 30: aload 6
invokevirtual java.awt.Component.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
31: istore 13
start local 13 32: aload 2
invokevirtual javax.swing.JScrollBar.getMinimum:()I
istore 14
start local 14 33: aload 2
invokevirtual javax.swing.JScrollBar.getMaximum:()I
34: aload 2
invokevirtual javax.swing.JScrollBar.getModel:()Ljavax/swing/BoundedRangeModel;
invokeinterface javax.swing.BoundedRangeModel.getExtent:()I
35: isub
istore 15
start local 15 36: iload 8
ifeq 50
37: aload 10
aload 11
38: iload 4
39: iload 3
40: invokeinterface javax.swing.Scrollable.getScrollableBlockIncrement:(Ljava/awt/Rectangle;II)I
41: istore 16
start local 16 42: iload 3
ifge 47
43: iload 14
44: aload 2
invokevirtual javax.swing.JScrollBar.getValue:()I
iload 16
isub
45: invokestatic java.lang.Math.max:(II)I
istore 14
46: goto 50
47: StackMap locals: javax.swing.plaf.basic.BasicScrollPaneUI$Handler java.awt.event.MouseWheelEvent javax.swing.JScrollBar int int javax.swing.JViewport java.awt.Component int int java.lang.Object javax.swing.Scrollable java.awt.Rectangle int int int int int
StackMap stack:
iload 15
48: aload 2
invokevirtual javax.swing.JScrollBar.getValue:()I
iload 16
iadd
49: invokestatic java.lang.Math.min:(II)I
istore 15
end local 16 50: StackMap locals:
StackMap stack:
iconst_0
istore 16
start local 16 51: goto 82
52: StackMap locals: int
StackMap stack:
aload 10
aload 11
53: iload 4
iload 3
54: invokeinterface javax.swing.Scrollable.getScrollableUnitIncrement:(Ljava/awt/Rectangle;II)I
55: istore 17
start local 17 56: iload 4
iconst_1
if_icmpne 66
57: iload 3
ifge 62
58: aload 11
dup
getfield java.awt.Rectangle.y:I
iload 17
isub
putfield java.awt.Rectangle.y:I
59: aload 11
getfield java.awt.Rectangle.y:I
iload 14
if_icmpgt 81
60: aload 11
iload 14
putfield java.awt.Rectangle.y:I
61: goto 83
62: StackMap locals: int
StackMap stack:
aload 11
dup
getfield java.awt.Rectangle.y:I
iload 17
iadd
putfield java.awt.Rectangle.y:I
63: aload 11
getfield java.awt.Rectangle.y:I
iload 15
if_icmplt 81
64: aload 11
iload 15
putfield java.awt.Rectangle.y:I
65: goto 83
66: StackMap locals:
StackMap stack:
iload 13
ifeq 67
iload 3
iflt 68
67: StackMap locals:
StackMap stack:
iload 13
ifne 73
iload 3
ifle 73
68: StackMap locals:
StackMap stack:
aload 11
dup
getfield java.awt.Rectangle.x:I
iload 17
isub
putfield java.awt.Rectangle.x:I
69: iload 13
ifeq 81
70: aload 11
getfield java.awt.Rectangle.x:I
iload 14
if_icmpge 81
71: aload 11
iload 14
putfield java.awt.Rectangle.x:I
72: goto 83
73: StackMap locals:
StackMap stack:
iload 13
ifeq 74
iload 3
ifgt 75
74: StackMap locals:
StackMap stack:
iload 13
ifne 80
iload 3
ifge 80
75: StackMap locals:
StackMap stack:
aload 11
dup
getfield java.awt.Rectangle.x:I
iload 17
iadd
putfield java.awt.Rectangle.x:I
76: iload 13
ifeq 81
77: aload 11
getfield java.awt.Rectangle.x:I
iload 15
if_icmple 81
78: aload 11
iload 15
putfield java.awt.Rectangle.x:I
79: goto 83
80: StackMap locals:
StackMap stack:
getstatic javax.swing.plaf.basic.BasicScrollPaneUI$Handler.$assertionsDisabled:Z
ifne 81
new java.lang.AssertionError
dup
ldc "Non-sensical ComponentOrientation / scroll direction"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 17 81: StackMap locals:
StackMap stack:
iinc 16 1
StackMap locals:
StackMap stack:
82: iload 16
iload 7
if_icmplt 52
end local 16 83: StackMap locals:
StackMap stack:
iload 4
iconst_1
if_icmpne 86
84: aload 2
aload 11
getfield java.awt.Rectangle.y:I
invokevirtual javax.swing.JScrollBar.setValue:(I)V
85: goto 107
86: StackMap locals:
StackMap stack:
iload 13
ifeq 89
87: aload 2
aload 11
getfield java.awt.Rectangle.x:I
invokevirtual javax.swing.JScrollBar.setValue:(I)V
88: goto 107
89: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.JScrollBar.getValue:()I
90: aload 11
getfield java.awt.Rectangle.x:I
iload 12
isub
91: isub
istore 16
start local 16 92: iload 16
iload 14
if_icmpge 95
93: iload 14
istore 16
94: goto 97
95: StackMap locals: int
StackMap stack:
iload 16
iload 15
if_icmple 97
96: iload 15
istore 16
97: StackMap locals:
StackMap stack:
aload 2
iload 16
invokevirtual javax.swing.JScrollBar.setValue:(I)V
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 98: goto 107
99: StackMap locals: javax.swing.plaf.basic.BasicScrollPaneUI$Handler java.awt.event.MouseWheelEvent javax.swing.JScrollBar int int javax.swing.JViewport java.awt.Component int int java.lang.Object
StackMap stack:
aload 2
iload 3
100: iload 7
iload 8
101: invokestatic javax.swing.plaf.basic.BasicScrollBarUI.scrollByUnits:(Ljavax/swing/JScrollBar;IIZ)V
end local 9 end local 8 end local 7 end local 6 end local 5 102: goto 107
103: StackMap locals: javax.swing.plaf.basic.BasicScrollPaneUI$Handler java.awt.event.MouseWheelEvent javax.swing.JScrollBar int int
StackMap stack:
aload 1
invokevirtual java.awt.event.MouseWheelEvent.getScrollType:()I
104: iconst_1
105: if_icmpne 107
106: aload 2
iload 3
invokestatic javax.swing.plaf.basic.BasicScrollBarUI.scrollByBlock:(Ljavax/swing/JScrollBar;I)V
end local 4 end local 3 end local 2 107: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 108 0 this Ljavax/swing/plaf/basic/BasicScrollPaneUI$Handler;
0 108 1 e Ljava/awt/event/MouseWheelEvent;
3 107 2 toScroll Ljavax/swing/JScrollBar;
6 107 3 direction I
7 107 4 orientation I
16 102 5 vp Ljavax/swing/JViewport;
18 102 6 comp Ljava/awt/Component;
19 102 7 units I
22 102 8 limitScroll Z
25 102 9 fastWheelScroll Ljava/lang/Object;
28 98 10 scrollComp Ljavax/swing/Scrollable;
29 98 11 viewRect Ljava/awt/Rectangle;
30 98 12 startingX I
32 98 13 leftToRight Z
33 98 14 scrollMin I
36 98 15 scrollMax I
42 50 16 blockIncr I
51 83 16 i I
56 81 17 unitIncr I
92 98 16 newPos I
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=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getViewport:()Ljavax/swing/JViewport;
astore 2
start local 2 1: aload 2
ifnull 12
2: aload 1
invokevirtual javax.swing.event.ChangeEvent.getSource:()Ljava/lang/Object;
aload 2
if_acmpne 5
3: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
invokevirtual javax.swing.plaf.basic.BasicScrollPaneUI.syncScrollPaneWithViewport:()V
4: goto 12
5: StackMap locals: javax.swing.JViewport
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getHorizontalScrollBar:()Ljavax/swing/JScrollBar;
astore 3
start local 3 6: aload 3
ifnull 9
aload 1
invokevirtual javax.swing.event.ChangeEvent.getSource:()Ljava/lang/Object;
aload 3
invokevirtual javax.swing.JScrollBar.getModel:()Ljavax/swing/BoundedRangeModel;
if_acmpne 9
7: aload 0
aload 2
aload 1
invokevirtual javax.swing.plaf.basic.BasicScrollPaneUI$Handler.hsbStateChanged:(Ljavax/swing/JViewport;Ljavax/swing/event/ChangeEvent;)V
8: goto 12
9: StackMap locals: javax.swing.JScrollBar
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getVerticalScrollBar:()Ljavax/swing/JScrollBar;
astore 4
start local 4 10: aload 4
ifnull 12
aload 1
invokevirtual javax.swing.event.ChangeEvent.getSource:()Ljava/lang/Object;
aload 4
invokevirtual javax.swing.JScrollBar.getModel:()Ljavax/swing/BoundedRangeModel;
if_acmpne 12
11: aload 0
aload 2
aload 1
invokevirtual javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged:(Ljavax/swing/JViewport;Ljavax/swing/event/ChangeEvent;)V
end local 4 end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/plaf/basic/BasicScrollPaneUI$Handler;
0 13 1 e Ljavax/swing/event/ChangeEvent;
1 13 2 viewport Ljavax/swing/JViewport;
6 12 3 hsb Ljavax/swing/JScrollBar;
10 12 4 vsb Ljavax/swing/JScrollBar;
MethodParameters:
Name Flags
e
private void vsbStateChanged(javax.swing.JViewport, javax.swing.event.ChangeEvent);
descriptor: (Ljavax/swing/JViewport;Ljavax/swing/event/ChangeEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual javax.swing.event.ChangeEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.BoundedRangeModel
astore 3
start local 3 1: aload 1
invokevirtual javax.swing.JViewport.getViewPosition:()Ljava/awt/Point;
astore 4
start local 4 2: aload 4
aload 3
invokeinterface javax.swing.BoundedRangeModel.getValue:()I
putfield java.awt.Point.y:I
3: aload 1
aload 4
invokevirtual javax.swing.JViewport.setViewPosition:(Ljava/awt/Point;)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 Ljavax/swing/plaf/basic/BasicScrollPaneUI$Handler;
0 5 1 viewport Ljavax/swing/JViewport;
0 5 2 e Ljavax/swing/event/ChangeEvent;
1 5 3 model Ljavax/swing/BoundedRangeModel;
2 5 4 p Ljava/awt/Point;
MethodParameters:
Name Flags
viewport
e
private void hsbStateChanged(javax.swing.JViewport, javax.swing.event.ChangeEvent);
descriptor: (Ljavax/swing/JViewport;Ljavax/swing/event/ChangeEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual javax.swing.event.ChangeEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.BoundedRangeModel
astore 3
start local 3 1: aload 1
invokevirtual javax.swing.JViewport.getViewPosition:()Ljava/awt/Point;
astore 4
start local 4 2: aload 3
invokeinterface javax.swing.BoundedRangeModel.getValue:()I
istore 5
start local 5 3: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 6
4: aload 4
iload 5
putfield java.awt.Point.x:I
5: goto 15
6: StackMap locals: javax.swing.BoundedRangeModel java.awt.Point int
StackMap stack:
aload 1
invokevirtual javax.swing.JViewport.getViewSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
istore 6
start local 6 7: aload 1
invokevirtual javax.swing.JViewport.getExtentSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
istore 7
start local 7 8: aload 4
getfield java.awt.Point.x:I
istore 8
start local 8 9: aload 4
iload 6
iload 7
isub
iload 5
isub
putfield java.awt.Point.x:I
10: iload 7
ifne 13
iload 5
ifeq 13
iload 8
iload 6
if_icmpne 13
11: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
iconst_1
putfield javax.swing.plaf.basic.BasicScrollPaneUI.setValueCalled:Z
12: goto 15
13: StackMap locals: int int int
StackMap stack:
iload 7
ifeq 15
iload 8
ifge 15
aload 4
getfield java.awt.Point.x:I
ifne 15
14: aload 4
dup
getfield java.awt.Point.x:I
iload 5
iadd
putfield java.awt.Point.x:I
end local 8 end local 7 end local 6 15: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual javax.swing.JViewport.setViewPosition:(Ljava/awt/Point;)V
16: 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 17 0 this Ljavax/swing/plaf/basic/BasicScrollPaneUI$Handler;
0 17 1 viewport Ljavax/swing/JViewport;
0 17 2 e Ljavax/swing/event/ChangeEvent;
1 17 3 model Ljavax/swing/BoundedRangeModel;
2 17 4 p Ljava/awt/Point;
3 17 5 value I
7 15 6 max I
8 15 7 extent I
9 15 8 oldX I
MethodParameters:
Name Flags
viewport
e
public void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.beans.PropertyChangeEvent.getSource:()Ljava/lang/Object;
aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
if_acmpne 3
1: aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicScrollPaneUI$Handler.scrollPanePropertyChange:(Ljava/beans/PropertyChangeEvent;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicScrollPaneUI$Handler.sbPropertyChange:(Ljava/beans/PropertyChangeEvent;)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/plaf/basic/BasicScrollPaneUI$Handler;
0 5 1 e Ljava/beans/PropertyChangeEvent;
MethodParameters:
Name Flags
e
private void scrollPanePropertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "verticalScrollBarDisplayPolicy"
if_acmpne 4
2: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
aload 1
invokevirtual javax.swing.plaf.basic.BasicScrollPaneUI.updateScrollBarDisplayPolicy:(Ljava/beans/PropertyChangeEvent;)V
3: goto 25
4: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "horizontalScrollBarDisplayPolicy"
if_acmpne 7
5: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
aload 1
invokevirtual javax.swing.plaf.basic.BasicScrollPaneUI.updateScrollBarDisplayPolicy:(Ljava/beans/PropertyChangeEvent;)V
6: goto 25
7: StackMap locals:
StackMap stack:
aload 2
ldc "viewport"
if_acmpne 10
8: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
aload 1
invokevirtual javax.swing.plaf.basic.BasicScrollPaneUI.updateViewport:(Ljava/beans/PropertyChangeEvent;)V
9: goto 25
10: StackMap locals:
StackMap stack:
aload 2
ldc "rowHeader"
if_acmpne 13
11: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
aload 1
invokevirtual javax.swing.plaf.basic.BasicScrollPaneUI.updateRowHeader:(Ljava/beans/PropertyChangeEvent;)V
12: goto 25
13: StackMap locals:
StackMap stack:
aload 2
ldc "columnHeader"
if_acmpne 16
14: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
aload 1
invokevirtual javax.swing.plaf.basic.BasicScrollPaneUI.updateColumnHeader:(Ljava/beans/PropertyChangeEvent;)V
15: goto 25
16: StackMap locals:
StackMap stack:
aload 2
ldc "verticalScrollBar"
if_acmpne 19
17: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
aload 1
invokevirtual javax.swing.plaf.basic.BasicScrollPaneUI.updateVerticalScrollBar:(Ljava/beans/PropertyChangeEvent;)V
18: goto 25
19: StackMap locals:
StackMap stack:
aload 2
ldc "horizontalScrollBar"
if_acmpne 22
20: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
aload 1
invokevirtual javax.swing.plaf.basic.BasicScrollPaneUI.updateHorizontalScrollBar:(Ljava/beans/PropertyChangeEvent;)V
21: goto 25
22: StackMap locals:
StackMap stack:
aload 2
ldc "componentOrientation"
if_acmpne 25
23: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.revalidate:()V
24: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.repaint:()V
25: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Ljavax/swing/plaf/basic/BasicScrollPaneUI$Handler;
0 26 1 e Ljava/beans/PropertyChangeEvent;
1 26 2 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
e
private void sbPropertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual java.beans.PropertyChangeEvent.getSource:()Ljava/lang/Object;
astore 3
start local 3 2: ldc "model"
aload 2
if_acmpne 20
3: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getVerticalScrollBar:()Ljavax/swing/JScrollBar;
astore 4
start local 4 4: aload 1
5: invokevirtual java.beans.PropertyChangeEvent.getOldValue:()Ljava/lang/Object;
6: checkcast javax.swing.BoundedRangeModel
astore 5
start local 5 7: aconst_null
astore 6
start local 6 8: aload 3
aload 4
if_acmpne 11
9: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.vsbChangeListener:Ljavax/swing/event/ChangeListener;
astore 6
10: goto 14
11: StackMap locals: javax.swing.plaf.basic.BasicScrollPaneUI$Handler java.beans.PropertyChangeEvent java.lang.String java.lang.Object javax.swing.JScrollBar javax.swing.BoundedRangeModel javax.swing.event.ChangeListener
StackMap stack:
aload 3
aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getHorizontalScrollBar:()Ljavax/swing/JScrollBar;
if_acmpne 14
12: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getHorizontalScrollBar:()Ljavax/swing/JScrollBar;
astore 4
13: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.hsbChangeListener:Ljavax/swing/event/ChangeListener;
astore 6
14: StackMap locals:
StackMap stack:
aload 6
ifnull 30
15: aload 5
ifnull 17
16: aload 5
aload 6
invokeinterface javax.swing.BoundedRangeModel.removeChangeListener:(Ljavax/swing/event/ChangeListener;)V
17: StackMap locals:
StackMap stack:
aload 4
invokevirtual javax.swing.JScrollBar.getModel:()Ljavax/swing/BoundedRangeModel;
ifnull 30
18: aload 4
invokevirtual javax.swing.JScrollBar.getModel:()Ljavax/swing/BoundedRangeModel;
aload 6
invokeinterface javax.swing.BoundedRangeModel.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
end local 6 end local 5 end local 4 19: goto 30
20: StackMap locals:
StackMap stack:
ldc "componentOrientation"
aload 2
if_acmpne 30
21: aload 3
aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getHorizontalScrollBar:()Ljavax/swing/JScrollBar;
if_acmpne 30
22: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getHorizontalScrollBar:()Ljavax/swing/JScrollBar;
astore 4
start local 4 23: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getViewport:()Ljavax/swing/JViewport;
astore 5
start local 5 24: aload 5
invokevirtual javax.swing.JViewport.getViewPosition:()Ljava/awt/Point;
astore 6
start local 6 25: aload 0
getfield javax.swing.plaf.basic.BasicScrollPaneUI$Handler.this$0:Ljavax/swing/plaf/basic/BasicScrollPaneUI;
getfield javax.swing.plaf.basic.BasicScrollPaneUI.scrollpane:Ljavax/swing/JScrollPane;
invokevirtual javax.swing.JScrollPane.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 28
26: aload 6
aload 4
invokevirtual javax.swing.JScrollBar.getValue:()I
putfield java.awt.Point.x:I
27: goto 29
28: StackMap locals: javax.swing.JScrollBar javax.swing.JViewport java.awt.Point
StackMap stack:
aload 6
aload 5
invokevirtual javax.swing.JViewport.getViewSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
aload 5
invokevirtual javax.swing.JViewport.getExtentSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
isub
aload 4
invokevirtual javax.swing.JScrollBar.getValue:()I
isub
putfield java.awt.Point.x:I
29: StackMap locals:
StackMap stack:
aload 5
aload 6
invokevirtual javax.swing.JViewport.setViewPosition:(Ljava/awt/Point;)V
end local 6 end local 5 end local 4 30: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Ljavax/swing/plaf/basic/BasicScrollPaneUI$Handler;
0 31 1 e Ljava/beans/PropertyChangeEvent;
1 31 2 propertyName Ljava/lang/String;
2 31 3 source Ljava/lang/Object;
4 19 4 sb Ljavax/swing/JScrollBar;
7 19 5 oldModel Ljavax/swing/BoundedRangeModel;
8 19 6 cl Ljavax/swing/event/ChangeListener;
23 30 4 hsb Ljavax/swing/JScrollBar;
24 30 5 viewport Ljavax/swing/JViewport;
25 30 6 p Ljava/awt/Point;
MethodParameters:
Name Flags
e
}
SourceFile: "BasicScrollPaneUI.java"
NestHost: javax.swing.plaf.basic.BasicScrollPaneUI
InnerClasses:
Handler = javax.swing.plaf.basic.BasicScrollPaneUI$Handler of javax.swing.plaf.basic.BasicScrollPaneUI