class sun.awt.X11.XCanvasPeer extends sun.awt.X11.XComponentPeer implements java.awt.peer.CanvasPeer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.X11.XCanvasPeer
super_class: sun.awt.X11.XComponentPeer
{
private boolean eraseBackgroundDisabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.X11.XComponentPeer.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XCanvasPeer;
void <init>(sun.awt.X11.XCreateWindowParams);
descriptor: (Lsun/awt/X11/XCreateWindowParams;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.<init>:(Lsun/awt/X11/XCreateWindowParams;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XCanvasPeer;
0 2 1 params Lsun/awt/X11/XCreateWindowParams;
MethodParameters:
Name Flags
params
void <init>(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.<init>:(Ljava/awt/Component;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XCanvasPeer;
0 2 1 target Ljava/awt/Component;
MethodParameters:
Name Flags
target
void preInit(sun.awt.X11.XCreateWindowParams);
descriptor: (Lsun/awt/X11/XCreateWindowParams;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XComponentPeer.preInit:(Lsun/awt/X11/XCreateWindowParams;)V
1: invokestatic sun.awt.SunToolkit.getSunAwtNoerasebackground:()Z
ifeq 3
2: aload 0
invokevirtual sun.awt.X11.XCanvasPeer.disableBackgroundErase:()V
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/XCanvasPeer;
0 4 1 params Lsun/awt/X11/XCreateWindowParams;
MethodParameters:
Name Flags
params
public java.awt.GraphicsConfiguration getAppropriateGraphicsConfiguration(java.awt.GraphicsConfiguration);
descriptor: (Ljava/awt/GraphicsConfiguration;)Ljava/awt/GraphicsConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11.XCanvasPeer.graphicsConfig:Lsun/awt/X11GraphicsConfig;
ifnull 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.GraphicsConfiguration.getDevice:()Ljava/awt/GraphicsDevice;
checkcast sun.awt.X11GraphicsDevice
invokevirtual sun.awt.X11GraphicsDevice.getScreen:()I
istore 2
start local 2 3: aload 0
getfield sun.awt.X11.XCanvasPeer.graphicsConfig:Lsun/awt/X11GraphicsConfig;
invokevirtual sun.awt.X11GraphicsConfig.getVisual:()I
istore 3
start local 3 4: invokestatic java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
5: invokevirtual java.awt.GraphicsEnvironment.getScreenDevices:()[Ljava/awt/GraphicsDevice;
iload 2
6: aaload
checkcast sun.awt.X11GraphicsDevice
astore 4
start local 4 7: iconst_0
istore 5
start local 5 8: goto 13
9: StackMap locals: sun.awt.X11.XCanvasPeer java.awt.GraphicsConfiguration int int sun.awt.X11GraphicsDevice int
StackMap stack:
iload 3
aload 4
iload 5
iload 2
invokevirtual sun.awt.X11GraphicsDevice.getConfigVisualId:(II)I
if_icmpne 12
10: aload 0
aload 4
invokevirtual sun.awt.X11GraphicsDevice.getConfigurations:()[Ljava/awt/GraphicsConfiguration;
iload 5
aaload
checkcast sun.awt.X11GraphicsConfig
putfield sun.awt.X11.XCanvasPeer.graphicsConfig:Lsun/awt/X11GraphicsConfig;
11: goto 14
12: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
aload 4
iload 2
invokevirtual sun.awt.X11GraphicsDevice.getNumConfigs:(I)I
if_icmplt 9
end local 5 14: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XCanvasPeer.graphicsConfig:Lsun/awt/X11GraphicsConfig;
ifnonnull 21
15: aload 0
16: invokestatic java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
17: invokevirtual java.awt.GraphicsEnvironment.getScreenDevices:()[Ljava/awt/GraphicsDevice;
iload 2
18: aaload
19: invokevirtual java.awt.GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
20: checkcast sun.awt.X11GraphicsConfig
putfield sun.awt.X11.XCanvasPeer.graphicsConfig:Lsun/awt/X11GraphicsConfig;
21: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XCanvasPeer.graphicsConfig:Lsun/awt/X11GraphicsConfig;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/awt/X11/XCanvasPeer;
0 22 1 gc Ljava/awt/GraphicsConfiguration;
3 22 2 screenNum I
4 22 3 visual I
7 22 4 newDev Lsun/awt/X11GraphicsDevice;
8 14 5 i I
MethodParameters:
Name Flags
gc
protected boolean shouldFocusOnClick();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XCanvasPeer;
public void disableBackgroundErase();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.awt.X11.XCanvasPeer.eraseBackgroundDisabled:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XCanvasPeer;
protected boolean doEraseBackground();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XCanvasPeer.eraseBackgroundDisabled:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XCanvasPeer;
}
SourceFile: "XCanvasPeer.java"