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 106
1: aload 1
invokevirtual java.awt.event.MouseWheelEvent.getWheelRotation:()I
ifeq 106
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 8
aload 2
invokevirtual javax.swing.JScrollBar.isVisible:()Z
ifne 12
8: 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
9: aload 2
ifnull 10
aload 2
invokevirtual javax.swing.JScrollBar.isVisible:()Z
ifne 11
10: StackMap locals:
StackMap stack:
return
11: StackMap locals:
StackMap stack:
iconst_0
istore 4
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.MouseWheelEvent.consume:()V
13: aload 1
invokevirtual java.awt.event.MouseWheelEvent.getScrollType:()I
ifne 102
14: 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 15: aload 5
ifnonnull 16
return
16: StackMap locals: javax.swing.JViewport
StackMap stack:
aload 5
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
astore 6
start local 6 17: aload 1
invokevirtual java.awt.event.MouseWheelEvent.getUnitsToScroll:()I
invokestatic java.lang.Math.abs:(I)I
istore 7
start local 7 18: aload 1
invokevirtual java.awt.event.MouseWheelEvent.getWheelRotation:()I
invokestatic java.lang.Math.abs:(I)I
iconst_1
if_icmpne 19
iconst_1
goto 20
StackMap locals: java.awt.Component int
StackMap stack:
19: iconst_0
StackMap locals:
StackMap stack: int
20: istore 8
start local 8 21: aload 2
22: ldc "JScrollBar.fastWheelScrolling"
23: invokevirtual javax.swing.JScrollBar.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 9
start local 9 24: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 9
if_acmpne 98
25: aload 6
instanceof javax.swing.Scrollable
ifeq 98
26: aload 6
checkcast javax.swing.Scrollable
astore 10
start local 10 27: aload 5
invokevirtual javax.swing.JViewport.getViewRect:()Ljava/awt/Rectangle;
astore 11
start local 11 28: aload 11
getfield java.awt.Rectangle.x:I
istore 12
start local 12 29: aload 6
invokevirtual java.awt.Component.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
30: istore 13
start local 13 31: aload 2
invokevirtual javax.swing.JScrollBar.getMinimum:()I
istore 14
start local 14 32: aload 2
invokevirtual javax.swing.JScrollBar.getMaximum:()I
33: aload 2
invokevirtual javax.swing.JScrollBar.getModel:()Ljavax/swing/BoundedRangeModel;
invokeinterface javax.swing.BoundedRangeModel.getExtent:()I
34: isub
istore 15
start local 15 35: iload 8
ifeq 49
36: aload 10
aload 11
37: iload 4
38: iload 3
39: invokeinterface javax.swing.Scrollable.getScrollableBlockIncrement:(Ljava/awt/Rectangle;II)I
40: istore 16
start local 16 41: iload 3
ifge 46
42: iload 14
43: aload 2
invokevirtual javax.swing.JScrollBar.getValue:()I
iload 16
isub
44: invokestatic java.lang.Math.max:(II)I
istore 14
45: goto 49
46: 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
47: aload 2
invokevirtual javax.swing.JScrollBar.getValue:()I
iload 16
iadd
48: invokestatic java.lang.Math.min:(II)I
istore 15
end local 16 49: StackMap locals:
StackMap stack:
iconst_0
istore 16
start local 16 50: goto 81
51: StackMap locals: int
StackMap stack:
aload 10
aload 11
52: iload 4
iload 3
53: invokeinterface javax.swing.Scrollable.getScrollableUnitIncrement:(Ljava/awt/Rectangle;II)I
54: istore 17
start local 17 55: iload 4
iconst_1
if_icmpne 65
56: iload 3
ifge 61
57: aload 11
dup
getfield java.awt.Rectangle.y:I
iload 17
isub
putfield java.awt.Rectangle.y:I
58: aload 11
getfield java.awt.Rectangle.y:I
iload 14
if_icmpgt 80
59: aload 11
iload 14
putfield java.awt.Rectangle.y:I
60: goto 82
61: StackMap locals: int
StackMap stack:
aload 11
dup
getfield java.awt.Rectangle.y:I
iload 17
iadd
putfield java.awt.Rectangle.y:I
62: aload 11
getfield java.awt.Rectangle.y:I
iload 15
if_icmplt 80
63: aload 11
iload 15
putfield java.awt.Rectangle.y:I
64: goto 82
65: StackMap locals:
StackMap stack:
iload 13
ifeq 66
iload 3
iflt 67
66: StackMap locals:
StackMap stack:
iload 13
ifne 72
iload 3
ifle 72
67: StackMap locals:
StackMap stack:
aload 11
dup
getfield java.awt.Rectangle.x:I
iload 17
isub
putfield java.awt.Rectangle.x:I
68: iload 13
ifeq 80
69: aload 11
getfield java.awt.Rectangle.x:I
iload 14
if_icmpge 80
70: aload 11
iload 14
putfield java.awt.Rectangle.x:I
71: goto 82
72: StackMap locals:
StackMap stack:
iload 13
ifeq 73
iload 3
ifgt 74
73: StackMap locals:
StackMap stack:
iload 13
ifne 79
iload 3
ifge 79
74: StackMap locals:
StackMap stack:
aload 11
dup
getfield java.awt.Rectangle.x:I
iload 17
iadd
putfield java.awt.Rectangle.x:I
75: iload 13
ifeq 80
76: aload 11
getfield java.awt.Rectangle.x:I
iload 15
if_icmple 80
77: aload 11
iload 15
putfield java.awt.Rectangle.x:I
78: goto 82
79: StackMap locals:
StackMap stack:
getstatic javax.swing.plaf.basic.BasicScrollPaneUI$Handler.$assertionsDisabled:Z
ifne 80
new java.lang.AssertionError
dup
ldc "Non-sensical ComponentOrientation / scroll direction"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 17 80: StackMap locals:
StackMap stack:
iinc 16 1
StackMap locals:
StackMap stack:
81: iload 16
iload 7
if_icmplt 51
end local 16 82: StackMap locals:
StackMap stack:
iload 4
iconst_1
if_icmpne 85
83: aload 2
aload 11
getfield java.awt.Rectangle.y:I
invokevirtual javax.swing.JScrollBar.setValue:(I)V
84: goto 106
85: StackMap locals:
StackMap stack:
iload 13
ifeq 88
86: aload 2
aload 11
getfield java.awt.Rectangle.x:I
invokevirtual javax.swing.JScrollBar.setValue:(I)V
87: goto 106
88: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.JScrollBar.getValue:()I
89: aload 11
getfield java.awt.Rectangle.x:I
iload 12
isub
90: isub
istore 16
start local 16 91: iload 16
iload 14
if_icmpge 94
92: iload 14
istore 16
93: goto 96
94: StackMap locals: int
StackMap stack:
iload 16
iload 15
if_icmple 96
95: iload 15
istore 16
96: 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 97: goto 106
98: 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
99: iload 7
iload 8
100: 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 101: goto 106
102: 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
103: iconst_1
104: if_icmpne 106
105: 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 106: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 107 0 this Ljavax/swing/plaf/basic/BasicScrollPaneUI$Handler;
0 107 1 e Ljava/awt/event/MouseWheelEvent;
3 106 2 toScroll Ljavax/swing/JScrollBar;
6 106 3 direction I
7 106 4 orientation I
15 101 5 vp Ljavax/swing/JViewport;
17 101 6 comp Ljava/awt/Component;
18 101 7 units I
21 101 8 limitScroll Z
24 101 9 fastWheelScroll Ljava/lang/Object;
27 97 10 scrollComp Ljavax/swing/Scrollable;
28 97 11 viewRect Ljava/awt/Rectangle;
29 97 12 startingX I
31 97 13 leftToRight Z
32 97 14 scrollMin I
35 97 15 scrollMax I
41 49 16 blockIncr I
50 82 16 i I
55 80 17 unitIncr I
91 97 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