class javafx.scene.control.skin.TextFieldSkin$6 implements javafx.event.EventHandler<javafx.scene.input.MouseEvent>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.control.skin.TextFieldSkin$6
super_class: java.lang.Object
{
final javafx.scene.control.skin.TextFieldSkin this$0;
descriptor: Ljavafx/scene/control/skin/TextFieldSkin;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javafx.scene.control.skin.TextFieldSkin);
descriptor: (Ljavafx/scene/control/skin/TextFieldSkin;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // javafx.scene.control.skin.TextFieldSkin$6 this
0: .line 338
aload 0 /* this */
aload 1
putfield javafx.scene.control.skin.TextFieldSkin$6.this$0:Ljavafx/scene/control/skin/TextFieldSkin;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // javafx.scene.control.skin.TextFieldSkin$6 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/skin/TextFieldSkin$6;
MethodParameters:
Name Flags
this$0 final
public void handle(javafx.scene.input.MouseEvent);
descriptor: (Ljavafx/scene/input/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=2
start local 0 // javafx.scene.control.skin.TextFieldSkin$6 this
start local 1 // javafx.scene.input.MouseEvent e
0: .line 340
aload 0 /* this */
getfield javafx.scene.control.skin.TextFieldSkin$6.this$0:Ljavafx/scene/control/skin/TextFieldSkin;
invokevirtual javafx.scene.control.skin.TextFieldSkin.getSkinnable:()Ljavafx/scene/control/Control;
checkcast javafx.scene.control.TextField
astore 2 /* control */
start local 2 // javafx.scene.control.TextField control
1: .line 341
aload 0 /* this */
getfield javafx.scene.control.skin.TextFieldSkin$6.this$0:Ljavafx/scene/control/skin/TextFieldSkin;
getfield javafx.scene.control.skin.TextFieldSkin.textNode:Ljavafx/scene/text/Text;
dconst_0
dconst_0
invokevirtual javafx.scene.text.Text.localToScene:(DD)Ljavafx/geometry/Point2D;
astore 3 /* tp */
start local 3 // javafx.geometry.Point2D tp
2: .line 342
new javafx.geometry.Point2D
dup
aload 1 /* e */
invokevirtual javafx.scene.input.MouseEvent.getSceneX:()D
aload 3 /* tp */
invokevirtual javafx.geometry.Point2D.getX:()D
dsub
ldc 10.0
dadd
aload 0 /* this */
getfield javafx.scene.control.skin.TextFieldSkin$6.this$0:Ljavafx/scene/control/skin/TextFieldSkin;
getfield javafx.scene.control.skin.TextFieldSkin.pressX:D
dsub
aload 0 /* this */
getfield javafx.scene.control.skin.TextFieldSkin$6.this$0:Ljavafx/scene/control/skin/TextFieldSkin;
getfield javafx.scene.control.skin.TextFieldSkin.selectionHandle1:Ljavafx/scene/layout/StackPane;
invokevirtual javafx.scene.layout.StackPane.getWidth:()D
ldc 2.0
ddiv
dadd
3: .line 343
aload 1 /* e */
invokevirtual javafx.scene.input.MouseEvent.getSceneY:()D
aload 3 /* tp */
invokevirtual javafx.geometry.Point2D.getY:()D
dsub
aload 0 /* this */
getfield javafx.scene.control.skin.TextFieldSkin$6.this$0:Ljavafx/scene/control/skin/TextFieldSkin;
getfield javafx.scene.control.skin.TextFieldSkin.pressY:D
dsub
ldc 6.0
dsub
4: .line 342
invokespecial javafx.geometry.Point2D.<init>:(DD)V
astore 4 /* p */
start local 4 // javafx.geometry.Point2D p
5: .line 344
aload 0 /* this */
getfield javafx.scene.control.skin.TextFieldSkin$6.this$0:Ljavafx/scene/control/skin/TextFieldSkin;
getfield javafx.scene.control.skin.TextFieldSkin.textNode:Ljavafx/scene/text/Text;
aload 4 /* p */
invokevirtual javafx.scene.text.Text.hitTest:(Ljavafx/geometry/Point2D;)Ljavafx/scene/text/HitInfo;
astore 5 /* hit */
start local 5 // javafx.scene.text.HitInfo hit
6: .line 345
aload 2 /* control */
invokevirtual javafx.scene.control.TextField.getAnchor:()I
aload 2 /* control */
invokevirtual javafx.scene.control.TextField.getCaretPosition:()I
if_icmpge 8
7: .line 347
aload 2 /* control */
aload 2 /* control */
invokevirtual javafx.scene.control.TextField.getCaretPosition:()I
aload 2 /* control */
invokevirtual javafx.scene.control.TextField.getAnchor:()I
invokevirtual javafx.scene.control.TextField.selectRange:(II)V
8: .line 349
StackMap locals: javafx.scene.control.skin.TextFieldSkin$6 javafx.scene.input.MouseEvent javafx.scene.control.TextField javafx.geometry.Point2D javafx.geometry.Point2D javafx.scene.text.HitInfo
StackMap stack:
aload 5 /* hit */
invokevirtual javafx.scene.text.HitInfo.getInsertionIndex:()I
istore 6 /* pos */
start local 6 // int pos
9: .line 350
iload 6 /* pos */
iflt 13
10: .line 351
iload 6 /* pos */
aload 2 /* control */
invokevirtual javafx.scene.control.TextField.getAnchor:()I
iconst_1
isub
if_icmplt 12
11: .line 352
iconst_0
aload 2 /* control */
invokevirtual javafx.scene.control.TextField.getAnchor:()I
iconst_1
isub
invokestatic java.lang.Math.max:(II)I
istore 6 /* pos */
12: .line 354
StackMap locals: int
StackMap stack:
aload 0 /* this */
getfield javafx.scene.control.skin.TextFieldSkin$6.this$0:Ljavafx/scene/control/skin/TextFieldSkin;
iload 6 /* pos */
aload 5 /* hit */
invokevirtual javafx.scene.text.HitInfo.isLeading:()Z
iconst_1
invokevirtual javafx.scene.control.skin.TextFieldSkin.positionCaret:(IZZ)V
13: .line 356
StackMap locals:
StackMap stack:
aload 1 /* e */
invokevirtual javafx.scene.input.MouseEvent.consume:()V
14: .line 357
return
end local 6 // int pos
end local 5 // javafx.scene.text.HitInfo hit
end local 4 // javafx.geometry.Point2D p
end local 3 // javafx.geometry.Point2D tp
end local 2 // javafx.scene.control.TextField control
end local 1 // javafx.scene.input.MouseEvent e
end local 0 // javafx.scene.control.skin.TextFieldSkin$6 this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavafx/scene/control/skin/TextFieldSkin$6;
0 15 1 e Ljavafx/scene/input/MouseEvent;
1 15 2 control Ljavafx/scene/control/TextField;
2 15 3 tp Ljavafx/geometry/Point2D;
5 15 4 p Ljavafx/geometry/Point2D;
6 15 5 hit Ljavafx/scene/text/HitInfo;
9 15 6 pos I
MethodParameters:
Name Flags
e
public void handle(javafx.event.Event);
descriptor: (Ljavafx/event/Event;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: .line 1
aload 0
aload 1
checkcast javafx.scene.input.MouseEvent
invokevirtual javafx.scene.control.skin.TextFieldSkin$6.handle:(Ljavafx/scene/input/MouseEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljavafx/event/EventHandler<Ljavafx/scene/input/MouseEvent;>;
SourceFile: "TextFieldSkin.java"
EnclosingMethod: javafx.scene.control.skin.TextFieldSkin.<init>:(Ljavafx/scene/control/TextField;)V
NestHost: javafx.scene.control.skin.TextFieldSkin
InnerClasses:
javafx.scene.control.skin.TextFieldSkin$6