public class javax.swing.text.html.ParagraphView extends javax.swing.text.ParagraphView
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.html.ParagraphView
super_class: javax.swing.text.ParagraphView
{
private javax.swing.text.AttributeSet attr;
descriptor: Ljavax/swing/text/AttributeSet;
flags: (0x0002) ACC_PRIVATE
private javax.swing.text.html.StyleSheet$BoxPainter painter;
descriptor: Ljavax/swing/text/html/StyleSheet$BoxPainter;
flags: (0x0002) ACC_PRIVATE
private javax.swing.text.html.CSS$LengthValue cssWidth;
descriptor: Ljavax/swing/text/html/CSS$LengthValue;
flags: (0x0002) ACC_PRIVATE
private javax.swing.text.html.CSS$LengthValue cssHeight;
descriptor: Ljavax/swing/text/html/CSS$LengthValue;
flags: (0x0002) ACC_PRIVATE
public void <init>(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.text.ParagraphView.<init>:(Ljavax/swing/text/Element;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/html/ParagraphView;
0 2 1 elem Ljavax/swing/text/Element;
MethodParameters:
Name Flags
elem
public void setParent(javax.swing.text.View);
descriptor: (Ljavax/swing/text/View;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.text.ParagraphView.setParent:(Ljavax/swing/text/View;)V
1: aload 1
ifnull 3
2: aload 0
invokevirtual javax.swing.text.html.ParagraphView.setPropertiesFromAttributes:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/html/ParagraphView;
0 4 1 parent Ljavax/swing/text/View;
MethodParameters:
Name Flags
parent
public javax.swing.text.AttributeSet getAttributes();
descriptor: ()Ljavax/swing/text/AttributeSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.html.ParagraphView.attr:Ljavax/swing/text/AttributeSet;
ifnonnull 3
1: aload 0
invokevirtual javax.swing.text.html.ParagraphView.getStyleSheet:()Ljavax/swing/text/html/StyleSheet;
astore 1
start local 1 2: aload 0
aload 1
aload 0
invokevirtual javax.swing.text.html.StyleSheet.getViewAttributes:(Ljavax/swing/text/View;)Ljavax/swing/text/AttributeSet;
putfield javax.swing.text.html.ParagraphView.attr:Ljavax/swing/text/AttributeSet;
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.ParagraphView.attr:Ljavax/swing/text/AttributeSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/html/ParagraphView;
2 3 1 sheet Ljavax/swing/text/html/StyleSheet;
protected void setPropertiesFromAttributes();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.html.ParagraphView.getStyleSheet:()Ljavax/swing/text/html/StyleSheet;
astore 1
start local 1 1: aload 0
aload 1
aload 0
invokevirtual javax.swing.text.html.StyleSheet.getViewAttributes:(Ljavax/swing/text/View;)Ljavax/swing/text/AttributeSet;
putfield javax.swing.text.html.ParagraphView.attr:Ljavax/swing/text/AttributeSet;
2: aload 0
aload 1
aload 0
getfield javax.swing.text.html.ParagraphView.attr:Ljavax/swing/text/AttributeSet;
invokevirtual javax.swing.text.html.StyleSheet.getBoxPainter:(Ljavax/swing/text/AttributeSet;)Ljavax/swing/text/html/StyleSheet$BoxPainter;
putfield javax.swing.text.html.ParagraphView.painter:Ljavax/swing/text/html/StyleSheet$BoxPainter;
3: aload 0
getfield javax.swing.text.html.ParagraphView.attr:Ljavax/swing/text/AttributeSet;
ifnull 30
4: aload 0
invokespecial javax.swing.text.ParagraphView.setPropertiesFromAttributes:()V
5: aload 0
aload 0
getfield javax.swing.text.html.ParagraphView.painter:Ljavax/swing/text/html/StyleSheet$BoxPainter;
iconst_1
aload 0
invokevirtual javax.swing.text.html.StyleSheet$BoxPainter.getInset:(ILjavax/swing/text/View;)F
f2i
i2s
6: aload 0
getfield javax.swing.text.html.ParagraphView.painter:Ljavax/swing/text/html/StyleSheet$BoxPainter;
iconst_2
aload 0
invokevirtual javax.swing.text.html.StyleSheet$BoxPainter.getInset:(ILjavax/swing/text/View;)F
f2i
i2s
7: aload 0
getfield javax.swing.text.html.ParagraphView.painter:Ljavax/swing/text/html/StyleSheet$BoxPainter;
iconst_3
aload 0
invokevirtual javax.swing.text.html.StyleSheet$BoxPainter.getInset:(ILjavax/swing/text/View;)F
f2i
i2s
8: aload 0
getfield javax.swing.text.html.ParagraphView.painter:Ljavax/swing/text/html/StyleSheet$BoxPainter;
iconst_4
aload 0
invokevirtual javax.swing.text.html.StyleSheet$BoxPainter.getInset:(ILjavax/swing/text/View;)F
f2i
i2s
9: invokevirtual javax.swing.text.html.ParagraphView.setInsets:(SSSS)V
10: aload 0
getfield javax.swing.text.html.ParagraphView.attr:Ljavax/swing/text/AttributeSet;
getstatic javax.swing.text.html.CSS$Attribute.TEXT_ALIGN:Ljavax/swing/text/html/CSS$Attribute;
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 11: aload 2
ifnull 24
12: aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 3
start local 3 13: aload 3
ldc "left"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: aload 0
iconst_0
invokevirtual javax.swing.text.html.ParagraphView.setJustification:(I)V
15: goto 24
StackMap locals: javax.swing.text.html.StyleSheet java.lang.Object java.lang.String
StackMap stack:
16: aload 3
ldc "center"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: aload 0
iconst_1
invokevirtual javax.swing.text.html.ParagraphView.setJustification:(I)V
18: goto 24
StackMap locals:
StackMap stack:
19: aload 3
ldc "right"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: aload 0
iconst_2
invokevirtual javax.swing.text.html.ParagraphView.setJustification:(I)V
21: goto 24
StackMap locals:
StackMap stack:
22: aload 3
ldc "justify"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
23: aload 0
iconst_3
invokevirtual javax.swing.text.html.ParagraphView.setJustification:(I)V
end local 3 24: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.swing.text.html.ParagraphView.attr:Ljavax/swing/text/AttributeSet;
25: getstatic javax.swing.text.html.CSS$Attribute.WIDTH:Ljavax/swing/text/html/CSS$Attribute;
26: invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.html.CSS$LengthValue
putfield javax.swing.text.html.ParagraphView.cssWidth:Ljavax/swing/text/html/CSS$LengthValue;
27: aload 0
aload 0
getfield javax.swing.text.html.ParagraphView.attr:Ljavax/swing/text/AttributeSet;
28: getstatic javax.swing.text.html.CSS$Attribute.HEIGHT:Ljavax/swing/text/html/CSS$Attribute;
29: invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.html.CSS$LengthValue
putfield javax.swing.text.html.ParagraphView.cssHeight:Ljavax/swing/text/html/CSS$LengthValue;
end local 2 30: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Ljavax/swing/text/html/ParagraphView;
1 31 1 sheet Ljavax/swing/text/html/StyleSheet;
11 30 2 o Ljava/lang/Object;
13 24 3 ta Ljava/lang/String;
protected javax.swing.text.html.StyleSheet getStyleSheet();
descriptor: ()Ljavax/swing/text/html/StyleSheet;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.html.ParagraphView.getDocument:()Ljavax/swing/text/Document;
checkcast javax.swing.text.html.HTMLDocument
astore 1
start local 1 1: aload 1
invokevirtual javax.swing.text.html.HTMLDocument.getStyleSheet:()Ljavax/swing/text/html/StyleSheet;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/html/ParagraphView;
1 2 1 doc Ljavax/swing/text/html/HTMLDocument;
protected javax.swing.SizeRequirements calculateMinorAxisRequirements(int, javax.swing.SizeRequirements);
descriptor: (ILjavax/swing/SizeRequirements;)Ljavax/swing/SizeRequirements;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokespecial javax.swing.text.ParagraphView.calculateMinorAxisRequirements:(ILjavax/swing/SizeRequirements;)Ljavax/swing/SizeRequirements;
astore 2
1: iload 1
aload 2
aload 0
getfield javax.swing.text.html.ParagraphView.cssWidth:Ljavax/swing/text/html/CSS$LengthValue;
aload 0
getfield javax.swing.text.html.ParagraphView.cssHeight:Ljavax/swing/text/html/CSS$LengthValue;
invokestatic javax.swing.text.html.BlockView.spanSetFromAttributes:(ILjavax/swing/SizeRequirements;Ljavax/swing/text/html/CSS$LengthValue;Ljavax/swing/text/html/CSS$LengthValue;)Z
ifeq 8
2: iload 1
ifne 3
aload 0
invokevirtual javax.swing.text.html.ParagraphView.getLeftInset:()S
aload 0
invokevirtual javax.swing.text.html.ParagraphView.getRightInset:()S
iadd
goto 4
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.html.ParagraphView.getTopInset:()S
aload 0
invokevirtual javax.swing.text.html.ParagraphView.getBottomInset:()S
iadd
4: StackMap locals:
StackMap stack: int
istore 3
start local 3 5: aload 2
dup
getfield javax.swing.SizeRequirements.minimum:I
iload 3
isub
putfield javax.swing.SizeRequirements.minimum:I
6: aload 2
dup
getfield javax.swing.SizeRequirements.preferred:I
iload 3
isub
putfield javax.swing.SizeRequirements.preferred:I
7: aload 2
dup
getfield javax.swing.SizeRequirements.maximum:I
iload 3
isub
putfield javax.swing.SizeRequirements.maximum:I
end local 3 8: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/text/html/ParagraphView;
0 9 1 axis I
0 9 2 r Ljavax/swing/SizeRequirements;
5 8 3 margin I
MethodParameters:
Name Flags
axis
r
public boolean isVisible();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.html.ParagraphView.getLayoutViewCount:()I
iconst_1
isub
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual javax.swing.text.html.ParagraphView.getLayoutView:(I)Ljavax/swing/text/View;
astore 3
start local 3 4: aload 3
invokevirtual javax.swing.text.View.isVisible:()Z
ifeq 6
5: iconst_1
ireturn
end local 3 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 1
if_icmplt 3
end local 2 8: iload 1
ifle 12
9: aload 0
iload 1
invokevirtual javax.swing.text.html.ParagraphView.getLayoutView:(I)Ljavax/swing/text/View;
astore 2
start local 2 10: aload 2
invokevirtual javax.swing.text.View.getEndOffset:()I
aload 2
invokevirtual javax.swing.text.View.getStartOffset:()I
isub
iconst_1
if_icmpne 12
11: iconst_0
ireturn
end local 2 12: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.html.ParagraphView.getStartOffset:()I
aload 0
invokevirtual javax.swing.text.html.ParagraphView.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
if_icmpne 19
13: iconst_0
istore 2
start local 2 14: aload 0
invokevirtual javax.swing.text.html.ParagraphView.getContainer:()Ljava/awt/Container;
astore 3
start local 3 15: aload 3
instanceof javax.swing.text.JTextComponent
ifeq 17
16: aload 3
checkcast javax.swing.text.JTextComponent
invokevirtual javax.swing.text.JTextComponent.isEditable:()Z
istore 2
17: StackMap locals: int java.awt.Component
StackMap stack:
iload 2
ifne 19
18: iconst_0
ireturn
end local 3 end local 2 19: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/swing/text/html/ParagraphView;
1 20 1 n I
2 8 2 i I
4 6 3 v Ljavax/swing/text/View;
10 12 2 v Ljavax/swing/text/View;
14 19 2 editable Z
15 19 3 c Ljava/awt/Component;
public void paint(java.awt.Graphics, java.awt.Shape);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Shape;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 2
instanceof java.awt.Rectangle
ifeq 5
3: aload 2
checkcast java.awt.Rectangle
astore 3
start local 3 4: goto 6
end local 3 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
astore 3
start local 3 6: StackMap locals: java.awt.Rectangle
StackMap stack:
aload 0
getfield javax.swing.text.html.ParagraphView.painter:Ljavax/swing/text/html/StyleSheet$BoxPainter;
aload 1
aload 3
getfield java.awt.Rectangle.x:I
i2f
aload 3
getfield java.awt.Rectangle.y:I
i2f
aload 3
getfield java.awt.Rectangle.width:I
i2f
aload 3
getfield java.awt.Rectangle.height:I
i2f
aload 0
invokevirtual javax.swing.text.html.StyleSheet$BoxPainter.paint:(Ljava/awt/Graphics;FFFFLjavax/swing/text/View;)V
7: aload 0
aload 1
aload 2
invokespecial javax.swing.text.ParagraphView.paint:(Ljava/awt/Graphics;Ljava/awt/Shape;)V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/text/html/ParagraphView;
0 9 1 g Ljava/awt/Graphics;
0 9 2 a Ljava/awt/Shape;
4 5 3 r Ljava/awt/Rectangle;
6 9 3 r Ljava/awt/Rectangle;
MethodParameters:
Name Flags
g
a
public float getPreferredSpan(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.html.ParagraphView.isVisible:()Z
ifne 2
1: fconst_0
freturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokespecial javax.swing.text.ParagraphView.getPreferredSpan:(I)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/html/ParagraphView;
0 3 1 axis I
MethodParameters:
Name Flags
axis
public float getMinimumSpan(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.html.ParagraphView.isVisible:()Z
ifne 2
1: fconst_0
freturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokespecial javax.swing.text.ParagraphView.getMinimumSpan:(I)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/html/ParagraphView;
0 3 1 axis I
MethodParameters:
Name Flags
axis
public float getMaximumSpan(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.html.ParagraphView.isVisible:()Z
ifne 2
1: fconst_0
freturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokespecial javax.swing.text.ParagraphView.getMaximumSpan:(I)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/html/ParagraphView;
0 3 1 axis I
MethodParameters:
Name Flags
axis
}
SourceFile: "ParagraphView.java"
InnerClasses:
public final Attribute = javax.swing.text.html.CSS$Attribute of javax.swing.text.html.CSS
LengthValue = javax.swing.text.html.CSS$LengthValue of javax.swing.text.html.CSS
public BoxPainter = javax.swing.text.html.StyleSheet$BoxPainter of javax.swing.text.html.StyleSheet