final class sun.awt.X11.XChoicePeer$UnfurledChoice extends sun.awt.X11.XWindow
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.awt.X11.XChoicePeer$UnfurledChoice
super_class: sun.awt.X11.XWindow
{
final sun.awt.X11.XChoicePeer this$0;
descriptor: Lsun/awt/X11/XChoicePeer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(sun.awt.X11.XChoicePeer, java.awt.Component);
descriptor: (Lsun/awt/X11/XChoicePeer;Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
1: aload 0
aload 2
invokespecial sun.awt.X11.XWindow.<init>:(Ljava/awt/Component;)V
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
0 3 2 target Ljava/awt/Component;
MethodParameters:
Name Flags
this$0 final
target
public void preInit(sun.awt.X11.XCreateWindowParams);
descriptor: (Lsun/awt/X11/XCreateWindowParams;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "parent window"
invokevirtual sun.awt.X11.XCreateWindowParams.delete:(Ljava/lang/Object;)Lsun/awt/X11/XCreateWindowParams;
pop
1: aload 0
aload 1
invokespecial sun.awt.X11.XWindow.preInit:(Lsun/awt/X11/XCreateWindowParams;)V
2: aload 1
ldc "bounds"
invokevirtual sun.awt.X11.XCreateWindowParams.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 1
ldc "overrideRedirect"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;Ljava/lang/Object;)Lsun/awt/X11/XCreateWindowParams;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
0 5 1 params Lsun/awt/X11/XCreateWindowParams;
MethodParameters:
Name Flags
params
java.awt.Rectangle placeOnScreen();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0000)
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
invokevirtual sun.awt.X11.ListHelper.isEmpty:()Z
ifeq 3
1: iconst_1
istore 1
start local 1 2: goto 5
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
invokevirtual sun.awt.X11.ListHelper.getItemCount:()I
istore 2
start local 2 4: bipush 10
iload 2
invokestatic java.lang.Math.min:(II)I
istore 1
end local 2 start local 1 5: StackMap locals: int
StackMap stack:
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
iconst_0
iconst_0
invokevirtual sun.awt.X11.XChoicePeer.toGlobal:(II)Ljava/awt/Point;
astore 2
start local 2 6: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.graphicsConfig:Lsun/awt/X11GraphicsConfig;
invokevirtual sun.awt.X11GraphicsConfig.getBounds:()Ljava/awt/Rectangle;
astore 3
start local 3 7: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.alignUnder:Ljava/awt/Component;
ifnull 20
8: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
invokevirtual sun.awt.X11.XChoicePeer.getBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 9: aload 4
iconst_0
iconst_0
invokevirtual java.awt.Rectangle.setLocation:(II)V
10: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
aload 4
invokevirtual sun.awt.X11.XChoicePeer.toGlobal:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 4
11: new java.awt.Rectangle
dup
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.alignUnder:Ljava/awt/Component;
invokevirtual java.awt.Component.getLocationOnScreen:()Ljava/awt/Point;
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.alignUnder:Ljava/awt/Component;
invokevirtual java.awt.Component.getSize:()Ljava/awt/Dimension;
invokespecial java.awt.Rectangle.<init>:(Ljava/awt/Point;Ljava/awt/Dimension;)V
astore 5
start local 5 12: aload 4
aload 5
invokevirtual java.awt.Rectangle.union:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 6
start local 6 13: aload 0
aload 6
getfield java.awt.Rectangle.width:I
putfield sun.awt.X11.XChoicePeer$UnfurledChoice.width:I
14: aload 0
aload 6
getfield java.awt.Rectangle.x:I
putfield sun.awt.X11.XChoicePeer$UnfurledChoice.x:I
15: aload 0
aload 6
getfield java.awt.Rectangle.y:I
aload 6
getfield java.awt.Rectangle.height:I
iadd
putfield sun.awt.X11.XChoicePeer$UnfurledChoice.y:I
16: aload 0
iconst_2
17: iload 1
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
invokevirtual sun.awt.X11.ListHelper.getItemHeight:()I
iconst_2
iadd
imul
iadd
18: putfield sun.awt.X11.XChoicePeer$UnfurledChoice.height:I
end local 6 end local 5 end local 4 19: goto 30
20: StackMap locals: java.awt.Point java.awt.Rectangle
StackMap stack:
aload 0
aload 2
getfield java.awt.Point.x:I
putfield sun.awt.X11.XChoicePeer$UnfurledChoice.x:I
21: aload 0
aload 2
getfield java.awt.Point.y:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.height:I
iadd
putfield sun.awt.X11.XChoicePeer$UnfurledChoice.y:I
22: aload 0
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.width:I
23: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
invokevirtual sun.awt.X11.ListHelper.getMaxItemWidth:()I
bipush 6
iadd
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
invokevirtual sun.awt.X11.ListHelper.isVSBVisible:()Z
ifeq 24
bipush 15
goto 25
StackMap locals: sun.awt.X11.XChoicePeer$UnfurledChoice int java.awt.Point java.awt.Rectangle
StackMap stack: sun.awt.X11.XChoicePeer$UnfurledChoice int int
24: iconst_0
StackMap locals: sun.awt.X11.XChoicePeer$UnfurledChoice int java.awt.Point java.awt.Rectangle
StackMap stack: sun.awt.X11.XChoicePeer$UnfurledChoice int int int
25: iadd
26: invokestatic java.lang.Math.max:(II)I
putfield sun.awt.X11.XChoicePeer$UnfurledChoice.width:I
27: aload 0
iconst_2
28: iload 1
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
invokevirtual sun.awt.X11.ListHelper.getItemHeight:()I
iconst_2
iadd
imul
iadd
29: putfield sun.awt.X11.XChoicePeer$UnfurledChoice.height:I
30: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.x:I
aload 3
getfield java.awt.Rectangle.x:I
if_icmpge 33
31: aload 0
aload 3
getfield java.awt.Rectangle.x:I
putfield sun.awt.X11.XChoicePeer$UnfurledChoice.x:I
32: goto 35
33: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.x:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.width:I
iadd
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.width:I
iadd
if_icmple 35
34: aload 0
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.width:I
iadd
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.width:I
isub
putfield sun.awt.X11.XChoicePeer$UnfurledChoice.x:I
35: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.y:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.height:I
iadd
aload 3
getfield java.awt.Rectangle.y:I
aload 3
getfield java.awt.Rectangle.height:I
iadd
if_icmple 37
36: aload 0
aload 2
getfield java.awt.Point.y:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.height:I
isub
putfield sun.awt.X11.XChoicePeer$UnfurledChoice.y:I
37: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.y:I
aload 3
getfield java.awt.Rectangle.y:I
if_icmpge 39
38: aload 0
aload 3
getfield java.awt.Rectangle.y:I
putfield sun.awt.X11.XChoicePeer$UnfurledChoice.y:I
39: StackMap locals:
StackMap stack:
new java.awt.Rectangle
dup
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.x:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.y:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.width:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.height:I
invokespecial java.awt.Rectangle.<init>:(IIII)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
2 3 1 numItemsDisplayed I
5 40 1 numItemsDisplayed I
4 5 2 numItems I
6 40 2 global Ljava/awt/Point;
7 40 3 screenBounds Ljava/awt/Rectangle;
9 19 4 choiceRec Ljava/awt/Rectangle;
12 19 5 alignUnderRec Ljava/awt/Rectangle;
13 19 6 result Ljava/awt/Rectangle;
public void toFront();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.choiceListener:Lsun/awt/X11/XChoicePeerListener;
ifnull 2
1: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.choiceListener:Lsun/awt/X11/XChoicePeerListener;
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
invokeinterface sun.awt.X11.XChoicePeerListener.unfurledChoiceOpening:(Lsun/awt/X11/ListHelper;)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.placeOnScreen:()Ljava/awt/Rectangle;
astore 1
start local 1 3: aload 0
aload 1
getfield java.awt.Rectangle.x:I
aload 1
getfield java.awt.Rectangle.y:I
aload 1
getfield java.awt.Rectangle.width:I
aload 1
getfield java.awt.Rectangle.height:I
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.reshape:(IIII)V
4: aload 0
invokespecial sun.awt.X11.XWindow.toFront:()V
5: aload 0
iconst_1
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.setVisible:(Z)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
3 7 1 r Ljava/awt/Rectangle;
public void trackMouse(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.toLocalCoords:(Ljava/awt/event/MouseEvent;)Ljava/awt/Point;
astore 2
start local 2 1: aload 1
invokevirtual java.awt.event.MouseEvent.getID:()I
tableswitch { // 501 - 506
501: 2
502: 8
503: 19
504: 19
505: 19
506: 14
default: 19
}
2: StackMap locals: java.awt.Point
StackMap stack:
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
aload 0
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.getBounds:()Ljava/awt/Rectangle;
aload 2
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.y:I
invokevirtual sun.awt.X11.ListHelper.isInVertSB:(Ljava/awt/Rectangle;II)Z
ifeq 6
3: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
iconst_1
putfield sun.awt.X11.XChoicePeer.mouseInSB:Z
4: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
aload 1
aload 0
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.getBounds:()Ljava/awt/Rectangle;
aload 2
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.y:I
invokevirtual sun.awt.X11.ListHelper.handleVSBEvent:(Ljava/awt/event/MouseEvent;Ljava/awt/Rectangle;II)V
5: goto 19
6: StackMap locals:
StackMap stack:
aload 0
aload 2
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.y:I
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.trackSelection:(II)V
7: goto 19
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.mouseInSB:Z
ifeq 12
9: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
iconst_0
putfield sun.awt.X11.XChoicePeer.mouseInSB:Z
10: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
aload 1
aload 0
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.getBounds:()Ljava/awt/Rectangle;
aload 2
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.y:I
invokevirtual sun.awt.X11.ListHelper.handleVSBEvent:(Ljava/awt/event/MouseEvent;Ljava/awt/Rectangle;II)V
11: goto 19
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
invokevirtual sun.awt.X11.ListHelper.trackMouseReleasedScroll:()V
13: goto 19
14: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.mouseInSB:Z
ifeq 17
15: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
aload 1
aload 0
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.getBounds:()Ljava/awt/Rectangle;
aload 2
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.y:I
invokevirtual sun.awt.X11.ListHelper.handleVSBEvent:(Ljava/awt/event/MouseEvent;Ljava/awt/Rectangle;II)V
16: goto 19
17: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
aload 2
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.y:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.width:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.height:I
invokevirtual sun.awt.X11.ListHelper.trackMouseDraggedScroll:(IIII)V
18: aload 0
aload 2
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.y:I
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.trackSelection:(II)V
19: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
0 20 1 e Ljava/awt/event/MouseEvent;
1 20 2 local Ljava/awt/Point;
MethodParameters:
Name Flags
e
private void trackSelection(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
invokevirtual sun.awt.X11.ListHelper.isEmpty:()Z
ifne 13
1: iload 1
ifle 13
iload 1
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.width:I
if_icmpge 13
2: iload 2
ifle 13
iload 2
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.height:I
if_icmpge 13
3: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
iload 2
invokevirtual sun.awt.X11.ListHelper.y2index:(I)I
istore 3
start local 3 4: getstatic sun.awt.X11.XChoicePeer.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 9
5: getstatic sun.awt.X11.XChoicePeer.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "transX="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", transY="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
6: ldc ",width="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.width:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", height="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.height:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
7: ldc ", newIdx="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " on "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.target:Ljava/awt/Component;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
9: StackMap locals: int
StackMap stack:
iload 3
iflt 13
iload 3
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
invokevirtual sun.awt.X11.ListHelper.getItemCount:()I
if_icmpge 13
10: iload 3
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
invokevirtual sun.awt.X11.ListHelper.getSelectedIndex:()I
if_icmpeq 13
11: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
iload 3
invokevirtual sun.awt.X11.ListHelper.select:(I)V
12: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.unfurledChoice:Lsun/awt/X11/XChoicePeer$UnfurledChoice;
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.repaint:()V
end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
0 14 1 transX I
0 14 2 transY I
4 13 3 newIdx I
MethodParameters:
Name Flags
transX
transY
public void paintBackground();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.getGraphics:()Ljava/awt/Graphics;
astore 1
start local 1 1: aload 1
ifnull 9
2: aload 1
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
invokevirtual sun.awt.X11.XChoicePeer.getPeerBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
3: aload 1
iconst_0
iconst_0
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.width:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.height:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
4: goto 8
StackMap locals: sun.awt.X11.XChoicePeer$UnfurledChoice java.awt.Graphics
StackMap stack: java.lang.Throwable
5: astore 2
6: aload 1
invokevirtual java.awt.Graphics.dispose:()V
7: aload 2
athrow
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.Graphics.dispose:()V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
1 10 1 g Ljava/awt/Graphics;
Exception table:
from to target type
2 5 5 any
public void repaint();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.isVisible:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
invokevirtual sun.awt.X11.ListHelper.checkVsbVisibilityChangedAndReset:()Z
ifeq 4
3: aload 0
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.paintBackground:()V
4: StackMap locals:
StackMap stack:
aload 0
invokespecial sun.awt.X11.XWindow.repaint:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
public void paintPeer(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.target:Ljava/awt/Component;
checkcast java.awt.Choice
pop
1: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
invokevirtual sun.awt.X11.XChoicePeer.getGUIcolors:()[Ljava/awt/Color;
astore 2
start local 2 2: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
aload 1
invokestatic sun.awt.X11.XChoicePeer.getSystemColors:()[Ljava/awt/Color;
iconst_0
iconst_0
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.width:I
iconst_1
isub
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.height:I
iconst_1
isub
iconst_1
invokevirtual sun.awt.X11.XChoicePeer.draw3DRect:(Ljava/awt/Graphics;[Ljava/awt/Color;IIIIZ)V
3: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
aload 1
invokestatic sun.awt.X11.XChoicePeer.getSystemColors:()[Ljava/awt/Color;
iconst_1
iconst_1
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.width:I
iconst_3
isub
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.height:I
iconst_3
isub
iconst_1
invokevirtual sun.awt.X11.XChoicePeer.draw3DRect:(Ljava/awt/Graphics;[Ljava/awt/Color;IIIIZ)V
4: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
aload 1
5: aload 2
6: aload 0
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.getBounds:()Ljava/awt/Rectangle;
7: invokevirtual sun.awt.X11.ListHelper.paintAllItems:(Ljava/awt/Graphics;[Ljava/awt/Color;Ljava/awt/Rectangle;)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
0 9 1 g Ljava/awt/Graphics;
2 9 2 colors [Ljava/awt/Color;
MethodParameters:
Name Flags
g
public void setVisible(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.xSetVisible:(Z)V
1: iload 1
ifne 3
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.alignUnder:Ljava/awt/Component;
ifnull 3
2: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.alignUnder:Ljava/awt/Component;
invokevirtual java.awt.Component.requestFocusInWindow:()Z
pop
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
0 4 1 vis Z
MethodParameters:
Name Flags
vis
private java.awt.Point toLocalCoords(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Ljava/awt/Point;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getLocationOnScreen:()Ljava/awt/Point;
astore 2
start local 2 1: aload 2
dup
getfield java.awt.Point.x:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.x:I
isub
putfield java.awt.Point.x:I
2: aload 2
dup
getfield java.awt.Point.y:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.y:I
isub
putfield java.awt.Point.y:I
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
0 4 1 e Ljava/awt/event/MouseEvent;
1 4 2 global Ljava/awt/Point;
MethodParameters:
Name Flags
e
private boolean isMouseEventInside(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.toLocalCoords:(Ljava/awt/event/MouseEvent;)Ljava/awt/Point;
astore 2
start local 2 1: aload 2
getfield java.awt.Point.x:I
ifle 4
aload 2
getfield java.awt.Point.x:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.width:I
if_icmpge 4
2: aload 2
getfield java.awt.Point.y:I
ifle 4
aload 2
getfield java.awt.Point.y:I
aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.height:I
if_icmpge 4
3: iconst_1
ireturn
4: StackMap locals: java.awt.Point
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
0 5 1 e Ljava/awt/event/MouseEvent;
1 5 2 local Ljava/awt/Point;
MethodParameters:
Name Flags
e
private boolean isMouseInListArea(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.isMouseEventInside:(Ljava/awt/event/MouseEvent;)Z
ifeq 5
1: aload 0
aload 1
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.toLocalCoords:(Ljava/awt/event/MouseEvent;)Ljava/awt/Point;
astore 2
start local 2 2: aload 0
invokevirtual sun.awt.X11.XChoicePeer$UnfurledChoice.getBounds:()Ljava/awt/Rectangle;
astore 3
start local 3 3: aload 0
getfield sun.awt.X11.XChoicePeer$UnfurledChoice.this$0:Lsun/awt/X11/XChoicePeer;
getfield sun.awt.X11.XChoicePeer.helper:Lsun/awt/X11/ListHelper;
aload 3
aload 2
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.y:I
invokevirtual sun.awt.X11.ListHelper.isInVertSB:(Ljava/awt/Rectangle;II)Z
ifne 5
4: iconst_1
ireturn
end local 3 end local 2 5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
0 6 1 e Ljava/awt/event/MouseEvent;
2 5 2 local Ljava/awt/Point;
3 5 3 bounds Ljava/awt/Rectangle;
MethodParameters:
Name Flags
e
public void handleConfigureNotifyEvent(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
0 1 1 xev Lsun/awt/X11/XEvent;
MethodParameters:
Name Flags
xev
public void handleMapNotifyEvent(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
0 1 1 xev Lsun/awt/X11/XEvent;
MethodParameters:
Name Flags
xev
public void handleUnmapNotifyEvent(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XChoicePeer$UnfurledChoice;
0 1 1 xev Lsun/awt/X11/XEvent;
MethodParameters:
Name Flags
xev
}
SourceFile: "XChoicePeer.java"
NestHost: sun.awt.X11.XChoicePeer
InnerClasses:
final UnfurledChoice = sun.awt.X11.XChoicePeer$UnfurledChoice of sun.awt.X11.XChoicePeer
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger