class javax.swing.text.DefaultEditorKit$NextVisualPositionAction extends javax.swing.text.TextAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.DefaultEditorKit$NextVisualPositionAction
super_class: javax.swing.text.TextAction
{
private boolean select;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int direction;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String, boolean, int);
descriptor: (Ljava/lang/String;ZI)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 // javax.swing.text.DefaultEditorKit$NextVisualPositionAction this
start local 1 // java.lang.String nm
start local 2 // boolean select
start local 3 // int direction
0: .line 1672
aload 0 /* this */
aload 1 /* nm */
invokespecial javax.swing.text.TextAction.<init>:(Ljava/lang/String;)V
1: .line 1673
aload 0 /* this */
iload 2 /* select */
putfield javax.swing.text.DefaultEditorKit$NextVisualPositionAction.select:Z
2: .line 1674
aload 0 /* this */
iload 3 /* direction */
putfield javax.swing.text.DefaultEditorKit$NextVisualPositionAction.direction:I
3: .line 1675
return
end local 3 // int direction
end local 2 // boolean select
end local 1 // java.lang.String nm
end local 0 // javax.swing.text.DefaultEditorKit$NextVisualPositionAction this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/DefaultEditorKit$NextVisualPositionAction;
0 4 1 nm Ljava/lang/String;
0 4 2 select Z
0 4 3 direction I
MethodParameters:
Name Flags
nm
select
direction
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=2
start local 0 // javax.swing.text.DefaultEditorKit$NextVisualPositionAction this
start local 1 // java.awt.event.ActionEvent e
0: .line 1680
aload 0 /* this */
aload 1 /* e */
invokevirtual javax.swing.text.DefaultEditorKit$NextVisualPositionAction.getTextComponent:(Ljava/awt/event/ActionEvent;)Ljavax/swing/text/JTextComponent;
astore 2 /* target */
start local 2 // javax.swing.text.JTextComponent target
1: .line 1681
aload 2 /* target */
ifnull 54
2: .line 1682
aload 2 /* target */
invokevirtual javax.swing.text.JTextComponent.getCaret:()Ljavax/swing/text/Caret;
astore 3 /* caret */
start local 3 // javax.swing.text.Caret caret
3: .line 1683
aload 3 /* caret */
instanceof javax.swing.text.DefaultCaret
ifeq 5
4: .line 1684
aload 3 /* caret */
checkcast javax.swing.text.DefaultCaret
goto 6
StackMap locals: javax.swing.text.JTextComponent javax.swing.text.Caret
StackMap stack:
5: aconst_null
6: .line 1683
StackMap locals:
StackMap stack: javax.swing.text.DefaultCaret
astore 4 /* bidiCaret */
start local 4 // javax.swing.text.DefaultCaret bidiCaret
7: .line 1685
aload 3 /* caret */
invokeinterface javax.swing.text.Caret.getDot:()I
istore 5 /* dot */
start local 5 // int dot
8: .line 1686
iconst_1
anewarray javax.swing.text.Position$Bias
astore 6 /* bias */
start local 6 // javax.swing.text.Position$Bias[] bias
9: .line 1687
aload 3 /* caret */
invokeinterface javax.swing.text.Caret.getMagicCaretPosition:()Ljava/awt/Point;
astore 7 /* magicPosition */
start local 7 // java.awt.Point magicPosition
10: .line 1690
aload 7 /* magicPosition */
ifnonnull 21
11: .line 1691
aload 0 /* this */
getfield javax.swing.text.DefaultEditorKit$NextVisualPositionAction.direction:I
iconst_1
if_icmpeq 13
12: .line 1692
aload 0 /* this */
getfield javax.swing.text.DefaultEditorKit$NextVisualPositionAction.direction:I
iconst_5
if_icmpne 21
13: .line 1693
StackMap locals: javax.swing.text.DefaultEditorKit$NextVisualPositionAction java.awt.event.ActionEvent javax.swing.text.JTextComponent javax.swing.text.Caret javax.swing.text.DefaultCaret int javax.swing.text.Position$Bias[] java.awt.Point
StackMap stack:
aload 4 /* bidiCaret */
ifnull 18
14: .line 1694
aload 2 /* target */
invokevirtual javax.swing.text.JTextComponent.getUI:()Ljavax/swing/plaf/TextUI;
aload 2 /* target */
iload 5 /* dot */
15: .line 1695
aload 4 /* bidiCaret */
invokevirtual javax.swing.text.DefaultCaret.getDotBias:()Ljavax/swing/text/Position$Bias;
16: .line 1694
invokevirtual javax.swing.plaf.TextUI.modelToView:(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;)Ljava/awt/Rectangle;
17: .line 1695
goto 19
18: .line 1696
StackMap locals:
StackMap stack:
aload 2 /* target */
iload 5 /* dot */
invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
19: .line 1693
StackMap locals:
StackMap stack: java.awt.Rectangle
astore 8 /* r */
start local 8 // java.awt.Rectangle r
20: .line 1697
new java.awt.Point
dup
aload 8 /* r */
getfield java.awt.Rectangle.x:I
aload 8 /* r */
getfield java.awt.Rectangle.y:I
invokespecial java.awt.Point.<init>:(II)V
astore 7 /* magicPosition */
end local 8 // java.awt.Rectangle r
21: .line 1700
StackMap locals:
StackMap stack:
aload 2 /* target */
invokevirtual javax.swing.text.JTextComponent.getNavigationFilter:()Ljavax/swing/text/NavigationFilter;
astore 8 /* filter */
start local 8 // javax.swing.text.NavigationFilter filter
22: .line 1702
aload 8 /* filter */
ifnull 30
23: .line 1703
aload 8 /* filter */
24: .line 1704
aload 2 /* target */
iload 5 /* dot */
aload 4 /* bidiCaret */
ifnull 26
25: .line 1705
aload 4 /* bidiCaret */
invokevirtual javax.swing.text.DefaultCaret.getDotBias:()Ljavax/swing/text/Position$Bias;
goto 27
26: .line 1706
StackMap locals: javax.swing.text.DefaultEditorKit$NextVisualPositionAction java.awt.event.ActionEvent javax.swing.text.JTextComponent javax.swing.text.Caret javax.swing.text.DefaultCaret int javax.swing.text.Position$Bias[] java.awt.Point javax.swing.text.NavigationFilter
StackMap stack: javax.swing.text.NavigationFilter javax.swing.text.JTextComponent int
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
StackMap locals: javax.swing.text.DefaultEditorKit$NextVisualPositionAction java.awt.event.ActionEvent javax.swing.text.JTextComponent javax.swing.text.Caret javax.swing.text.DefaultCaret int javax.swing.text.Position$Bias[] java.awt.Point javax.swing.text.NavigationFilter
StackMap stack: javax.swing.text.NavigationFilter javax.swing.text.JTextComponent int javax.swing.text.Position$Bias
27: aload 0 /* this */
getfield javax.swing.text.DefaultEditorKit$NextVisualPositionAction.direction:I
aload 6 /* bias */
28: .line 1703
invokevirtual javax.swing.text.NavigationFilter.getNextVisualPositionFrom:(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;I[Ljavax/swing/text/Position$Bias;)I
istore 5 /* dot */
29: .line 1707
goto 36
30: .line 1709
StackMap locals:
StackMap stack:
aload 2 /* target */
invokevirtual javax.swing.text.JTextComponent.getUI:()Ljavax/swing/plaf/TextUI;
31: .line 1710
aload 2 /* target */
iload 5 /* dot */
aload 4 /* bidiCaret */
ifnull 33
32: .line 1711
aload 4 /* bidiCaret */
invokevirtual javax.swing.text.DefaultCaret.getDotBias:()Ljavax/swing/text/Position$Bias;
goto 34
33: .line 1712
StackMap locals: javax.swing.text.DefaultEditorKit$NextVisualPositionAction java.awt.event.ActionEvent javax.swing.text.JTextComponent javax.swing.text.Caret javax.swing.text.DefaultCaret int javax.swing.text.Position$Bias[] java.awt.Point javax.swing.text.NavigationFilter
StackMap stack: javax.swing.plaf.TextUI javax.swing.text.JTextComponent int
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
StackMap locals: javax.swing.text.DefaultEditorKit$NextVisualPositionAction java.awt.event.ActionEvent javax.swing.text.JTextComponent javax.swing.text.Caret javax.swing.text.DefaultCaret int javax.swing.text.Position$Bias[] java.awt.Point javax.swing.text.NavigationFilter
StackMap stack: javax.swing.plaf.TextUI javax.swing.text.JTextComponent int javax.swing.text.Position$Bias
34: aload 0 /* this */
getfield javax.swing.text.DefaultEditorKit$NextVisualPositionAction.direction:I
aload 6 /* bias */
35: .line 1709
invokevirtual javax.swing.plaf.TextUI.getNextVisualPositionFrom:(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;I[Ljavax/swing/text/Position$Bias;)I
istore 5 /* dot */
36: .line 1714
StackMap locals:
StackMap stack:
aload 6 /* bias */
iconst_0
aaload
ifnonnull 38
37: .line 1715
aload 6 /* bias */
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
38: .line 1717
StackMap locals:
StackMap stack:
aload 4 /* bidiCaret */
ifnull 44
39: .line 1718
aload 0 /* this */
getfield javax.swing.text.DefaultEditorKit$NextVisualPositionAction.select:Z
ifeq 42
40: .line 1719
aload 4 /* bidiCaret */
iload 5 /* dot */
aload 6 /* bias */
iconst_0
aaload
invokevirtual javax.swing.text.DefaultCaret.moveDot:(ILjavax/swing/text/Position$Bias;)V
41: .line 1720
goto 48
42: .line 1721
StackMap locals:
StackMap stack:
aload 4 /* bidiCaret */
iload 5 /* dot */
aload 6 /* bias */
iconst_0
aaload
invokevirtual javax.swing.text.DefaultCaret.setDot:(ILjavax/swing/text/Position$Bias;)V
43: .line 1723
goto 48
44: .line 1725
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield javax.swing.text.DefaultEditorKit$NextVisualPositionAction.select:Z
ifeq 47
45: .line 1726
aload 3 /* caret */
iload 5 /* dot */
invokeinterface javax.swing.text.Caret.moveDot:(I)V
46: .line 1727
goto 48
47: .line 1728
StackMap locals:
StackMap stack:
aload 3 /* caret */
iload 5 /* dot */
invokeinterface javax.swing.text.Caret.setDot:(I)V
48: .line 1731
StackMap locals:
StackMap stack:
aload 7 /* magicPosition */
ifnull 54
49: .line 1732
aload 0 /* this */
getfield javax.swing.text.DefaultEditorKit$NextVisualPositionAction.direction:I
iconst_1
if_icmpeq 51
50: .line 1733
aload 0 /* this */
getfield javax.swing.text.DefaultEditorKit$NextVisualPositionAction.direction:I
iconst_5
if_icmpne 54
51: .line 1734
StackMap locals:
StackMap stack:
aload 2 /* target */
invokevirtual javax.swing.text.JTextComponent.getCaret:()Ljavax/swing/text/Caret;
aload 7 /* magicPosition */
invokeinterface javax.swing.text.Caret.setMagicCaretPosition:(Ljava/awt/Point;)V
end local 8 // javax.swing.text.NavigationFilter filter
52: .line 1736
goto 54
StackMap locals: javax.swing.text.DefaultEditorKit$NextVisualPositionAction java.awt.event.ActionEvent javax.swing.text.JTextComponent javax.swing.text.Caret javax.swing.text.DefaultCaret int javax.swing.text.Position$Bias[] java.awt.Point
StackMap stack: javax.swing.text.BadLocationException
53: pop
end local 7 // java.awt.Point magicPosition
end local 6 // javax.swing.text.Position$Bias[] bias
end local 5 // int dot
end local 4 // javax.swing.text.DefaultCaret bidiCaret
end local 3 // javax.swing.text.Caret caret
54: .line 1739
StackMap locals: javax.swing.text.DefaultEditorKit$NextVisualPositionAction java.awt.event.ActionEvent javax.swing.text.JTextComponent
StackMap stack:
return
end local 2 // javax.swing.text.JTextComponent target
end local 1 // java.awt.event.ActionEvent e
end local 0 // javax.swing.text.DefaultEditorKit$NextVisualPositionAction this
LocalVariableTable:
Start End Slot Name Signature
0 55 0 this Ljavax/swing/text/DefaultEditorKit$NextVisualPositionAction;
0 55 1 e Ljava/awt/event/ActionEvent;
1 55 2 target Ljavax/swing/text/JTextComponent;
3 54 3 caret Ljavax/swing/text/Caret;
7 54 4 bidiCaret Ljavax/swing/text/DefaultCaret;
8 54 5 dot I
9 54 6 bias [Ljavax/swing/text/Position$Bias;
10 54 7 magicPosition Ljava/awt/Point;
20 21 8 r Ljava/awt/Rectangle;
22 52 8 filter Ljavax/swing/text/NavigationFilter;
Exception table:
from to target type
10 52 53 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
e
}
SourceFile: "DefaultEditorKit.java"
NestHost: javax.swing.text.DefaultEditorKit
InnerClasses:
NextVisualPositionAction = javax.swing.text.DefaultEditorKit$NextVisualPositionAction of javax.swing.text.DefaultEditorKit
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position