public class javax.swing.plaf.synth.SynthTextPaneUI extends javax.swing.plaf.synth.SynthEditorPaneUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.synth.SynthTextPaneUI
super_class: javax.swing.plaf.synth.SynthEditorPaneUI
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.synth.SynthEditorPaneUI.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/synth/SynthTextPaneUI;
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new javax.swing.plaf.synth.SynthTextPaneUI
dup
invokespecial javax.swing.plaf.synth.SynthTextPaneUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected java.lang.String getPropertyPrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "TextPane"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/synth/SynthTextPaneUI;
public void installUI(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)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.plaf.synth.SynthEditorPaneUI.installUI:(Ljavax/swing/JComponent;)V
1: aload 0
aload 1
invokevirtual javax.swing.JComponent.getForeground:()Ljava/awt/Color;
invokevirtual javax.swing.plaf.synth.SynthTextPaneUI.updateForeground:(Ljava/awt/Color;)V
2: aload 0
aload 1
invokevirtual javax.swing.JComponent.getFont:()Ljava/awt/Font;
invokevirtual javax.swing.plaf.synth.SynthTextPaneUI.updateFont:(Ljava/awt/Font;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/synth/SynthTextPaneUI;
0 4 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.plaf.synth.SynthEditorPaneUI.propertyChange:(Ljava/beans/PropertyChangeEvent;)V
1: aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
ldc "foreground"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: aload 0
aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast java.awt.Color
invokevirtual javax.swing.plaf.synth.SynthTextPaneUI.updateForeground:(Ljava/awt/Color;)V
4: goto 12
StackMap locals: java.lang.String
StackMap stack:
5: aload 2
ldc "font"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 0
aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast java.awt.Font
invokevirtual javax.swing.plaf.synth.SynthTextPaneUI.updateFont:(Ljava/awt/Font;)V
7: goto 12
StackMap locals:
StackMap stack:
8: aload 2
ldc "document"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
9: aload 0
invokevirtual javax.swing.plaf.synth.SynthTextPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
astore 3
start local 3 10: aload 0
aload 3
invokevirtual javax.swing.JComponent.getForeground:()Ljava/awt/Color;
invokevirtual javax.swing.plaf.synth.SynthTextPaneUI.updateForeground:(Ljava/awt/Color;)V
11: aload 0
aload 3
invokevirtual javax.swing.JComponent.getFont:()Ljava/awt/Font;
invokevirtual javax.swing.plaf.synth.SynthTextPaneUI.updateFont:(Ljava/awt/Font;)V
end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/plaf/synth/SynthTextPaneUI;
0 13 1 evt Ljava/beans/PropertyChangeEvent;
2 13 2 name Ljava/lang/String;
10 12 3 comp Ljavax/swing/JComponent;
MethodParameters:
Name Flags
evt
private void updateForeground(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.synth.SynthTextPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
checkcast javax.swing.text.StyledDocument
astore 2
start local 2 1: aload 2
ldc "default"
invokeinterface javax.swing.text.StyledDocument.getStyle:(Ljava/lang/String;)Ljavax/swing/text/Style;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: return
4: StackMap locals: javax.swing.text.StyledDocument javax.swing.text.Style
StackMap stack:
aload 1
ifnonnull 7
5: aload 3
getstatic javax.swing.text.StyleConstants.Foreground:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.removeAttribute:(Ljava/lang/Object;)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 3
aload 1
invokestatic javax.swing.text.StyleConstants.setForeground:(Ljavax/swing/text/MutableAttributeSet;Ljava/awt/Color;)V
8: StackMap locals:
StackMap stack:
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/plaf/synth/SynthTextPaneUI;
0 9 1 color Ljava/awt/Color;
1 9 2 doc Ljavax/swing/text/StyledDocument;
2 9 3 style Ljavax/swing/text/Style;
MethodParameters:
Name Flags
color
private void updateFont(java.awt.Font);
descriptor: (Ljava/awt/Font;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.synth.SynthTextPaneUI.getComponent:()Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
checkcast javax.swing.text.StyledDocument
astore 2
start local 2 1: aload 2
ldc "default"
invokeinterface javax.swing.text.StyledDocument.getStyle:(Ljava/lang/String;)Ljavax/swing/text/Style;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: return
4: StackMap locals: javax.swing.text.StyledDocument javax.swing.text.Style
StackMap stack:
aload 1
ifnonnull 10
5: aload 3
getstatic javax.swing.text.StyleConstants.FontFamily:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.removeAttribute:(Ljava/lang/Object;)V
6: aload 3
getstatic javax.swing.text.StyleConstants.FontSize:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.removeAttribute:(Ljava/lang/Object;)V
7: aload 3
getstatic javax.swing.text.StyleConstants.Bold:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.removeAttribute:(Ljava/lang/Object;)V
8: aload 3
getstatic javax.swing.text.StyleConstants.Italic:Ljava/lang/Object;
invokeinterface javax.swing.text.Style.removeAttribute:(Ljava/lang/Object;)V
9: goto 14
10: StackMap locals:
StackMap stack:
aload 3
aload 1
invokevirtual java.awt.Font.getName:()Ljava/lang/String;
invokestatic javax.swing.text.StyleConstants.setFontFamily:(Ljavax/swing/text/MutableAttributeSet;Ljava/lang/String;)V
11: aload 3
aload 1
invokevirtual java.awt.Font.getSize:()I
invokestatic javax.swing.text.StyleConstants.setFontSize:(Ljavax/swing/text/MutableAttributeSet;I)V
12: aload 3
aload 1
invokevirtual java.awt.Font.isBold:()Z
invokestatic javax.swing.text.StyleConstants.setBold:(Ljavax/swing/text/MutableAttributeSet;Z)V
13: aload 3
aload 1
invokevirtual java.awt.Font.isItalic:()Z
invokestatic javax.swing.text.StyleConstants.setItalic:(Ljavax/swing/text/MutableAttributeSet;Z)V
14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/plaf/synth/SynthTextPaneUI;
0 15 1 font Ljava/awt/Font;
1 15 2 doc Ljavax/swing/text/StyledDocument;
2 15 3 style Ljavax/swing/text/Style;
MethodParameters:
Name Flags
font
void paintBackground(javax.swing.plaf.synth.SynthContext, java.awt.Graphics, javax.swing.JComponent);
descriptor: (Ljavax/swing/plaf/synth/SynthContext;Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
flags: (0x0000)
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual javax.swing.plaf.synth.SynthContext.getPainter:()Ljavax/swing/plaf/synth/SynthPainter;
aload 1
aload 2
iconst_0
iconst_0
1: aload 3
invokevirtual javax.swing.JComponent.getWidth:()I
aload 3
invokevirtual javax.swing.JComponent.getHeight:()I
2: invokevirtual javax.swing.plaf.synth.SynthPainter.paintTextPaneBackground:(Ljavax/swing/plaf/synth/SynthContext;Ljava/awt/Graphics;IIII)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/synth/SynthTextPaneUI;
0 4 1 context Ljavax/swing/plaf/synth/SynthContext;
0 4 2 g Ljava/awt/Graphics;
0 4 3 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
context
g
c
public void paintBorder(javax.swing.plaf.synth.SynthContext, java.awt.Graphics, int, int, int, int);
descriptor: (Ljavax/swing/plaf/synth/SynthContext;Ljava/awt/Graphics;IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, 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 javax.swing.plaf.synth.SynthContext.getPainter:()Ljavax/swing/plaf/synth/SynthPainter;
aload 1
aload 2
iload 3
iload 4
iload 5
iload 6
invokevirtual javax.swing.plaf.synth.SynthPainter.paintTextPaneBorder:(Ljavax/swing/plaf/synth/SynthContext;Ljava/awt/Graphics;IIII)V
1: return
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 2 0 this Ljavax/swing/plaf/synth/SynthTextPaneUI;
0 2 1 context Ljavax/swing/plaf/synth/SynthContext;
0 2 2 g Ljava/awt/Graphics;
0 2 3 x I
0 2 4 y I
0 2 5 w I
0 2 6 h I
MethodParameters:
Name Flags
context
g
x
y
w
h
}
SourceFile: "SynthTextPaneUI.java"