class javax.swing.plaf.basic.BasicTextUI$DragListener extends javax.swing.event.MouseInputAdapter implements javax.swing.plaf.basic.DragRecognitionSupport$BeforeDrag
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicTextUI$DragListener
super_class: javax.swing.event.MouseInputAdapter
{
private boolean dragStarted;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.event.MouseInputAdapter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTextUI$DragListener;
public void dragStarting(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield javax.swing.plaf.basic.BasicTextUI$DragListener.dragStarted:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicTextUI$DragListener;
0 2 1 me Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
me
public void mousePressed(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.text.JTextComponent
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.text.JTextComponent.getDragEnabled:()Z
ifeq 5
2: aload 0
iconst_0
putfield javax.swing.plaf.basic.BasicTextUI$DragListener.dragStarted:Z
3: aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicTextUI$DragListener.isDragPossible:(Ljava/awt/event/MouseEvent;)Z
ifeq 5
aload 1
invokestatic javax.swing.plaf.basic.DragRecognitionSupport.mousePressed:(Ljava/awt/event/MouseEvent;)Z
ifeq 5
4: aload 1
invokevirtual java.awt.event.MouseEvent.consume:()V
5: StackMap locals: javax.swing.text.JTextComponent
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicTextUI$DragListener;
0 6 1 e Ljava/awt/event/MouseEvent;
1 6 2 c Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
e
public void mouseReleased(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.text.JTextComponent
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.text.JTextComponent.getDragEnabled:()Z
ifeq 5
2: aload 0
getfield javax.swing.plaf.basic.BasicTextUI$DragListener.dragStarted:Z
ifeq 4
3: aload 1
invokevirtual java.awt.event.MouseEvent.consume:()V
4: StackMap locals: javax.swing.text.JTextComponent
StackMap stack:
aload 1
invokestatic javax.swing.plaf.basic.DragRecognitionSupport.mouseReleased:(Ljava/awt/event/MouseEvent;)Ljava/awt/event/MouseEvent;
pop
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicTextUI$DragListener;
0 6 1 e Ljava/awt/event/MouseEvent;
1 6 2 c Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
e
public void mouseDragged(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.text.JTextComponent
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.text.JTextComponent.getDragEnabled:()Z
ifeq 4
2: aload 0
getfield javax.swing.plaf.basic.BasicTextUI$DragListener.dragStarted:Z
ifne 3
aload 1
aload 0
invokestatic javax.swing.plaf.basic.DragRecognitionSupport.mouseDragged:(Ljava/awt/event/MouseEvent;Ljavax/swing/plaf/basic/DragRecognitionSupport$BeforeDrag;)Z
ifeq 4
3: StackMap locals: javax.swing.text.JTextComponent
StackMap stack:
aload 1
invokevirtual java.awt.event.MouseEvent.consume:()V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicTextUI$DragListener;
0 5 1 e Ljava/awt/event/MouseEvent;
1 5 2 c Ljavax/swing/text/JTextComponent;
MethodParameters:
Name Flags
e
protected boolean isDragPossible(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.text.JTextComponent
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.text.JTextComponent.isEnabled:()Z
ifeq 12
2: aload 2
invokevirtual javax.swing.text.JTextComponent.getCaret:()Ljavax/swing/text/Caret;
astore 3
start local 3 3: aload 3
invokeinterface javax.swing.text.Caret.getDot:()I
istore 4
start local 4 4: aload 3
invokeinterface javax.swing.text.Caret.getMark:()I
istore 5
start local 5 5: iload 4
iload 5
if_icmpeq 12
6: new java.awt.Point
dup
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getY:()I
invokespecial java.awt.Point.<init>:(II)V
astore 6
start local 6 7: aload 2
aload 6
invokevirtual javax.swing.text.JTextComponent.viewToModel:(Ljava/awt/Point;)I
istore 7
start local 7 8: iload 4
iload 5
invokestatic java.lang.Math.min:(II)I
istore 8
start local 8 9: iload 4
iload 5
invokestatic java.lang.Math.max:(II)I
istore 9
start local 9 10: iload 7
iload 8
if_icmplt 12
iload 7
iload 9
if_icmpge 12
11: iconst_1
ireturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 12: StackMap locals: javax.swing.text.JTextComponent
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/plaf/basic/BasicTextUI$DragListener;
0 13 1 e Ljava/awt/event/MouseEvent;
1 13 2 c Ljavax/swing/text/JTextComponent;
3 12 3 caret Ljavax/swing/text/Caret;
4 12 4 dot I
5 12 5 mark I
7 12 6 p Ljava/awt/Point;
8 12 7 pos I
9 12 8 p0 I
10 12 9 p1 I
MethodParameters:
Name Flags
e
}
SourceFile: "BasicTextUI.java"
NestHost: javax.swing.plaf.basic.BasicTextUI
InnerClasses:
DragListener = javax.swing.plaf.basic.BasicTextUI$DragListener of javax.swing.plaf.basic.BasicTextUI
public abstract BeforeDrag = javax.swing.plaf.basic.DragRecognitionSupport$BeforeDrag of javax.swing.plaf.basic.DragRecognitionSupport