public class javax.swing.plaf.basic.BasicTextAreaUI extends javax.swing.plaf.basic.BasicTextUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.basic.BasicTextAreaUI
super_class: javax.swing.plaf.basic.BasicTextUI
{
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.basic.BasicTextAreaUI
dup
invokespecial javax.swing.plaf.basic.BasicTextAreaUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ta Ljavax/swing/JComponent;
MethodParameters:
Name Flags
ta
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.basic.BasicTextUI.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicTextAreaUI;
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 "TextArea"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTextAreaUI;
protected void installDefaults();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicTextUI.installDefaults:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicTextAreaUI;
protected void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicTextUI.propertyChange:(Ljava/beans/PropertyChangeEvent;)V
1: aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
ldc "lineWrap"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
2: aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
ldc "wrapStyleWord"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
ldc "tabSize"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.plaf.basic.BasicTextAreaUI.modelChanged:()V
5: goto 8
StackMap locals:
StackMap stack:
6: ldc "editable"
aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 0
invokevirtual javax.swing.plaf.basic.BasicTextAreaUI.updateFocusTraversalKeys:()V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/basic/BasicTextAreaUI;
0 9 1 evt Ljava/beans/PropertyChangeEvent;
MethodParameters:
Name Flags
evt
public java.awt.Dimension getPreferredSize(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
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.basic.BasicTextUI.getPreferredSize:(Ljavax/swing/JComponent;)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTextAreaUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public java.awt.Dimension getMinimumSize(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
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.basic.BasicTextUI.getMinimumSize:(Ljavax/swing/JComponent;)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTextAreaUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public javax.swing.text.View create(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)Ljavax/swing/text/View;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.swing.text.Element.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 1: aload 2
ldc "i18n"
invokeinterface javax.swing.text.Document.getProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 2: aload 3
ifnull 4
aload 3
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicTextAreaUI.createI18N:(Ljavax/swing/text/Element;)Ljavax/swing/text/View;
areturn
4: StackMap locals: javax.swing.text.Document java.lang.Object
StackMap stack:
aload 0
invokevirtual javax.swing.plaf.basic.BasicTextAreaUI.getComponent:()Ljavax/swing/text/JTextComponent;
astore 4
start local 4 5: aload 4
instanceof javax.swing.JTextArea
ifeq 12
6: aload 4
checkcast javax.swing.JTextArea
astore 5
start local 5 7: aload 5
invokevirtual javax.swing.JTextArea.getLineWrap:()Z
ifeq 10
8: new javax.swing.text.WrappedPlainView
dup
aload 1
aload 5
invokevirtual javax.swing.JTextArea.getWrapStyleWord:()Z
invokespecial javax.swing.text.WrappedPlainView.<init>:(Ljavax/swing/text/Element;Z)V
astore 6
start local 6 9: goto 11
end local 6 10: StackMap locals: javax.swing.text.JTextComponent javax.swing.JTextArea
StackMap stack:
new javax.swing.text.PlainView
dup
aload 1
invokespecial javax.swing.text.PlainView.<init>:(Ljavax/swing/text/Element;)V
astore 6
start local 6 11: StackMap locals: javax.swing.text.View
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/plaf/basic/BasicTextAreaUI;
0 13 1 elem Ljavax/swing/text/Element;
1 13 2 doc Ljavax/swing/text/Document;
2 13 3 i18nFlag Ljava/lang/Object;
5 12 4 c Ljavax/swing/text/JTextComponent;
7 12 5 area Ljavax/swing/JTextArea;
9 10 6 v Ljavax/swing/text/View;
11 12 6 v Ljavax/swing/text/View;
MethodParameters:
Name Flags
elem
javax.swing.text.View createI18N(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)Ljavax/swing/text/View;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.swing.text.Element.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 6
2: aload 2
ldc "content"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: new javax.swing.plaf.basic.BasicTextAreaUI$PlainParagraph
dup
aload 1
invokespecial javax.swing.plaf.basic.BasicTextAreaUI$PlainParagraph.<init>:(Ljavax/swing/text/Element;)V
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "paragraph"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: new javax.swing.text.BoxView
dup
aload 1
iconst_1
invokespecial javax.swing.text.BoxView.<init>:(Ljavax/swing/text/Element;I)V
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/plaf/basic/BasicTextAreaUI;
0 7 1 elem Ljavax/swing/text/Element;
1 7 2 kind Ljava/lang/String;
MethodParameters:
Name Flags
elem
public int getBaseline(javax.swing.JComponent, int, int);
descriptor: (Ljavax/swing/JComponent;II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokespecial javax.swing.plaf.basic.BasicTextUI.getBaseline:(Ljavax/swing/JComponent;II)I
pop
1: aload 1
checkcast javax.swing.text.JTextComponent
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
2: ldc "i18n"
invokeinterface javax.swing.text.Document.getProperty:(Ljava/lang/Object;)Ljava/lang/Object;
3: astore 4
start local 4 4: aload 1
invokevirtual javax.swing.JComponent.getInsets:()Ljava/awt/Insets;
astore 5
start local 5 5: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 4
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 17
6: aload 0
aload 1
checkcast javax.swing.text.JTextComponent
invokevirtual javax.swing.plaf.basic.BasicTextAreaUI.getRootView:(Ljavax/swing/text/JTextComponent;)Ljavax/swing/text/View;
astore 6
start local 6 7: aload 6
invokevirtual javax.swing.text.View.getViewCount:()I
ifle 16
8: iload 3
aload 5
getfield java.awt.Insets.top:I
isub
aload 5
getfield java.awt.Insets.bottom:I
isub
istore 3
9: aload 5
getfield java.awt.Insets.top:I
istore 7
start local 7 10: aload 6
iconst_0
invokevirtual javax.swing.text.View.getView:(I)Ljavax/swing/text/View;
iload 2
aload 5
getfield java.awt.Insets.left:I
isub
11: aload 5
getfield java.awt.Insets.right:I
isub
iload 3
12: invokestatic javax.swing.plaf.basic.BasicHTML.getBaseline:(Ljavax/swing/text/View;II)I
istore 8
start local 8 13: iload 8
ifge 15
14: iconst_m1
ireturn
15: StackMap locals: javax.swing.plaf.basic.BasicTextAreaUI javax.swing.JComponent int int java.lang.Object java.awt.Insets javax.swing.text.View int int
StackMap stack:
iload 7
iload 8
iadd
ireturn
end local 8 end local 7 16: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 6 17: StackMap locals:
StackMap stack:
aload 1
aload 1
invokevirtual javax.swing.JComponent.getFont:()Ljava/awt/Font;
invokevirtual javax.swing.JComponent.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 6
start local 6 18: aload 5
getfield java.awt.Insets.top:I
aload 6
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
ireturn
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 19 0 this Ljavax/swing/plaf/basic/BasicTextAreaUI;
0 19 1 c Ljavax/swing/JComponent;
0 19 2 width I
0 19 3 height I
4 19 4 i18nFlag Ljava/lang/Object;
5 19 5 insets Ljava/awt/Insets;
7 17 6 rootView Ljavax/swing/text/View;
10 16 7 baseline I
13 16 8 fieldBaseline I
18 19 6 fm Ljava/awt/FontMetrics;
MethodParameters:
Name Flags
c
width
height
public java.awt.Component$BaselineResizeBehavior getBaselineResizeBehavior(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Component$BaselineResizeBehavior;
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.basic.BasicTextUI.getBaselineResizeBehavior:(Ljavax/swing/JComponent;)Ljava/awt/Component$BaselineResizeBehavior;
pop
1: getstatic java.awt.Component$BaselineResizeBehavior.CONSTANT_ASCENT:Ljava/awt/Component$BaselineResizeBehavior;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicTextAreaUI;
0 2 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
}
SourceFile: "BasicTextAreaUI.java"
NestMembers:
javax.swing.plaf.basic.BasicTextAreaUI$PlainParagraph javax.swing.plaf.basic.BasicTextAreaUI$PlainParagraph$LogicalView
InnerClasses:
public final BaselineResizeBehavior = java.awt.Component$BaselineResizeBehavior of java.awt.Component
PlainParagraph = javax.swing.plaf.basic.BasicTextAreaUI$PlainParagraph of javax.swing.plaf.basic.BasicTextAreaUI