class javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView extends javax.swing.text.html.BlockView implements java.awt.event.ComponentListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView
super_class: javax.swing.text.html.BlockView
{
private java.lang.ref.Reference<javax.swing.JViewport> cachedViewPort;
descriptor: Ljava/lang/ref/Reference;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/ref/Reference<Ljavax/swing/JViewport;>;
private boolean isListening;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int viewVisibleWidth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int componentVisibleWidth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokespecial javax.swing.text.html.BlockView.<init>:(Ljavax/swing/text/Element;I)V
1: aload 0
aconst_null
putfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.cachedViewPort:Ljava/lang/ref/Reference;
2: aload 0
iconst_0
putfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.isListening:Z
3: aload 0
ldc 2147483647
putfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.viewVisibleWidth:I
4: aload 0
ldc 2147483647
putfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.componentVisibleWidth:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/html/HTMLEditorKit$HTMLFactory$BodyBlockView;
0 6 1 elem Ljavax/swing/text/Element;
MethodParameters:
Name Flags
elem
protected javax.swing.SizeRequirements calculateMajorAxisRequirements(int, javax.swing.SizeRequirements);
descriptor: (ILjavax/swing/SizeRequirements;)Ljavax/swing/SizeRequirements;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokespecial javax.swing.text.html.BlockView.calculateMajorAxisRequirements:(ILjavax/swing/SizeRequirements;)Ljavax/swing/SizeRequirements;
astore 2
1: aload 2
ldc 2147483647
putfield javax.swing.SizeRequirements.maximum:I
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/html/HTMLEditorKit$HTMLFactory$BodyBlockView;
0 3 1 axis I
0 3 2 r Ljavax/swing/SizeRequirements;
MethodParameters:
Name Flags
axis
r
protected void layoutMinorAxis(int, int, int[], int[]);
descriptor: (II[I[I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.getContainer:()Ljava/awt/Container;
astore 5
start local 5 1: aload 5
ifnull 23
2: aload 5
instanceof javax.swing.JEditorPane
ifeq 23
3: aload 5
invokevirtual java.awt.Container.getParent:()Ljava/awt/Container;
dup
astore 6
start local 6 4: ifnull 23
5: aload 6
instanceof javax.swing.JViewport
ifeq 23
6: aload 6
checkcast javax.swing.JViewport
astore 7
start local 7 7: aload 0
getfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.cachedViewPort:Ljava/lang/ref/Reference;
ifnull 14
8: aload 0
getfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.cachedViewPort:Ljava/lang/ref/Reference;
invokevirtual java.lang.ref.Reference.get:()Ljava/lang/Object;
checkcast javax.swing.JViewport
astore 8
start local 8 9: aload 8
ifnull 13
10: aload 8
aload 7
if_acmpeq 14
11: aload 8
aload 0
invokevirtual javax.swing.JViewport.removeComponentListener:(Ljava/awt/event/ComponentListener;)V
12: goto 14
13: StackMap locals: javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView int int int[] int[] java.awt.Container java.awt.Container javax.swing.JViewport javax.swing.JViewport
StackMap stack:
aload 0
aconst_null
putfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.cachedViewPort:Ljava/lang/ref/Reference;
end local 8 14: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.cachedViewPort:Ljava/lang/ref/Reference;
ifnonnull 17
15: aload 7
aload 0
invokevirtual javax.swing.JViewport.addComponentListener:(Ljava/awt/event/ComponentListener;)V
16: aload 0
new java.lang.ref.WeakReference
dup
aload 7
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.cachedViewPort:Ljava/lang/ref/Reference;
17: StackMap locals:
StackMap stack:
aload 0
aload 7
invokevirtual javax.swing.JViewport.getExtentSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
putfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.componentVisibleWidth:I
18: aload 0
getfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.componentVisibleWidth:I
ifle 28
19: aload 5
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 8
start local 8 20: aload 0
aload 0
getfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.componentVisibleWidth:I
aload 8
getfield java.awt.Insets.left:I
isub
aload 0
invokevirtual javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.getLeftInset:()S
isub
putfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.viewVisibleWidth:I
21: iload 1
aload 0
getfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.viewVisibleWidth:I
invokestatic java.lang.Math.min:(II)I
istore 1
end local 8 end local 7 22: goto 28
end local 6 23: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.cachedViewPort:Ljava/lang/ref/Reference;
ifnull 28
24: aload 0
getfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.cachedViewPort:Ljava/lang/ref/Reference;
invokevirtual java.lang.ref.Reference.get:()Ljava/lang/Object;
checkcast javax.swing.JViewport
astore 7
start local 7 25: aload 7
ifnull 27
26: aload 7
aload 0
invokevirtual javax.swing.JViewport.removeComponentListener:(Ljava/awt/event/ComponentListener;)V
27: StackMap locals: javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView int int int[] int[] java.awt.Container top javax.swing.JViewport
StackMap stack:
aload 0
aconst_null
putfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.cachedViewPort:Ljava/lang/ref/Reference;
end local 7 28: StackMap locals: javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView int int int[] int[] java.awt.Container
StackMap stack:
aload 0
iload 1
iload 2
aload 3
aload 4
invokespecial javax.swing.text.html.BlockView.layoutMinorAxis:(II[I[I)V
29: 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/HTMLEditorKit$HTMLFactory$BodyBlockView;
0 30 1 targetSpan I
0 30 2 axis I
0 30 3 offsets [I
0 30 4 spans [I
1 30 5 container Ljava/awt/Container;
4 23 6 parentContainer Ljava/awt/Container;
7 22 7 viewPort Ljavax/swing/JViewport;
9 14 8 cachedObject Ljavax/swing/JViewport;
20 22 8 insets Ljava/awt/Insets;
25 28 7 cachedObject Ljavax/swing/JViewport;
MethodParameters:
Name Flags
targetSpan
axis
offsets
spans
public void setParent(javax.swing.text.View);
descriptor: (Ljavax/swing/text/View;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 6
1: aload 0
getfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.cachedViewPort:Ljava/lang/ref/Reference;
ifnull 6
2: aload 0
getfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.cachedViewPort:Ljava/lang/ref/Reference;
invokevirtual java.lang.ref.Reference.get:()Ljava/lang/Object;
dup
astore 2
start local 2 3: ifnull 5
4: aload 2
checkcast javax.swing.JComponent
aload 0
invokevirtual javax.swing.JComponent.removeComponentListener:(Ljava/awt/event/ComponentListener;)V
5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aconst_null
putfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.cachedViewPort:Ljava/lang/ref/Reference;
end local 2 6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial javax.swing.text.html.BlockView.setParent:(Ljavax/swing/text/View;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/html/HTMLEditorKit$HTMLFactory$BodyBlockView;
0 8 1 parent Ljavax/swing/text/View;
3 6 2 cachedObject Ljava/lang/Object;
MethodParameters:
Name Flags
parent
public void componentResized(java.awt.event.ComponentEvent);
descriptor: (Ljava/awt/event/ComponentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ComponentEvent.getSource:()Ljava/lang/Object;
instanceof javax.swing.JViewport
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.ComponentEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JViewport
astore 2
start local 2 3: aload 0
getfield javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.componentVisibleWidth:I
aload 2
invokevirtual javax.swing.JViewport.getExtentSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
if_icmpeq 15
4: aload 0
invokevirtual javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.getDocument:()Ljavax/swing/text/Document;
astore 3
start local 3 5: aload 3
instanceof javax.swing.text.AbstractDocument
ifeq 15
6: aload 0
invokevirtual javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.getDocument:()Ljavax/swing/text/Document;
checkcast javax.swing.text.AbstractDocument
astore 4
start local 4 7: aload 4
invokevirtual javax.swing.text.AbstractDocument.readLock:()V
8: aload 0
iconst_0
invokevirtual javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.layoutChanged:(I)V
9: aload 0
aconst_null
iconst_1
iconst_1
invokevirtual javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.preferenceChanged:(Ljavax/swing/text/View;ZZ)V
10: goto 14
StackMap locals: javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView java.awt.event.ComponentEvent javax.swing.JViewport javax.swing.text.Document javax.swing.text.AbstractDocument
StackMap stack: java.lang.Throwable
11: astore 5
12: aload 4
invokevirtual javax.swing.text.AbstractDocument.readUnlock:()V
13: aload 5
athrow
14: StackMap locals:
StackMap stack:
aload 4
invokevirtual javax.swing.text.AbstractDocument.readUnlock:()V
end local 4 end local 3 15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/text/html/HTMLEditorKit$HTMLFactory$BodyBlockView;
0 16 1 e Ljava/awt/event/ComponentEvent;
3 16 2 viewPort Ljavax/swing/JViewport;
5 15 3 doc Ljavax/swing/text/Document;
7 15 4 document Ljavax/swing/text/AbstractDocument;
Exception table:
from to target type
8 11 11 any
MethodParameters:
Name Flags
e
public void componentHidden(java.awt.event.ComponentEvent);
descriptor: (Ljava/awt/event/ComponentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, 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 Ljavax/swing/text/html/HTMLEditorKit$HTMLFactory$BodyBlockView;
0 1 1 e Ljava/awt/event/ComponentEvent;
MethodParameters:
Name Flags
e
public void componentMoved(java.awt.event.ComponentEvent);
descriptor: (Ljava/awt/event/ComponentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, 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 Ljavax/swing/text/html/HTMLEditorKit$HTMLFactory$BodyBlockView;
0 1 1 e Ljava/awt/event/ComponentEvent;
MethodParameters:
Name Flags
e
public void componentShown(java.awt.event.ComponentEvent);
descriptor: (Ljava/awt/event/ComponentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, 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 Ljavax/swing/text/html/HTMLEditorKit$HTMLFactory$BodyBlockView;
0 1 1 e Ljava/awt/event/ComponentEvent;
MethodParameters:
Name Flags
e
}
SourceFile: "HTMLEditorKit.java"
NestHost: javax.swing.text.html.HTMLEditorKit
InnerClasses:
public HTMLFactory = javax.swing.text.html.HTMLEditorKit$HTMLFactory of javax.swing.text.html.HTMLEditorKit
BodyBlockView = javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView of javax.swing.text.html.HTMLEditorKit$HTMLFactory