class javax.swing.text.html.HTMLEditorKit$NavigateLinkAction$FocusHighlightPainter extends javax.swing.text.DefaultHighlighter$DefaultHighlightPainter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.html.HTMLEditorKit$NavigateLinkAction$FocusHighlightPainter
super_class: javax.swing.text.DefaultHighlighter$DefaultHighlightPainter
{
void <init>(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // javax.swing.text.html.HTMLEditorKit$NavigateLinkAction$FocusHighlightPainter this
start local 1 // java.awt.Color color
0: .line 2240
aload 0 /* this */
aload 1 /* color */
invokespecial javax.swing.text.DefaultHighlighter$DefaultHighlightPainter.<init>:(Ljava/awt/Color;)V
1: .line 2241
return
end local 1 // java.awt.Color color
end local 0 // javax.swing.text.html.HTMLEditorKit$NavigateLinkAction$FocusHighlightPainter this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/html/HTMLEditorKit$NavigateLinkAction$FocusHighlightPainter;
0 2 1 color Ljava/awt/Color;
MethodParameters:
Name Flags
color
public java.awt.Shape paintLayer(java.awt.Graphics, int, int, java.awt.Shape, javax.swing.text.JTextComponent, javax.swing.text.View);
descriptor: (Ljava/awt/Graphics;IILjava/awt/Shape;Ljavax/swing/text/JTextComponent;Ljavax/swing/text/View;)Ljava/awt/Shape;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=7
start local 0 // javax.swing.text.html.HTMLEditorKit$NavigateLinkAction$FocusHighlightPainter this
start local 1 // java.awt.Graphics g
start local 2 // int offs0
start local 3 // int offs1
start local 4 // java.awt.Shape bounds
start local 5 // javax.swing.text.JTextComponent c
start local 6 // javax.swing.text.View view
0: .line 2258
aload 0 /* this */
invokevirtual javax.swing.text.html.HTMLEditorKit$NavigateLinkAction$FocusHighlightPainter.getColor:()Ljava/awt/Color;
astore 7 /* color */
start local 7 // java.awt.Color color
1: .line 2260
aload 7 /* color */
ifnonnull 4
2: .line 2261
aload 1 /* g */
aload 5 /* c */
invokevirtual javax.swing.text.JTextComponent.getSelectionColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
3: .line 2262
goto 5
4: .line 2264
StackMap locals: java.awt.Color
StackMap stack:
aload 1 /* g */
aload 7 /* color */
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
5: .line 2266
StackMap locals:
StackMap stack:
iload 2 /* offs0 */
aload 6 /* view */
invokevirtual javax.swing.text.View.getStartOffset:()I
if_icmpne 13
6: .line 2267
iload 3 /* offs1 */
aload 6 /* view */
invokevirtual javax.swing.text.View.getEndOffset:()I
if_icmpne 13
7: .line 2270
aload 4 /* bounds */
instanceof java.awt.Rectangle
ifeq 10
8: .line 2271
aload 4 /* bounds */
checkcast java.awt.Rectangle
astore 8 /* alloc */
start local 8 // java.awt.Rectangle alloc
9: .line 2272
goto 11
end local 8 // java.awt.Rectangle alloc
10: .line 2274
StackMap locals:
StackMap stack:
aload 4 /* bounds */
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
astore 8 /* alloc */
start local 8 // java.awt.Rectangle alloc
11: .line 2276
StackMap locals: java.awt.Rectangle
StackMap stack:
aload 1 /* g */
aload 8 /* alloc */
getfield java.awt.Rectangle.x:I
aload 8 /* alloc */
getfield java.awt.Rectangle.y:I
aload 8 /* alloc */
getfield java.awt.Rectangle.width:I
iconst_1
isub
aload 8 /* alloc */
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.drawRect:(IIII)V
12: .line 2277
aload 8 /* alloc */
areturn
end local 8 // java.awt.Rectangle alloc
13: .line 2283
StackMap locals:
StackMap stack:
aload 6 /* view */
iload 2 /* offs0 */
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
14: .line 2284
iload 3 /* offs1 */
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
15: .line 2285
aload 4 /* bounds */
16: .line 2283
invokevirtual javax.swing.text.View.modelToView:(ILjavax/swing/text/Position$Bias;ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;)Ljava/awt/Shape;
astore 8 /* shape */
start local 8 // java.awt.Shape shape
17: .line 2286
aload 8 /* shape */
instanceof java.awt.Rectangle
ifeq 19
18: .line 2287
aload 8 /* shape */
checkcast java.awt.Rectangle
goto 20
StackMap locals: java.awt.Shape
StackMap stack:
19: aload 8 /* shape */
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
20: .line 2286
StackMap locals:
StackMap stack: java.awt.Rectangle
astore 9 /* r */
start local 9 // java.awt.Rectangle r
21: .line 2288
aload 1 /* g */
aload 9 /* r */
getfield java.awt.Rectangle.x:I
aload 9 /* r */
getfield java.awt.Rectangle.y:I
aload 9 /* r */
getfield java.awt.Rectangle.width:I
iconst_1
isub
aload 9 /* r */
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.drawRect:(IIII)V
22: .line 2289
aload 9 /* r */
23: areturn
end local 9 // java.awt.Rectangle r
end local 8 // java.awt.Shape shape
24: .line 2290
StackMap locals: javax.swing.text.html.HTMLEditorKit$NavigateLinkAction$FocusHighlightPainter java.awt.Graphics int int java.awt.Shape javax.swing.text.JTextComponent javax.swing.text.View java.awt.Color
StackMap stack: javax.swing.text.BadLocationException
pop
25: .line 2295
aconst_null
areturn
end local 7 // java.awt.Color color
end local 6 // javax.swing.text.View view
end local 5 // javax.swing.text.JTextComponent c
end local 4 // java.awt.Shape bounds
end local 3 // int offs1
end local 2 // int offs0
end local 1 // java.awt.Graphics g
end local 0 // javax.swing.text.html.HTMLEditorKit$NavigateLinkAction$FocusHighlightPainter this
LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Ljavax/swing/text/html/HTMLEditorKit$NavigateLinkAction$FocusHighlightPainter;
0 26 1 g Ljava/awt/Graphics;
0 26 2 offs0 I
0 26 3 offs1 I
0 26 4 bounds Ljava/awt/Shape;
0 26 5 c Ljavax/swing/text/JTextComponent;
0 26 6 view Ljavax/swing/text/View;
1 26 7 color Ljava/awt/Color;
9 10 8 alloc Ljava/awt/Rectangle;
11 13 8 alloc Ljava/awt/Rectangle;
17 24 8 shape Ljava/awt/Shape;
21 24 9 r Ljava/awt/Rectangle;
Exception table:
from to target type
13 23 24 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
g
offs0
offs1
bounds
c
view
}
SourceFile: "HTMLEditorKit.java"
NestHost: javax.swing.text.html.HTMLEditorKit
InnerClasses:
public DefaultHighlightPainter = javax.swing.text.DefaultHighlighter$DefaultHighlightPainter of javax.swing.text.DefaultHighlighter
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position
NavigateLinkAction = javax.swing.text.html.HTMLEditorKit$NavigateLinkAction of javax.swing.text.html.HTMLEditorKit
FocusHighlightPainter = javax.swing.text.html.HTMLEditorKit$NavigateLinkAction$FocusHighlightPainter of javax.swing.text.html.HTMLEditorKit$NavigateLinkAction