class javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView extends javax.swing.text.ParagraphView
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView
super_class: javax.swing.text.ParagraphView
{
void <init>(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.text.ParagraphView.<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/plaf/basic/BasicTextFieldUI$I18nFieldView;
0 2 1 elem Ljavax/swing/text/Element;
MethodParameters:
Name Flags
elem
public int getFlowSpan(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc 2147483647
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTextFieldUI$I18nFieldView;
0 1 1 index I
MethodParameters:
Name Flags
index
protected void setJustification(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
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/plaf/basic/BasicTextFieldUI$I18nFieldView;
0 1 1 j I
MethodParameters:
Name Flags
j
static boolean isLeftToRight(java.awt.Component);
descriptor: (Ljava/awt/Component;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Component.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
java.awt.Shape adjustAllocation(java.awt.Shape);
descriptor: (Ljava/awt/Shape;)Ljava/awt/Shape;
flags: (0x0000)
Code:
stack=6, locals=13, args_size=2
start local 0 start local 1 0: aload 1
ifnull 45
1: aload 1
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
astore 2
start local 2 2: aload 0
iconst_1
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.getPreferredSpan:(I)F
f2i
istore 3
start local 3 3: aload 0
iconst_0
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.getPreferredSpan:(I)F
f2i
istore 4
start local 4 4: aload 2
getfield java.awt.Rectangle.height:I
iload 3
if_icmpeq 8
5: aload 2
getfield java.awt.Rectangle.height:I
iload 3
isub
istore 5
start local 5 6: aload 2
dup
getfield java.awt.Rectangle.y:I
iload 5
iconst_2
idiv
iadd
putfield java.awt.Rectangle.y:I
7: aload 2
dup
getfield java.awt.Rectangle.height:I
iload 5
isub
putfield java.awt.Rectangle.height:I
end local 5 8: StackMap locals: java.awt.Rectangle int int
StackMap stack:
aload 0
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.getContainer:()Ljava/awt/Container;
astore 5
start local 5 9: aload 5
instanceof javax.swing.JTextField
ifeq 44
10: aload 5
checkcast javax.swing.JTextField
astore 6
start local 6 11: aload 6
invokevirtual javax.swing.JTextField.getHorizontalVisibility:()Ljavax/swing/BoundedRangeModel;
astore 7
start local 7 12: iload 4
aload 2
getfield java.awt.Rectangle.width:I
invokestatic java.lang.Math.max:(II)I
istore 8
start local 8 13: aload 7
invokeinterface javax.swing.BoundedRangeModel.getValue:()I
istore 9
start local 9 14: iload 8
aload 2
getfield java.awt.Rectangle.width:I
iconst_1
isub
invokestatic java.lang.Math.min:(II)I
istore 10
start local 10 15: iload 9
iload 10
iadd
iload 8
if_icmple 17
16: iload 8
iload 10
isub
istore 9
17: StackMap locals: javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView java.awt.Shape java.awt.Rectangle int int java.awt.Component javax.swing.JTextField javax.swing.BoundedRangeModel int int int
StackMap stack:
aload 7
iload 9
iload 10
aload 7
invokeinterface javax.swing.BoundedRangeModel.getMinimum:()I
18: iload 8
iconst_0
19: invokeinterface javax.swing.BoundedRangeModel.setRangeProperties:(IIIIZ)V
20: iload 4
aload 2
getfield java.awt.Rectangle.width:I
if_icmpge 42
21: aload 2
getfield java.awt.Rectangle.width:I
iconst_1
isub
iload 4
isub
istore 11
start local 11 22: aload 5
checkcast javax.swing.JTextField
invokevirtual javax.swing.JTextField.getHorizontalAlignment:()I
istore 12
start local 12 23: aload 5
invokestatic javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.isLeftToRight:(Ljava/awt/Component;)Z
ifeq 30
24: iload 12
bipush 10
if_icmpne 27
25: iconst_2
istore 12
26: goto 35
27: StackMap locals: int int
StackMap stack:
iload 12
bipush 11
if_icmpne 35
28: iconst_4
istore 12
29: goto 35
30: StackMap locals:
StackMap stack:
iload 12
bipush 10
if_icmpne 33
31: iconst_4
istore 12
32: goto 35
33: StackMap locals:
StackMap stack:
iload 12
bipush 11
if_icmpne 35
34: iconst_2
istore 12
35: StackMap locals:
StackMap stack:
iload 12
tableswitch { // 0 - 4
0: 36
1: 41
2: 41
3: 41
4: 39
default: 41
}
36: StackMap locals:
StackMap stack:
aload 2
dup
getfield java.awt.Rectangle.x:I
iload 11
iconst_2
idiv
iadd
putfield java.awt.Rectangle.x:I
37: aload 2
dup
getfield java.awt.Rectangle.width:I
iload 11
isub
putfield java.awt.Rectangle.width:I
38: goto 44
39: StackMap locals:
StackMap stack:
aload 2
dup
getfield java.awt.Rectangle.x:I
iload 11
iadd
putfield java.awt.Rectangle.x:I
40: aload 2
dup
getfield java.awt.Rectangle.width:I
iload 11
isub
putfield java.awt.Rectangle.width:I
end local 12 end local 11 41: StackMap locals:
StackMap stack:
goto 44
42: StackMap locals:
StackMap stack:
aload 2
iload 4
putfield java.awt.Rectangle.width:I
43: aload 2
dup
getfield java.awt.Rectangle.x:I
aload 7
invokeinterface javax.swing.BoundedRangeModel.getValue:()I
isub
putfield java.awt.Rectangle.x:I
end local 10 end local 9 end local 8 end local 7 end local 6 44: StackMap locals: javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView java.awt.Shape java.awt.Rectangle int int java.awt.Component
StackMap stack:
aload 2
areturn
end local 5 end local 4 end local 3 end local 2 45: StackMap locals: javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView java.awt.Shape
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Ljavax/swing/plaf/basic/BasicTextFieldUI$I18nFieldView;
0 46 1 a Ljava/awt/Shape;
2 45 2 bounds Ljava/awt/Rectangle;
3 45 3 vspan I
4 45 4 hspan I
6 8 5 slop I
9 45 5 c Ljava/awt/Component;
11 44 6 field Ljavax/swing/JTextField;
12 44 7 vis Ljavax/swing/BoundedRangeModel;
13 44 8 max I
14 44 9 value I
15 44 10 extent I
22 41 11 slop I
23 41 12 align I
MethodParameters:
Name Flags
a
void updateVisibilityModel();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=9, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.getContainer:()Ljava/awt/Container;
astore 1
start local 1 1: aload 1
instanceof javax.swing.JTextField
ifeq 16
2: aload 1
checkcast javax.swing.JTextField
astore 2
start local 2 3: aload 2
invokevirtual javax.swing.JTextField.getHorizontalVisibility:()Ljavax/swing/BoundedRangeModel;
astore 3
start local 3 4: aload 0
iconst_0
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.getPreferredSpan:(I)F
f2i
istore 4
start local 4 5: aload 3
invokeinterface javax.swing.BoundedRangeModel.getExtent:()I
istore 5
start local 5 6: iload 4
iload 5
invokestatic java.lang.Math.max:(II)I
istore 6
start local 6 7: iload 5
ifne 8
iload 6
goto 9
StackMap locals: javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView java.awt.Component javax.swing.JTextField javax.swing.BoundedRangeModel int int int
StackMap stack:
8: iload 5
StackMap locals:
StackMap stack: int
9: istore 5
10: iload 6
iload 5
isub
istore 7
start local 7 11: aload 3
invokeinterface javax.swing.BoundedRangeModel.getValue:()I
istore 8
start local 8 12: iload 8
iload 5
iadd
iload 6
if_icmple 14
13: iload 6
iload 5
isub
istore 8
14: StackMap locals: int int
StackMap stack:
iconst_0
iload 7
iload 8
invokestatic java.lang.Math.min:(II)I
invokestatic java.lang.Math.max:(II)I
istore 7
15: aload 3
iload 7
iload 5
iconst_0
iload 6
iconst_0
invokeinterface javax.swing.BoundedRangeModel.setRangeProperties:(IIIIZ)V
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 16: StackMap locals: javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView java.awt.Component
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/plaf/basic/BasicTextFieldUI$I18nFieldView;
1 17 1 c Ljava/awt/Component;
3 16 2 field Ljavax/swing/JTextField;
4 16 3 vis Ljavax/swing/BoundedRangeModel;
5 16 4 hspan I
6 16 5 extent I
7 16 6 maximum I
11 16 7 value I
12 16 8 oldValue I
public void paint(java.awt.Graphics, java.awt.Shape);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Shape;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
checkcast java.awt.Rectangle
astore 3
start local 3 1: aload 1
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
aload 3
getfield java.awt.Rectangle.width:I
aload 3
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.clipRect:(IIII)V
2: aload 0
aload 1
aload 0
aload 2
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.adjustAllocation:(Ljava/awt/Shape;)Ljava/awt/Shape;
invokespecial javax.swing.text.ParagraphView.paint:(Ljava/awt/Graphics;Ljava/awt/Shape;)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/basic/BasicTextFieldUI$I18nFieldView;
0 4 1 g Ljava/awt/Graphics;
0 4 2 a Ljava/awt/Shape;
1 4 3 r Ljava/awt/Rectangle;
MethodParameters:
Name Flags
g
a
public int getResizeWeight(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicTextFieldUI$I18nFieldView;
0 3 1 axis I
MethodParameters:
Name Flags
axis
public java.awt.Shape modelToView(int, java.awt.Shape, javax.swing.text.Position$Bias);
descriptor: (ILjava/awt/Shape;Ljavax/swing/text/Position$Bias;)Ljava/awt/Shape;
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
iload 1
aload 0
aload 2
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.adjustAllocation:(Ljava/awt/Shape;)Ljava/awt/Shape;
aload 3
invokespecial javax.swing.text.ParagraphView.modelToView:(ILjava/awt/Shape;Ljavax/swing/text/Position$Bias;)Ljava/awt/Shape;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTextFieldUI$I18nFieldView;
0 1 1 pos I
0 1 2 a Ljava/awt/Shape;
0 1 3 b Ljavax/swing/text/Position$Bias;
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
pos
a
b
public java.awt.Shape modelToView(int, javax.swing.text.Position$Bias, int, javax.swing.text.Position$Bias, java.awt.Shape);
descriptor: (ILjavax/swing/text/Position$Bias;ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;)Ljava/awt/Shape;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
aload 2
iload 3
aload 4
aload 0
aload 5
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.adjustAllocation:(Ljava/awt/Shape;)Ljava/awt/Shape;
invokespecial javax.swing.text.ParagraphView.modelToView:(ILjavax/swing/text/Position$Bias;ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;)Ljava/awt/Shape;
areturn
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 1 0 this Ljavax/swing/plaf/basic/BasicTextFieldUI$I18nFieldView;
0 1 1 p0 I
0 1 2 b0 Ljavax/swing/text/Position$Bias;
0 1 3 p1 I
0 1 4 b1 Ljavax/swing/text/Position$Bias;
0 1 5 a Ljava/awt/Shape;
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
p0
b0
p1
b1
a
public int viewToModel(float, float, java.awt.Shape, javax.swing.text.Position$Bias[]);
descriptor: (FFLjava/awt/Shape;[Ljavax/swing/text/Position$Bias;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
fload 1
fload 2
aload 0
aload 3
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.adjustAllocation:(Ljava/awt/Shape;)Ljava/awt/Shape;
aload 4
invokespecial javax.swing.text.ParagraphView.viewToModel:(FFLjava/awt/Shape;[Ljavax/swing/text/Position$Bias;)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTextFieldUI$I18nFieldView;
0 1 1 fx F
0 1 2 fy F
0 1 3 a Ljava/awt/Shape;
0 1 4 bias [Ljavax/swing/text/Position$Bias;
MethodParameters:
Name Flags
fx
fy
a
bias
public void insertUpdate(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
aload 1
aload 0
aload 2
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.adjustAllocation:(Ljava/awt/Shape;)Ljava/awt/Shape;
aload 3
invokespecial javax.swing.text.ParagraphView.insertUpdate:(Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;Ljavax/swing/text/ViewFactory;)V
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.updateVisibilityModel:()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/plaf/basic/BasicTextFieldUI$I18nFieldView;
0 3 1 changes Ljavax/swing/event/DocumentEvent;
0 3 2 a Ljava/awt/Shape;
0 3 3 f Ljavax/swing/text/ViewFactory;
MethodParameters:
Name Flags
changes
a
f
public void removeUpdate(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
aload 1
aload 0
aload 2
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.adjustAllocation:(Ljava/awt/Shape;)Ljava/awt/Shape;
aload 3
invokespecial javax.swing.text.ParagraphView.removeUpdate:(Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;Ljavax/swing/text/ViewFactory;)V
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView.updateVisibilityModel:()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/plaf/basic/BasicTextFieldUI$I18nFieldView;
0 3 1 changes Ljavax/swing/event/DocumentEvent;
0 3 2 a Ljava/awt/Shape;
0 3 3 f Ljavax/swing/text/ViewFactory;
MethodParameters:
Name Flags
changes
a
f
}
SourceFile: "BasicTextFieldUI.java"
NestHost: javax.swing.plaf.basic.BasicTextFieldUI
InnerClasses:
I18nFieldView = javax.swing.plaf.basic.BasicTextFieldUI$I18nFieldView of javax.swing.plaf.basic.BasicTextFieldUI
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position