public class sun.print.PrinterGraphicsConfig extends java.awt.GraphicsConfiguration
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.print.PrinterGraphicsConfig
super_class: java.awt.GraphicsConfiguration
{
static java.awt.image.ColorModel theModel;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x0008) ACC_STATIC
java.awt.GraphicsDevice gd;
descriptor: Ljava/awt/GraphicsDevice;
flags: (0x0000)
int pageWidth;
descriptor: I
flags: (0x0000)
int pageHeight;
descriptor: I
flags: (0x0000)
java.awt.geom.AffineTransform deviceTransform;
descriptor: Ljava/awt/geom/AffineTransform;
flags: (0x0000)
public void <init>(java.lang.String, java.awt.geom.AffineTransform, int, int);
descriptor: (Ljava/lang/String;Ljava/awt/geom/AffineTransform;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.awt.GraphicsConfiguration.<init>:()V
1: aload 0
iload 3
putfield sun.print.PrinterGraphicsConfig.pageWidth:I
2: aload 0
iload 4
putfield sun.print.PrinterGraphicsConfig.pageHeight:I
3: aload 0
aload 2
putfield sun.print.PrinterGraphicsConfig.deviceTransform:Ljava/awt/geom/AffineTransform;
4: aload 0
new sun.print.PrinterGraphicsDevice
dup
aload 0
aload 1
invokespecial sun.print.PrinterGraphicsDevice.<init>:(Ljava/awt/GraphicsConfiguration;Ljava/lang/String;)V
putfield sun.print.PrinterGraphicsConfig.gd:Ljava/awt/GraphicsDevice;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/print/PrinterGraphicsConfig;
0 6 1 printerID Ljava/lang/String;
0 6 2 deviceTx Ljava/awt/geom/AffineTransform;
0 6 3 pageWid I
0 6 4 pageHgt I
MethodParameters:
Name Flags
printerID
deviceTx
pageWid
pageHgt
public java.awt.GraphicsDevice getDevice();
descriptor: ()Ljava/awt/GraphicsDevice;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.PrinterGraphicsConfig.gd:Ljava/awt/GraphicsDevice;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/PrinterGraphicsConfig;
public java.awt.image.ColorModel getColorModel();
descriptor: ()Ljava/awt/image/ColorModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic sun.print.PrinterGraphicsConfig.theModel:Ljava/awt/image/ColorModel;
ifnonnull 4
1: new java.awt.image.BufferedImage
dup
iconst_1
iconst_1
iconst_5
invokespecial java.awt.image.BufferedImage.<init>:(III)V
2: astore 1
start local 1 3: aload 1
invokevirtual java.awt.image.BufferedImage.getColorModel:()Ljava/awt/image/ColorModel;
putstatic sun.print.PrinterGraphicsConfig.theModel:Ljava/awt/image/ColorModel;
end local 1 4: StackMap locals:
StackMap stack:
getstatic sun.print.PrinterGraphicsConfig.theModel:Ljava/awt/image/ColorModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/print/PrinterGraphicsConfig;
3 4 1 bufImg Ljava/awt/image/BufferedImage;
public java.awt.image.ColorModel getColorModel(int);
descriptor: (I)Ljava/awt/image/ColorModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 1 - 3
1: 1
2: 2
3: 3
default: 4
}
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.PrinterGraphicsConfig.getColorModel:()Ljava/awt/image/ColorModel;
areturn
2: StackMap locals:
StackMap stack:
new java.awt.image.DirectColorModel
dup
bipush 25
ldc 16711680
ldc 65280
sipush 255
ldc 16777216
invokespecial java.awt.image.DirectColorModel.<init>:(IIIII)V
areturn
3: StackMap locals:
StackMap stack:
invokestatic java.awt.image.ColorModel.getRGBdefault:()Ljava/awt/image/ColorModel;
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/print/PrinterGraphicsConfig;
0 5 1 transparency I
MethodParameters:
Name Flags
transparency
public java.awt.geom.AffineTransform getDefaultTransform();
descriptor: ()Ljava/awt/geom/AffineTransform;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.awt.geom.AffineTransform
dup
aload 0
getfield sun.print.PrinterGraphicsConfig.deviceTransform:Ljava/awt/geom/AffineTransform;
invokespecial java.awt.geom.AffineTransform.<init>:(Ljava/awt/geom/AffineTransform;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/PrinterGraphicsConfig;
public java.awt.geom.AffineTransform getNormalizingTransform();
descriptor: ()Ljava/awt/geom/AffineTransform;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.awt.geom.AffineTransform
dup
invokespecial java.awt.geom.AffineTransform.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/PrinterGraphicsConfig;
public java.awt.Rectangle getBounds();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new java.awt.Rectangle
dup
iconst_0
iconst_0
aload 0
getfield sun.print.PrinterGraphicsConfig.pageWidth:I
aload 0
getfield sun.print.PrinterGraphicsConfig.pageHeight:I
invokespecial java.awt.Rectangle.<init>:(IIII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/PrinterGraphicsConfig;
}
SourceFile: "PrinterGraphicsConfig.java"