final class com.sun.glass.ui.gtk.GtkView extends com.sun.glass.ui.View
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.glass.ui.gtk.GtkView
super_class: com.sun.glass.ui.View
{
private boolean imEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean isInPreeditMode;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.lang.StringBuilder preedit;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.ByteBuffer attributes;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private int lastCaret;
descriptor: I
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 com.sun.glass.ui.View.<init>:()V
1: aload 0
iconst_0
putfield com.sun.glass.ui.gtk.GtkView.imEnabled:Z
2: aload 0
iconst_0
putfield com.sun.glass.ui.gtk.GtkView.isInPreeditMode:Z
3: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield com.sun.glass.ui.gtk.GtkView.preedit:Ljava/lang/StringBuilder;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/gtk/GtkView;
private native void enableInputMethodEventsImpl(long, boolean);
descriptor: (JZ)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
enable
protected void _enableInputMethodEvents(long, boolean);
descriptor: (JZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
iload 3
invokevirtual com.sun.glass.ui.gtk.GtkView.enableInputMethodEventsImpl:(JZ)V
1: aload 0
getfield com.sun.glass.ui.gtk.GtkView.imEnabled:Z
ifeq 3
2: aload 0
getfield com.sun.glass.ui.gtk.GtkView.preedit:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
3: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield com.sun.glass.ui.gtk.GtkView.imEnabled:Z
4: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/gtk/GtkView;
0 5 1 ptr J
0 5 3 enable Z
MethodParameters:
Name Flags
ptr
enable
protected int _getNativeFrameBuffer(long);
descriptor: (J)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/gtk/GtkView;
0 1 1 ptr J
MethodParameters:
Name Flags
ptr
protected native long _create(java.util.Map);
descriptor: (Ljava/util/Map;)J
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
caps
protected native long _getNativeView(long);
descriptor: (J)J
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native int _getX(long);
descriptor: (J)I
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native int _getY(long);
descriptor: (J)I
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native void _setParent(long, long);
descriptor: (JJ)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
parentPtr
protected native boolean _close(long);
descriptor: (J)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native void _scheduleRepaint(long);
descriptor: (J)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected void _begin(long);
descriptor: (J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=3, 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 Lcom/sun/glass/ui/gtk/GtkView;
0 1 1 ptr J
MethodParameters:
Name Flags
ptr
protected void _end(long);
descriptor: (J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=3, 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 Lcom/sun/glass/ui/gtk/GtkView;
0 1 1 ptr J
MethodParameters:
Name Flags
ptr
protected void _uploadPixels(long, com.sun.glass.ui.Pixels);
descriptor: (JLcom/sun/glass/ui/Pixels;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 3
invokevirtual com.sun.glass.ui.Pixels.getPixels:()Ljava/nio/Buffer;
astore 4
start local 4 1: aload 4
invokevirtual java.nio.Buffer.isDirect:()Z
ifeq 4
2: aload 0
lload 1
aload 4
aload 3
invokevirtual com.sun.glass.ui.Pixels.getWidth:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getHeight:()I
invokevirtual com.sun.glass.ui.gtk.GtkView._uploadPixelsDirect:(JLjava/nio/Buffer;II)V
3: goto 13
StackMap locals: java.nio.Buffer
StackMap stack:
4: aload 4
invokevirtual java.nio.Buffer.hasArray:()Z
ifeq 12
5: aload 3
invokevirtual com.sun.glass.ui.Pixels.getBytesPerComponent:()I
iconst_1
if_icmpne 9
6: aload 4
checkcast java.nio.ByteBuffer
astore 5
start local 5 7: aload 0
lload 1
aload 5
invokevirtual java.nio.ByteBuffer.array:()[B
aload 5
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getWidth:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getHeight:()I
invokevirtual com.sun.glass.ui.gtk.GtkView._uploadPixelsByteArray:(J[BIII)V
end local 5 8: goto 13
9: StackMap locals:
StackMap stack:
aload 4
checkcast java.nio.IntBuffer
astore 5
start local 5 10: aload 0
lload 1
aload 5
invokevirtual java.nio.IntBuffer.array:()[I
aload 5
invokevirtual java.nio.IntBuffer.arrayOffset:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getWidth:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getHeight:()I
invokevirtual com.sun.glass.ui.gtk.GtkView._uploadPixelsIntArray:(J[IIII)V
end local 5 11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
lload 1
aload 3
invokevirtual com.sun.glass.ui.Pixels.asByteBuffer:()Ljava/nio/ByteBuffer;
aload 3
invokevirtual com.sun.glass.ui.Pixels.getWidth:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getHeight:()I
invokevirtual com.sun.glass.ui.gtk.GtkView._uploadPixelsDirect:(JLjava/nio/Buffer;II)V
13: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/glass/ui/gtk/GtkView;
0 14 1 ptr J
0 14 3 pixels Lcom/sun/glass/ui/Pixels;
1 14 4 data Ljava/nio/Buffer;
7 8 5 bytes Ljava/nio/ByteBuffer;
10 11 5 ints Ljava/nio/IntBuffer;
MethodParameters:
Name Flags
ptr
pixels
private native void _uploadPixelsDirect(long, java.nio.Buffer, int, int);
descriptor: (JLjava/nio/Buffer;II)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
viewPtr
pixels
width
height
private native void _uploadPixelsByteArray(long, byte[], int, int, int);
descriptor: (J[BIII)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
viewPtr
pixels
offset
width
height
private native void _uploadPixelsIntArray(long, int[], int, int, int);
descriptor: (J[IIII)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
viewPtr
pixels
offset
width
height
protected native boolean _enterFullscreen(long, boolean, boolean, boolean);
descriptor: (JZZZ)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
animate
keepRatio
hideCursor
protected native void _exitFullscreen(long, boolean);
descriptor: (JZ)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
animate
protected void _finishInputMethodComposition(long);
descriptor: (J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.glass.ui.gtk.GtkView.imEnabled:Z
ifeq 3
aload 0
getfield com.sun.glass.ui.gtk.GtkView.isInPreeditMode:Z
ifeq 3
1: aload 0
getfield com.sun.glass.ui.gtk.GtkView.preedit:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
2: aload 0
aload 0
getfield com.sun.glass.ui.gtk.GtkView.preedit:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
aconst_null
aconst_null
iconst_0
iconst_0
iconst_0
invokevirtual com.sun.glass.ui.gtk.GtkView.notifyInputMethod:(Ljava/lang/String;[I[I[BIII)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/gtk/GtkView;
0 4 1 ptr J
MethodParameters:
Name Flags
ptr
private void notifyPreeditMode(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.glass.ui.gtk.GtkView.isInPreeditMode:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/gtk/GtkView;
0 2 1 enabled Z
MethodParameters:
Name Flags
enabled
protected void notifyInputMethodDraw(java.lang.String, int, int, int, byte[]);
descriptor: (Ljava/lang/String;III[B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=14, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aconst_null
astore 6
start local 6 1: aconst_null
astore 7
start local 7 2: aload 0
getfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
ifnonnull 4
3: aload 0
bipush 32
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
4: StackMap locals: int[] byte[]
StackMap stack:
iload 3
ifle 6
5: aload 0
getfield com.sun.glass.ui.gtk.GtkView.preedit:Ljava/lang/StringBuilder;
iload 2
iload 2
iload 3
iadd
ldc ""
invokevirtual java.lang.StringBuilder.replace:(IILjava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 1
ifnull 9
7: aload 0
getfield com.sun.glass.ui.gtk.GtkView.preedit:Ljava/lang/StringBuilder;
iload 2
aload 1
invokevirtual java.lang.StringBuilder.insert:(ILjava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 11
9: StackMap locals:
StackMap stack:
aload 5
ifnonnull 11
10: aload 0
getfield com.sun.glass.ui.gtk.GtkView.preedit:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
aload 0
getfield com.sun.glass.ui.gtk.GtkView.preedit:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
if_icmpge 15
12: aload 0
getfield com.sun.glass.ui.gtk.GtkView.preedit:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
i2d
ldc 1.5
dmul
d2i
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 8
start local 8 13: aload 8
aload 0
getfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
14: aload 0
aload 8
putfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
end local 8 15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
aload 0
getfield com.sun.glass.ui.gtk.GtkView.preedit:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
16: aload 5
ifnull 19
aload 0
getfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
iload 2
aload 5
arraylength
iadd
if_icmplt 19
17: aload 0
getfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
18: aload 0
getfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
aload 5
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
ifle 48
20: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 21: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 9
start local 9 22: aload 0
getfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.rewind:()Ljava/nio/Buffer;
pop
23: aload 0
getfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
istore 10
start local 10 24: aload 8
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
25: aload 9
iload 10
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
26: iconst_1
istore 11
start local 11 27: goto 34
28: StackMap locals: com.sun.glass.ui.gtk.GtkView java.lang.String int int int byte[] int[] byte[] java.util.ArrayList java.util.ArrayList int int
StackMap stack:
aload 0
getfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
istore 12
start local 12 29: iload 10
iload 12
if_icmpeq 32
30: aload 8
iload 11
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
31: aload 9
iload 12
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
32: StackMap locals: int
StackMap stack:
iload 12
istore 10
33: iinc 11 1
end local 12 34: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 28
35: aload 8
aload 0
getfield com.sun.glass.ui.gtk.GtkView.attributes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
36: aload 8
invokevirtual java.util.ArrayList.size:()I
newarray 10
astore 6
37: iconst_0
istore 11
38: aload 8
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 13
goto 41
StackMap locals: com.sun.glass.ui.gtk.GtkView java.lang.String int int int byte[] int[] byte[] java.util.ArrayList java.util.ArrayList int int top java.util.Iterator
StackMap stack:
39: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
astore 12
start local 12 40: aload 6
iload 11
iinc 11 1
aload 12
invokevirtual java.lang.Integer.intValue:()I
iastore
end local 12 41: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 39
42: aload 9
invokevirtual java.util.ArrayList.size:()I
newarray 8
astore 7
43: iconst_0
istore 11
44: aload 9
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 13
goto 47
StackMap locals:
StackMap stack:
45: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Byte
astore 12
start local 12 46: aload 7
iload 11
iinc 11 1
aload 12
invokevirtual java.lang.Byte.byteValue:()B
bastore
end local 12 47: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 45
end local 11 end local 10 end local 9 end local 8 48: StackMap locals: com.sun.glass.ui.gtk.GtkView java.lang.String int int int byte[] int[] byte[]
StackMap stack:
aload 0
aload 0
getfield com.sun.glass.ui.gtk.GtkView.preedit:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 6
aload 6
aload 7
iconst_0
iload 4
iconst_0
invokevirtual com.sun.glass.ui.gtk.GtkView.notifyInputMethod:(Ljava/lang/String;[I[I[BIII)V
49: aload 0
iload 4
putfield com.sun.glass.ui.gtk.GtkView.lastCaret:I
50: return
end local 7 end local 6 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 51 0 this Lcom/sun/glass/ui/gtk/GtkView;
0 51 1 text Ljava/lang/String;
0 51 2 first I
0 51 3 length I
0 51 4 caret I
0 51 5 attr [B
1 51 6 boundary [I
2 51 7 values [B
13 15 8 tmp Ljava/nio/ByteBuffer;
21 48 8 boundaryList Ljava/util/ArrayList<Ljava/lang/Integer;>;
22 48 9 valuesList Ljava/util/ArrayList<Ljava/lang/Byte;>;
24 48 10 lastAttribute B
27 48 11 i I
29 34 12 a B
40 41 12 e Ljava/lang/Integer;
46 47 12 e Ljava/lang/Byte;
MethodParameters:
Name Flags
text
first
length
caret
attr
protected void notifyInputMethodCaret(int, int, int);
descriptor: (III)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
lookupswitch { // 3
0: 1
1: 3
10: 5
default: 6
}
1: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.glass.ui.gtk.GtkView.lastCaret:I
iload 1
iadd
putfield com.sun.glass.ui.gtk.GtkView.lastCaret:I
2: goto 6
3: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.glass.ui.gtk.GtkView.lastCaret:I
iload 1
isub
putfield com.sun.glass.ui.gtk.GtkView.lastCaret:I
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.sun.glass.ui.gtk.GtkView.lastCaret:I
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.glass.ui.gtk.GtkView.preedit:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
aconst_null
aconst_null
iconst_0
aload 0
getfield com.sun.glass.ui.gtk.GtkView.lastCaret:I
iconst_0
invokevirtual com.sun.glass.ui.gtk.GtkView.notifyInputMethod:(Ljava/lang/String;[I[I[BIII)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/glass/ui/gtk/GtkView;
0 8 1 pos I
0 8 2 direction I
0 8 3 style I
MethodParameters:
Name Flags
pos
direction
style
}
SourceFile: "GtkView.java"