public class javax.swing.plaf.basic.BasicTextFieldUI 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.BasicTextFieldUI
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.BasicTextFieldUI
dup
invokespecial javax.swing.plaf.basic.BasicTextFieldUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
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/BasicTextFieldUI;
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 "TextField"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTextFieldUI;
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=5, 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: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 3
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 9
3: aload 1
invokeinterface javax.swing.text.Element.getName:()Ljava/lang/String;
astore 4
start local 4 4: aload 4
ifnull 9
5: aload 4
ldc "content"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: new javax.swing.plaf.basic.BasicTextFieldUI$1
dup
aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicTextFieldUI$1.<init>:(Ljavax/swing/plaf/basic/BasicTextFieldUI;Ljavax/swing/text/Element;)V
areturn
7: StackMap locals: javax.swing.text.Document java.lang.Object java.lang.String
StackMap stack:
aload 4
ldc "paragraph"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: new javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView
dup
aload 1
invokespecial javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.<init>:(Ljavax/swing/text/Element;)V
areturn
end local 4 9: StackMap locals:
StackMap stack:
new javax.swing.text.FieldView
dup
aload 1
invokespecial javax.swing.text.FieldView.<init>:(Ljavax/swing/text/Element;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/plaf/basic/BasicTextFieldUI;
0 10 1 elem Ljavax/swing/text/Element;
1 10 2 doc Ljavax/swing/text/Document;
2 10 3 i18nFlag Ljava/lang/Object;
4 9 4 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=10, 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 0
aload 1
checkcast javax.swing.text.JTextComponent
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI.getRootView:(Ljavax/swing/text/JTextComponent;)Ljavax/swing/text/View;
astore 4
start local 4 2: aload 4
invokevirtual javax.swing.text.View.getViewCount:()I
ifle 23
3: aload 1
invokevirtual javax.swing.JComponent.getInsets:()Ljava/awt/Insets;
astore 5
start local 5 4: iload 3
aload 5
getfield java.awt.Insets.top:I
isub
aload 5
getfield java.awt.Insets.bottom:I
isub
istore 3
5: iload 3
ifle 23
6: aload 5
getfield java.awt.Insets.top:I
istore 6
start local 6 7: aload 4
iconst_0
invokevirtual javax.swing.text.View.getView:(I)Ljavax/swing/text/View;
astore 7
start local 7 8: aload 7
iconst_1
invokevirtual javax.swing.text.View.getPreferredSpan:(I)F
f2i
istore 8
start local 8 9: iload 3
iload 8
if_icmpeq 12
10: iload 3
iload 8
isub
istore 9
start local 9 11: iload 6
iload 9
iconst_2
idiv
iadd
istore 6
end local 9 12: StackMap locals: javax.swing.plaf.basic.BasicTextFieldUI javax.swing.JComponent int int javax.swing.text.View java.awt.Insets int javax.swing.text.View int
StackMap stack:
aload 7
instanceof javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView
ifeq 20
13: aload 7
iload 2
aload 5
getfield java.awt.Insets.left:I
isub
aload 5
getfield java.awt.Insets.right:I
isub
14: iload 3
15: invokestatic javax.swing.plaf.basic.BasicHTML.getBaseline:(Ljavax/swing/text/View;II)I
istore 9
start local 9 16: iload 9
ifge 18
17: iconst_m1
ireturn
18: StackMap locals: int
StackMap stack:
iload 6
iload 9
iadd
istore 6
end local 9 19: goto 22
20: 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 9
start local 9 21: iload 6
aload 9
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
istore 6
end local 9 22: StackMap locals:
StackMap stack:
iload 6
ireturn
end local 8 end local 7 end local 6 end local 5 23: StackMap locals: javax.swing.plaf.basic.BasicTextFieldUI javax.swing.JComponent int int javax.swing.text.View
StackMap stack:
iconst_m1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljavax/swing/plaf/basic/BasicTextFieldUI;
0 24 1 c Ljavax/swing/JComponent;
0 24 2 width I
0 24 3 height I
2 24 4 rootView Ljavax/swing/text/View;
4 23 5 insets Ljava/awt/Insets;
7 23 6 baseline I
8 23 7 fieldView Ljavax/swing/text/View;
9 23 8 vspan I
11 12 9 slop I
16 19 9 fieldBaseline I
21 22 9 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.CENTER_OFFSET: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/BasicTextFieldUI;
0 2 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
}
SourceFile: "BasicTextFieldUI.java"
NestMembers:
javax.swing.plaf.basic.BasicTextFieldUI$1 javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView
InnerClasses:
public final BaselineResizeBehavior = java.awt.Component$BaselineResizeBehavior of java.awt.Component
javax.swing.plaf.basic.BasicTextFieldUI$1
I18nFieldView = javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView of javax.swing.plaf.basic.BasicTextFieldUI