
META-INF.modules.java.desktop.classes.javax.swing.text.JTextComponent$ComposedTextCaret.class Maven / Gradle / Ivy
???? = ? 1javax/swing/text/JTextComponent$ComposedTextCaret this$0 !Ljavax/swing/text/JTextComponent;
javax/swing/text/DefaultCaret ()V
install $(Ljavax/swing/text/JTextComponent;)V
javax/swing/text/JTextComponent getDocument ()Ljavax/swing/text/Document; javax/swing/text/StyledDocument composedTextStart Ljavax/swing/text/Position; ! " javax/swing/text/Position getOffset ()I $ % & getCharacterElement (I)Ljavax/swing/text/Element; ( ) * + , javax/swing/text/Element
getAttributes !()Ljavax/swing/text/AttributeSet; . / 0
getBackground 1(Ljavax/swing/text/AttributeSet;)Ljava/awt/Color; 2 3 4 bg Ljava/awt/Color;
6 / 7 ()Ljava/awt/Color;
9 : ; isVisible ()Z = > component
@ A " getDot
C D E modelToView (I)Ljava/awt/Rectangle;
G H I J K java/awt/Graphics
setXORMode (Ljava/awt/Color;)V M N O P Q java/awt/Rectangle x I M S T Q y M V W Q height
G Y Z [ drawLine (IIII)V
G ] ^ setPaintMode ` %javax/swing/text/BadLocationException b java/awt/Point
d e f g " java/awt/event/MouseEvent getX
d i j " getY
a l m (II)V
o p q viewToModel (Ljava/awt/Point;)I s t composedTextEnd v w x y z javax/swing/text/Document createPosition (I)Ljavax/swing/text/Position;
| } ~ getInputContext ()Ljava/awt/im/InputContext;
? ? ? ? java/awt/im/InputContext endComposition ? 2javax/swing/text/JTextComponent$DoSetCaretPosition
? ? ? `(Ljavax/swing/text/JTextComponent;Ljavax/swing/text/JTextComponent;Ljavax/swing/text/Position;)V
? ? ? ? ? java/awt/EventQueue invokeLater (Ljava/lang/Runnable;)V ? ? ? ? ? java/lang/System err Ljava/io/PrintStream;
? ? ? ? ? java/io/PrintStream println (Ljava/lang/Object;)V
? ? ?
positionCaret (Ljava/awt/event/MouseEvent;)V ? java/io/Serializable Code LineNumberTable LocalVariableTable this 3Ljavax/swing/text/JTextComponent$ComposedTextCaret; sDoc !Ljavax/swing/text/StyledDocument; elem Ljavax/swing/text/Element; attr Ljavax/swing/text/AttributeSet; c doc Ljavax/swing/text/Document;
StackMapTable paint (Ljava/awt/Graphics;)V r Ljava/awt/Rectangle; g Ljava/awt/Graphics; newPos ble 'Ljavax/swing/text/BadLocationException; me Ljava/awt/event/MouseEvent; host pt Ljava/awt/Point; offset composedStartIndex
SourceFile JTextComponent.java NestHost InnerClasses ComposedTextCaret DoSetCaretPosition ? 3 4 ? >
*+? *? ? ? ? ?
? ?
? ? L*+?
+? M,? ? .,? N-+? ? ? # :? ' :*-? - ? 1*? 1? *+? 5? 1? ? *
? ?
? ? ? '? 0? <? C? K? ? > &