public class javax.swing.text.LabelView extends javax.swing.text.GlyphView implements javax.swing.text.TabableView
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.LabelView
super_class: javax.swing.text.GlyphView
{
private java.awt.Font font;
descriptor: Ljava/awt/Font;
flags: (0x0002) ACC_PRIVATE
private java.awt.Color fg;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private java.awt.Color bg;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private boolean underline;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean strike;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean superscript;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean subscript;
descriptor: Z
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.GlyphView.<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/LabelView;
0 2 1 elem Ljavax/swing/text/Element;
MethodParameters:
Name Flags
elem
final void sync();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.LabelView.font:Ljava/awt/Font;
ifnonnull 2
1: aload 0
invokevirtual javax.swing.text.LabelView.setPropertiesFromAttributes:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/LabelView;
protected void setUnderline(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.LabelView.underline:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/LabelView;
0 2 1 u Z
MethodParameters:
Name Flags
u
protected void setStrikeThrough(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.LabelView.strike:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/LabelView;
0 2 1 s Z
MethodParameters:
Name Flags
s
protected void setSuperscript(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.LabelView.superscript:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/LabelView;
0 2 1 s Z
MethodParameters:
Name Flags
s
protected void setSubscript(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.LabelView.subscript:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/LabelView;
0 2 1 s Z
MethodParameters:
Name Flags
s
protected void setBackground(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.text.LabelView.bg:Ljava/awt/Color;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/LabelView;
0 2 1 bg Ljava/awt/Color;
MethodParameters:
Name Flags
bg
protected void setPropertiesFromAttributes();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.LabelView.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 1
start local 1 1: aload 1
ifnull 17
2: aload 0
invokevirtual javax.swing.text.LabelView.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 3: aload 2
instanceof javax.swing.text.StyledDocument
ifeq 16
4: aload 2
checkcast javax.swing.text.StyledDocument
astore 3
start local 3 5: aload 0
aload 3
aload 1
invokeinterface javax.swing.text.StyledDocument.getFont:(Ljavax/swing/text/AttributeSet;)Ljava/awt/Font;
putfield javax.swing.text.LabelView.font:Ljava/awt/Font;
6: aload 0
aload 3
aload 1
invokeinterface javax.swing.text.StyledDocument.getForeground:(Ljavax/swing/text/AttributeSet;)Ljava/awt/Color;
putfield javax.swing.text.LabelView.fg:Ljava/awt/Color;
7: aload 1
getstatic javax.swing.text.StyleConstants.Background:Ljava/lang/Object;
invokeinterface javax.swing.text.AttributeSet.isDefined:(Ljava/lang/Object;)Z
ifeq 10
8: aload 0
aload 3
aload 1
invokeinterface javax.swing.text.StyledDocument.getBackground:(Ljavax/swing/text/AttributeSet;)Ljava/awt/Color;
putfield javax.swing.text.LabelView.bg:Ljava/awt/Color;
9: goto 11
10: StackMap locals: javax.swing.text.AttributeSet javax.swing.text.Document javax.swing.text.StyledDocument
StackMap stack:
aload 0
aconst_null
putfield javax.swing.text.LabelView.bg:Ljava/awt/Color;
11: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic javax.swing.text.StyleConstants.isUnderline:(Ljavax/swing/text/AttributeSet;)Z
invokevirtual javax.swing.text.LabelView.setUnderline:(Z)V
12: aload 0
aload 1
invokestatic javax.swing.text.StyleConstants.isStrikeThrough:(Ljavax/swing/text/AttributeSet;)Z
invokevirtual javax.swing.text.LabelView.setStrikeThrough:(Z)V
13: aload 0
aload 1
invokestatic javax.swing.text.StyleConstants.isSuperscript:(Ljavax/swing/text/AttributeSet;)Z
invokevirtual javax.swing.text.LabelView.setSuperscript:(Z)V
14: aload 0
aload 1
invokestatic javax.swing.text.StyleConstants.isSubscript:(Ljavax/swing/text/AttributeSet;)Z
invokevirtual javax.swing.text.LabelView.setSubscript:(Z)V
end local 3 15: goto 17
16: StackMap locals:
StackMap stack:
new javax.swing.text.StateInvariantError
dup
ldc "LabelView needs StyledDocument"
invokespecial javax.swing.text.StateInvariantError.<init>:(Ljava/lang/String;)V
athrow
end local 2 17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/swing/text/LabelView;
1 18 1 attr Ljavax/swing/text/AttributeSet;
3 17 2 d Ljavax/swing/text/Document;
5 15 3 doc Ljavax/swing/text/StyledDocument;
protected java.awt.FontMetrics getFontMetrics();
descriptor: ()Ljava/awt/FontMetrics;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.LabelView.sync:()V
1: aload 0
invokevirtual javax.swing.text.LabelView.getContainer:()Ljava/awt/Container;
astore 1
start local 1 2: aload 1
ifnull 3
aload 1
aload 0
getfield javax.swing.text.LabelView.font:Ljava/awt/Font;
invokevirtual java.awt.Container.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
goto 4
3: StackMap locals: java.awt.Container
StackMap stack:
invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
aload 0
getfield javax.swing.text.LabelView.font:Ljava/awt/Font;
invokevirtual java.awt.Toolkit.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
4: StackMap locals:
StackMap stack: java.awt.FontMetrics
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/LabelView;
2 5 1 c Ljava/awt/Container;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public java.awt.Color getBackground();
descriptor: ()Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.LabelView.sync:()V
1: aload 0
getfield javax.swing.text.LabelView.bg:Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/LabelView;
public java.awt.Color getForeground();
descriptor: ()Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.LabelView.sync:()V
1: aload 0
getfield javax.swing.text.LabelView.fg:Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/LabelView;
public java.awt.Font getFont();
descriptor: ()Ljava/awt/Font;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.LabelView.sync:()V
1: aload 0
getfield javax.swing.text.LabelView.font:Ljava/awt/Font;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/LabelView;
public boolean isUnderline();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.LabelView.sync:()V
1: aload 0
getfield javax.swing.text.LabelView.underline:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/LabelView;
public boolean isStrikeThrough();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.LabelView.sync:()V
1: aload 0
getfield javax.swing.text.LabelView.strike:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/LabelView;
public boolean isSubscript();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.LabelView.sync:()V
1: aload 0
getfield javax.swing.text.LabelView.subscript:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/LabelView;
public boolean isSuperscript();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.LabelView.sync:()V
1: aload 0
getfield javax.swing.text.LabelView.superscript:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/LabelView;
public void changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory);
descriptor: (Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;Ljavax/swing/text/ViewFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aconst_null
putfield javax.swing.text.LabelView.font:Ljava/awt/Font;
1: aload 0
aload 1
aload 2
aload 3
invokespecial javax.swing.text.GlyphView.changedUpdate:(Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;Ljavax/swing/text/ViewFactory;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/LabelView;
0 3 1 e Ljavax/swing/event/DocumentEvent;
0 3 2 a Ljava/awt/Shape;
0 3 3 f Ljavax/swing/text/ViewFactory;
MethodParameters:
Name Flags
e
a
f
}
SourceFile: "LabelView.java"