public abstract class javax.swing.text.GlyphView$GlyphPainter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.swing.text.GlyphView$GlyphPainter
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/GlyphView$GlyphPainter;
public abstract float getSpan(javax.swing.text.GlyphView, int, int, javax.swing.text.TabExpander, float);
descriptor: (Ljavax/swing/text/GlyphView;IILjavax/swing/text/TabExpander;F)F
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
v
p0
p1
e
x
public abstract float getHeight(javax.swing.text.GlyphView);
descriptor: (Ljavax/swing/text/GlyphView;)F
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
v
public abstract float getAscent(javax.swing.text.GlyphView);
descriptor: (Ljavax/swing/text/GlyphView;)F
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
v
public abstract float getDescent(javax.swing.text.GlyphView);
descriptor: (Ljavax/swing/text/GlyphView;)F
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
v
public abstract void paint(javax.swing.text.GlyphView, java.awt.Graphics, java.awt.Shape, int, int);
descriptor: (Ljavax/swing/text/GlyphView;Ljava/awt/Graphics;Ljava/awt/Shape;II)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
v
g
a
p0
p1
public abstract java.awt.Shape modelToView(javax.swing.text.GlyphView, int, javax.swing.text.Position$Bias, java.awt.Shape);
descriptor: (Ljavax/swing/text/GlyphView;ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;)Ljava/awt/Shape;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
v
pos
bias
a
public abstract int viewToModel(javax.swing.text.GlyphView, float, float, java.awt.Shape, javax.swing.text.Position$Bias[]);
descriptor: (Ljavax/swing/text/GlyphView;FFLjava/awt/Shape;[Ljavax/swing/text/Position$Bias;)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
v
x
y
a
biasReturn
public abstract int getBoundedPosition(javax.swing.text.GlyphView, int, float, float);
descriptor: (Ljavax/swing/text/GlyphView;IFF)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
v
p0
x
len
public javax.swing.text.GlyphView$GlyphPainter getPainter(javax.swing.text.GlyphView, int, int);
descriptor: (Ljavax/swing/text/GlyphView;II)Ljavax/swing/text/GlyphView$GlyphPainter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
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/text/GlyphView$GlyphPainter;
0 1 1 v Ljavax/swing/text/GlyphView;
0 1 2 p0 I
0 1 3 p1 I
MethodParameters:
Name Flags
v
p0
p1
public int getNextVisualPositionFrom(javax.swing.text.GlyphView, int, javax.swing.text.Position$Bias, java.awt.Shape, int, javax.swing.text.Position$Bias[]);
descriptor: (Ljavax/swing/text/GlyphView;ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;I[Ljavax/swing/text/Position$Bias;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=13, 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.text.GlyphView.getStartOffset:()I
istore 7
start local 7 1: aload 1
invokevirtual javax.swing.text.GlyphView.getEndOffset:()I
istore 8
start local 8 2: iload 5
tableswitch { // 1 - 7
1: 3
2: 42
3: 16
4: 42
5: 3
6: 42
7: 30
default: 42
}
3: StackMap locals: int int
StackMap stack:
iload 2
iconst_m1
if_icmpeq 5
4: iconst_m1
ireturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.text.GlyphView.getContainer:()Ljava/awt/Container;
astore 9
start local 9 6: aload 9
instanceof javax.swing.text.JTextComponent
ifeq 43
7: aload 9
checkcast javax.swing.text.JTextComponent
invokevirtual javax.swing.text.JTextComponent.getCaret:()Ljavax/swing/text/Caret;
astore 10
start local 10 8: aload 10
ifnull 9
aload 10
invokeinterface javax.swing.text.Caret.getMagicCaretPosition:()Ljava/awt/Point;
goto 10
StackMap locals: java.awt.Container javax.swing.text.Caret
StackMap stack:
9: aconst_null
StackMap locals:
StackMap stack: java.awt.Point
10: astore 11
start local 11 11: aload 11
ifnonnull 14
12: aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
13: iload 7
ireturn
14: StackMap locals: java.awt.Point
StackMap stack:
aload 1
aload 11
getfield java.awt.Point.x:I
i2f
fconst_0
aload 4
aload 6
invokevirtual javax.swing.text.GlyphView.viewToModel:(FFLjava/awt/Shape;[Ljavax/swing/text/Position$Bias;)I
istore 12
start local 12 15: iload 12
ireturn
end local 12 end local 11 end local 10 end local 9 16: StackMap locals:
StackMap stack:
iload 7
aload 1
invokevirtual javax.swing.text.GlyphView.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
if_icmpne 21
17: iload 2
iconst_m1
if_icmpne 20
18: aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
19: iload 7
ireturn
20: StackMap locals:
StackMap stack:
iconst_m1
ireturn
21: StackMap locals:
StackMap stack:
iload 2
iconst_m1
if_icmpne 24
22: aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
23: iload 7
ireturn
24: StackMap locals:
StackMap stack:
iload 2
iload 8
if_icmpne 26
25: iconst_m1
ireturn
26: StackMap locals:
StackMap stack:
iinc 2 1
iload 2
iload 8
if_icmpne 28
27: iconst_m1
ireturn
28: StackMap locals:
StackMap stack:
aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
29: iload 2
ireturn
30: StackMap locals:
StackMap stack:
iload 7
aload 1
invokevirtual javax.swing.text.GlyphView.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
if_icmpne 35
31: iload 2
iconst_m1
if_icmpne 34
32: aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
33: iload 7
ireturn
34: StackMap locals:
StackMap stack:
iconst_m1
ireturn
35: StackMap locals:
StackMap stack:
iload 2
iconst_m1
if_icmpne 38
36: aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
37: iload 8
iconst_1
isub
ireturn
38: StackMap locals:
StackMap stack:
iload 2
iload 7
if_icmpne 40
39: iconst_m1
ireturn
40: StackMap locals:
StackMap stack:
aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
41: iload 2
iconst_1
isub
ireturn
42: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Bad direction: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
43: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 8 end local 7 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 44 0 this Ljavax/swing/text/GlyphView$GlyphPainter;
0 44 1 v Ljavax/swing/text/GlyphView;
0 44 2 pos I
0 44 3 b Ljavax/swing/text/Position$Bias;
0 44 4 a Ljava/awt/Shape;
0 44 5 direction I
0 44 6 biasRet [Ljavax/swing/text/Position$Bias;
1 44 7 startOffset I
2 44 8 endOffset I
6 16 9 container Ljava/awt/Container;
8 16 10 c Ljavax/swing/text/Caret;
11 16 11 magicPoint Ljava/awt/Point;
15 16 12 value I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
v
pos
b
a
direction
biasRet
}
SourceFile: "GlyphView.java"
NestHost: javax.swing.text.GlyphView
InnerClasses:
public abstract GlyphPainter = javax.swing.text.GlyphView$GlyphPainter of javax.swing.text.GlyphView
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position