class com.sun.glass.ui.monocle.MouseState
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.monocle.MouseState
super_class: java.lang.Object
{
static final int WHEEL_NONE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int WHEEL_UP;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int WHEEL_DOWN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1
private int x;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int y;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int wheel;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private com.sun.glass.ui.monocle.MonocleWindow window;
descriptor: Lcom/sun/glass/ui/monocle/MonocleWindow;
flags: (0x0002) ACC_PRIVATE
private com.sun.glass.ui.monocle.IntSet buttonsPressed;
descriptor: Lcom/sun/glass/ui/monocle/IntSet;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new com.sun.glass.ui.monocle.IntSet
dup
invokespecial com.sun.glass.ui.monocle.IntSet.<init>:()V
putfield com.sun.glass.ui.monocle.MouseState.buttonsPressed:Lcom/sun/glass/ui/monocle/IntSet;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/monocle/MouseState;
int getX();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.MouseState.x:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/MouseState;
void setX(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.glass.ui.monocle.MouseState.x:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/MouseState;
0 2 1 x I
MethodParameters:
Name Flags
x
int getY();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.MouseState.y:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/MouseState;
void setY(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.glass.ui.monocle.MouseState.y:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/MouseState;
0 2 1 y I
MethodParameters:
Name Flags
y
int getWheel();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.MouseState.wheel:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/MouseState;
void setWheel(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.glass.ui.monocle.MouseState.wheel:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/MouseState;
0 2 1 wheel I
MethodParameters:
Name Flags
wheel
void pressButton(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.glass.ui.monocle.MouseState.buttonsPressed:Lcom/sun/glass/ui/monocle/IntSet;
iload 1
invokevirtual com.sun.glass.ui.monocle.IntSet.addInt:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/MouseState;
0 2 1 button I
MethodParameters:
Name Flags
button
void releaseButton(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.glass.ui.monocle.MouseState.buttonsPressed:Lcom/sun/glass/ui/monocle/IntSet;
iload 1
invokevirtual com.sun.glass.ui.monocle.IntSet.removeInt:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/MouseState;
0 2 1 button I
MethodParameters:
Name Flags
button
com.sun.glass.ui.monocle.MonocleWindow getWindow(boolean);
descriptor: (Z)Lcom/sun/glass/ui/monocle/MonocleWindow;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.glass.ui.monocle.MouseState.window:Lcom/sun/glass/ui/monocle/MonocleWindow;
ifnull 1
iload 1
ifeq 4
1: StackMap locals:
StackMap stack:
aload 0
2: invokestatic com.sun.glass.ui.monocle.MonocleWindowManager.getInstance:()Lcom/sun/glass/ui/monocle/MonocleWindowManager;
aload 0
getfield com.sun.glass.ui.monocle.MouseState.x:I
aload 0
getfield com.sun.glass.ui.monocle.MouseState.y:I
invokevirtual com.sun.glass.ui.monocle.MonocleWindowManager.getWindowForLocation:(II)Lcom/sun/glass/ui/monocle/MonocleWindow;
3: putfield com.sun.glass.ui.monocle.MouseState.window:Lcom/sun/glass/ui/monocle/MonocleWindow;
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.MouseState.window:Lcom/sun/glass/ui/monocle/MonocleWindow;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/monocle/MouseState;
0 5 1 recalculateCache Z
MethodParameters:
Name Flags
recalculateCache
int getButton();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.MouseState.buttonsPressed:Lcom/sun/glass/ui/monocle/IntSet;
invokevirtual com.sun.glass.ui.monocle.IntSet.isEmpty:()Z
ifeq 2
1: sipush 211
goto 3
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.MouseState.buttonsPressed:Lcom/sun/glass/ui/monocle/IntSet;
iconst_0
invokevirtual com.sun.glass.ui.monocle.IntSet.get:(I)I
3: StackMap locals:
StackMap stack: int
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/monocle/MouseState;
int getModifiers();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 10
3: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.MouseState.buttonsPressed:Lcom/sun/glass/ui/monocle/IntSet;
iload 2
invokevirtual com.sun.glass.ui.monocle.IntSet.get:(I)I
tableswitch { // 212 - 214
212: 4
213: 8
214: 6
default: 9
}
4: StackMap locals:
StackMap stack:
iload 1
bipush 32
ior
istore 1
5: goto 9
6: StackMap locals:
StackMap stack:
iload 1
sipush 128
ior
istore 1
7: goto 9
8: StackMap locals:
StackMap stack:
iload 1
bipush 64
ior
istore 1
9: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
aload 0
getfield com.sun.glass.ui.monocle.MouseState.buttonsPressed:Lcom/sun/glass/ui/monocle/IntSet;
invokevirtual com.sun.glass.ui.monocle.IntSet.size:()I
if_icmplt 3
end local 2 11: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/glass/ui/monocle/MouseState;
1 12 1 modifiers I
2 11 2 i I
void copyTo(com.sun.glass.ui.monocle.MouseState);
descriptor: (Lcom/sun/glass/ui/monocle/MouseState;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.glass.ui.monocle.MouseState.x:I
putfield com.sun.glass.ui.monocle.MouseState.x:I
1: aload 1
aload 0
getfield com.sun.glass.ui.monocle.MouseState.y:I
putfield com.sun.glass.ui.monocle.MouseState.y:I
2: aload 1
aload 0
getfield com.sun.glass.ui.monocle.MouseState.wheel:I
putfield com.sun.glass.ui.monocle.MouseState.wheel:I
3: aload 0
getfield com.sun.glass.ui.monocle.MouseState.buttonsPressed:Lcom/sun/glass/ui/monocle/IntSet;
aload 1
getfield com.sun.glass.ui.monocle.MouseState.buttonsPressed:Lcom/sun/glass/ui/monocle/IntSet;
invokevirtual com.sun.glass.ui.monocle.IntSet.copyTo:(Lcom/sun/glass/ui/monocle/IntSet;)V
4: aload 1
aload 0
getfield com.sun.glass.ui.monocle.MouseState.window:Lcom/sun/glass/ui/monocle/MonocleWindow;
putfield com.sun.glass.ui.monocle.MouseState.window:Lcom/sun/glass/ui/monocle/MonocleWindow;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/glass/ui/monocle/MouseState;
0 6 1 target Lcom/sun/glass/ui/monocle/MouseState;
MethodParameters:
Name Flags
target
com.sun.glass.ui.monocle.IntSet getButtonsPressed();
descriptor: ()Lcom/sun/glass/ui/monocle/IntSet;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.MouseState.buttonsPressed:Lcom/sun/glass/ui/monocle/IntSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/MouseState;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "MouseState[x="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.sun.glass.ui.monocle.MouseState.x:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ",y="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.glass.ui.monocle.MouseState.y:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
2: ldc ",wheel="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.glass.ui.monocle.MouseState.wheel:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
3: ldc ",buttonsPressed="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.glass.ui.monocle.MouseState.buttonsPressed:Lcom/sun/glass/ui/monocle/IntSet;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/monocle/MouseState;
boolean canBeFoldedWith(com.sun.glass.ui.monocle.MouseState);
descriptor: (Lcom/sun/glass/ui/monocle/MouseState;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.glass.ui.monocle.MouseState.buttonsPressed:Lcom/sun/glass/ui/monocle/IntSet;
aload 0
getfield com.sun.glass.ui.monocle.MouseState.buttonsPressed:Lcom/sun/glass/ui/monocle/IntSet;
invokevirtual com.sun.glass.ui.monocle.IntSet.equals:(Lcom/sun/glass/ui/monocle/IntSet;)Z
ifeq 1
aload 1
getfield com.sun.glass.ui.monocle.MouseState.wheel:I
aload 0
getfield com.sun.glass.ui.monocle.MouseState.wheel:I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/MouseState;
0 2 1 ms Lcom/sun/glass/ui/monocle/MouseState;
MethodParameters:
Name Flags
ms
}
SourceFile: "MouseState.java"