class javax.swing.text.html.StyleSheet$BackgroundImagePainter implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.html.StyleSheet$BackgroundImagePainter
super_class: java.lang.Object
{
javax.swing.ImageIcon backgroundImage;
descriptor: Ljavax/swing/ImageIcon;
flags: (0x0000)
float hPosition;
descriptor: F
flags: (0x0000)
float vPosition;
descriptor: F
flags: (0x0000)
short flags;
descriptor: S
flags: (0x0000)
private int paintX;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int paintY;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int paintMaxX;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int paintMaxY;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(javax.swing.text.AttributeSet, javax.swing.text.html.CSS, javax.swing.text.html.StyleSheet);
descriptor: (Ljavax/swing/text/AttributeSet;Ljavax/swing/text/html/CSS;Ljavax/swing/text/html/StyleSheet;)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 3
aload 1
invokevirtual javax.swing.text.html.StyleSheet.getBackgroundImage:(Ljavax/swing/text/AttributeSet;)Ljavax/swing/ImageIcon;
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.backgroundImage:Ljavax/swing/ImageIcon;
2: aload 1
3: getstatic javax.swing.text.html.CSS$Attribute.BACKGROUND_POSITION:Ljavax/swing/text/html/CSS$Attribute;
4: invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.html.CSS$BackgroundPosition
astore 4
start local 4 5: aload 4
ifnull 18
6: aload 0
aload 4
invokevirtual javax.swing.text.html.CSS$BackgroundPosition.getHorizontalPosition:()F
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.hPosition:F
7: aload 0
aload 4
invokevirtual javax.swing.text.html.CSS$BackgroundPosition.getVerticalPosition:()F
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.vPosition:F
8: aload 4
invokevirtual javax.swing.text.html.CSS$BackgroundPosition.isHorizontalPositionRelativeToSize:()Z
ifeq 11
9: aload 0
dup
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
iconst_4
ior
i2s
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
10: goto 13
11: StackMap locals: javax.swing.text.html.StyleSheet$BackgroundImagePainter javax.swing.text.AttributeSet javax.swing.text.html.CSS javax.swing.text.html.StyleSheet javax.swing.text.html.CSS$BackgroundPosition
StackMap stack:
aload 4
invokevirtual javax.swing.text.html.CSS$BackgroundPosition.isHorizontalPositionRelativeToSize:()Z
ifeq 13
12: aload 0
dup
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.hPosition:F
aload 1
bipush 12
aload 3
invokestatic javax.swing.text.html.CSS.getFontSize:(Ljavax/swing/text/AttributeSet;ILjavax/swing/text/html/StyleSheet;)I
i2f
fmul
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.hPosition:F
13: StackMap locals:
StackMap stack:
aload 4
invokevirtual javax.swing.text.html.CSS$BackgroundPosition.isVerticalPositionRelativeToSize:()Z
ifeq 16
14: aload 0
dup
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
bipush 8
ior
i2s
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
15: goto 18
16: StackMap locals:
StackMap stack:
aload 4
invokevirtual javax.swing.text.html.CSS$BackgroundPosition.isVerticalPositionRelativeToFontSize:()Z
ifeq 18
17: aload 0
dup
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.vPosition:F
aload 1
bipush 12
aload 3
invokestatic javax.swing.text.html.CSS.getFontSize:(Ljavax/swing/text/AttributeSet;ILjavax/swing/text/html/StyleSheet;)I
i2f
fmul
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.vPosition:F
18: StackMap locals:
StackMap stack:
aload 1
19: getstatic javax.swing.text.html.CSS$Attribute.BACKGROUND_REPEAT:Ljavax/swing/text/html/CSS$Attribute;
20: invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.html.CSS$Value
astore 5
start local 5 21: aload 5
ifnull 22
aload 5
getstatic javax.swing.text.html.CSS$Value.BACKGROUND_REPEAT:Ljavax/swing/text/html/CSS$Value;
if_acmpne 24
22: StackMap locals: javax.swing.text.html.CSS$Value
StackMap stack:
aload 0
dup
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
iconst_3
ior
i2s
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
23: goto 29
24: StackMap locals:
StackMap stack:
aload 5
getstatic javax.swing.text.html.CSS$Value.BACKGROUND_REPEAT_X:Ljavax/swing/text/html/CSS$Value;
if_acmpne 27
25: aload 0
dup
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
iconst_1
ior
i2s
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
26: goto 29
27: StackMap locals:
StackMap stack:
aload 5
getstatic javax.swing.text.html.CSS$Value.BACKGROUND_REPEAT_Y:Ljavax/swing/text/html/CSS$Value;
if_acmpne 29
28: aload 0
dup
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
iconst_2
ior
i2s
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
29: StackMap locals:
StackMap stack:
return
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 30 0 this Ljavax/swing/text/html/StyleSheet$BackgroundImagePainter;
0 30 1 a Ljavax/swing/text/AttributeSet;
0 30 2 css Ljavax/swing/text/html/CSS;
0 30 3 ss Ljavax/swing/text/html/StyleSheet;
5 30 4 pos Ljavax/swing/text/html/CSS$BackgroundPosition;
21 30 5 repeats Ljavax/swing/text/html/CSS$Value;
MethodParameters:
Name Flags
a
css
ss
void paint(java.awt.Graphics, float, float, float, float, javax.swing.text.View);
descriptor: (Ljava/awt/Graphics;FFFFLjavax/swing/text/View;)V
flags: (0x0000)
Code:
stack=5, locals=11, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 1
invokevirtual java.awt.Graphics.getClipRect:()Ljava/awt/Rectangle;
astore 7
start local 7 1: aload 7
ifnull 3
2: aload 1
fload 2
f2i
fload 3
f2i
fload 4
f2i
fload 5
f2i
invokevirtual java.awt.Graphics.clipRect:(IIII)V
3: StackMap locals: java.awt.Rectangle
StackMap stack:
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
iconst_3
iand
ifne 25
4: aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.backgroundImage:Ljavax/swing/ImageIcon;
invokevirtual javax.swing.ImageIcon.getIconWidth:()I
istore 8
start local 8 5: aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.backgroundImage:Ljavax/swing/ImageIcon;
invokevirtual javax.swing.ImageIcon.getIconWidth:()I
istore 9
start local 9 6: aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
iconst_4
iand
iconst_4
if_icmpne 11
7: aload 0
fload 2
fload 4
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.hPosition:F
fmul
fadd
8: iload 8
i2f
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.hPosition:F
fmul
fsub
f2i
9: putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
10: goto 12
11: StackMap locals: int int
StackMap stack:
aload 0
fload 2
f2i
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.hPosition:F
f2i
iadd
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
12: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
bipush 8
iand
bipush 8
if_icmpne 17
13: aload 0
fload 3
fload 5
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.vPosition:F
fmul
fadd
14: iload 9
i2f
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.vPosition:F
fmul
fsub
f2i
15: putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
16: goto 18
17: StackMap locals:
StackMap stack:
aload 0
fload 3
f2i
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.vPosition:F
f2i
iadd
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
18: StackMap locals:
StackMap stack:
aload 7
ifnull 23
19: aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
iload 8
iadd
aload 7
getfield java.awt.Rectangle.x:I
if_icmple 43
20: aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
iload 9
iadd
aload 7
getfield java.awt.Rectangle.y:I
if_icmple 43
21: aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
aload 7
getfield java.awt.Rectangle.x:I
aload 7
getfield java.awt.Rectangle.width:I
iadd
if_icmpge 43
22: aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
aload 7
getfield java.awt.Rectangle.y:I
aload 7
getfield java.awt.Rectangle.height:I
iadd
if_icmpge 43
23: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.backgroundImage:Ljavax/swing/ImageIcon;
aconst_null
aload 1
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
invokevirtual javax.swing.ImageIcon.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
end local 9 end local 8 24: goto 43
25: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.backgroundImage:Ljavax/swing/ImageIcon;
invokevirtual javax.swing.ImageIcon.getIconWidth:()I
istore 8
start local 8 26: aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.backgroundImage:Ljavax/swing/ImageIcon;
invokevirtual javax.swing.ImageIcon.getIconHeight:()I
istore 9
start local 9 27: iload 8
ifle 43
iload 9
ifle 43
28: aload 0
fload 2
f2i
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
29: aload 0
fload 3
f2i
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
30: aload 0
fload 2
fload 4
fadd
f2i
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintMaxX:I
31: aload 0
fload 3
fload 5
fadd
f2i
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintMaxY:I
32: aload 0
aload 7
iload 8
iload 9
invokevirtual javax.swing.text.html.StyleSheet$BackgroundImagePainter.updatePaintCoordinates:(Ljava/awt/Rectangle;II)Z
ifeq 43
33: goto 42
34: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
istore 10
start local 10 35: goto 40
36: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.backgroundImage:Ljavax/swing/ImageIcon;
aconst_null
aload 1
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
37: iload 10
38: invokevirtual javax.swing.ImageIcon.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
39: iload 10
iload 9
iadd
istore 10
40: StackMap locals:
StackMap stack:
iload 10
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintMaxY:I
if_icmplt 36
41: aload 0
dup
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
iload 8
iadd
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
end local 10 42: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintMaxX:I
if_icmplt 34
end local 9 end local 8 43: StackMap locals:
StackMap stack:
aload 7
ifnull 45
44: aload 1
aload 7
getfield java.awt.Rectangle.x:I
aload 7
getfield java.awt.Rectangle.y:I
aload 7
getfield java.awt.Rectangle.width:I
aload 7
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.setClip:(IIII)V
45: StackMap locals:
StackMap stack:
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 46 0 this Ljavax/swing/text/html/StyleSheet$BackgroundImagePainter;
0 46 1 g Ljava/awt/Graphics;
0 46 2 x F
0 46 3 y F
0 46 4 w F
0 46 5 h F
0 46 6 v Ljavax/swing/text/View;
1 46 7 clip Ljava/awt/Rectangle;
5 24 8 width I
6 24 9 height I
26 43 8 width I
27 43 9 height I
35 42 10 ySpot I
MethodParameters:
Name Flags
g
x
y
w
h
v
private boolean updatePaintCoordinates(java.awt.Rectangle, int, int);
descriptor: (Ljava/awt/Rectangle;II)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
iconst_3
iand
iconst_1
if_icmpne 3
1: aload 0
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
iconst_1
iadd
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintMaxY:I
2: goto 5
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
iconst_3
iand
iconst_2
if_icmpne 5
4: aload 0
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
iconst_1
iadd
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintMaxX:I
5: StackMap locals:
StackMap stack:
aload 1
ifnull 32
6: aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
iconst_3
iand
iconst_1
if_icmpne 9
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
iload 3
iadd
aload 1
getfield java.awt.Rectangle.y:I
if_icmple 8
7: aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
aload 1
getfield java.awt.Rectangle.y:I
aload 1
getfield java.awt.Rectangle.height:I
iadd
if_icmple 9
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
iconst_3
iand
iconst_2
if_icmpne 12
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
iload 2
iadd
aload 1
getfield java.awt.Rectangle.x:I
if_icmple 11
10: aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
aload 1
getfield java.awt.Rectangle.x:I
aload 1
getfield java.awt.Rectangle.width:I
iadd
if_icmple 12
11: StackMap locals:
StackMap stack:
iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
iconst_1
iand
iconst_1
if_icmpne 22
13: aload 1
getfield java.awt.Rectangle.x:I
aload 1
getfield java.awt.Rectangle.width:I
iadd
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintMaxX:I
if_icmpge 20
14: aload 1
getfield java.awt.Rectangle.x:I
aload 1
getfield java.awt.Rectangle.width:I
iadd
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
isub
iload 2
irem
ifne 17
15: aload 0
aload 1
getfield java.awt.Rectangle.x:I
aload 1
getfield java.awt.Rectangle.width:I
iadd
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintMaxX:I
16: goto 20
17: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield java.awt.Rectangle.x:I
aload 1
getfield java.awt.Rectangle.width:I
iadd
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
isub
18: iload 2
idiv
iconst_1
iadd
iload 2
imul
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
iadd
19: putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintMaxX:I
20: StackMap locals:
StackMap stack:
aload 1
getfield java.awt.Rectangle.x:I
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
if_icmple 22
21: aload 0
aload 1
getfield java.awt.Rectangle.x:I
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
isub
iload 2
idiv
iload 2
imul
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
iadd
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintX:I
22: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.flags:S
iconst_2
iand
iconst_2
if_icmpne 32
23: aload 1
getfield java.awt.Rectangle.y:I
aload 1
getfield java.awt.Rectangle.height:I
iadd
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintMaxY:I
if_icmpge 30
24: aload 1
getfield java.awt.Rectangle.y:I
aload 1
getfield java.awt.Rectangle.height:I
iadd
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
isub
iload 3
irem
ifne 27
25: aload 0
aload 1
getfield java.awt.Rectangle.y:I
aload 1
getfield java.awt.Rectangle.height:I
iadd
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintMaxY:I
26: goto 30
27: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield java.awt.Rectangle.y:I
aload 1
getfield java.awt.Rectangle.height:I
iadd
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
isub
28: iload 3
idiv
iconst_1
iadd
iload 3
imul
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
iadd
29: putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintMaxY:I
30: StackMap locals:
StackMap stack:
aload 1
getfield java.awt.Rectangle.y:I
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
if_icmple 32
31: aload 0
aload 1
getfield java.awt.Rectangle.y:I
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
isub
iload 3
idiv
iload 3
imul
aload 0
getfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
iadd
putfield javax.swing.text.html.StyleSheet$BackgroundImagePainter.paintY:I
32: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Ljavax/swing/text/html/StyleSheet$BackgroundImagePainter;
0 33 1 clip Ljava/awt/Rectangle;
0 33 2 width I
0 33 3 height I
MethodParameters:
Name Flags
clip
width
height
}
SourceFile: "StyleSheet.java"
NestHost: javax.swing.text.html.StyleSheet
InnerClasses:
public final Attribute = javax.swing.text.html.CSS$Attribute of javax.swing.text.html.CSS
BackgroundPosition = javax.swing.text.html.CSS$BackgroundPosition of javax.swing.text.html.CSS
final Value = javax.swing.text.html.CSS$Value of javax.swing.text.html.CSS
BackgroundImagePainter = javax.swing.text.html.StyleSheet$BackgroundImagePainter of javax.swing.text.html.StyleSheet