
META-INF.modules.java.desktop.classes.sun.awt.im.CompositionAreaHandler.class Maven / Gradle / Ivy
???? :
java/lang/Object ()V
!sun/awt/im/CompositionAreaHandler caret Ljava/awt/font/TextHitInfo; java/lang/ref/WeakReference
(Ljava/lang/Object;)V clientComponent Ljava/lang/ref/WeakReference; inputMethodContext Lsun/awt/im/InputMethodContext; compositionAreaLock Ljava/lang/Object; sun/awt/im/CompositionArea
" # $ compositionArea Lsun/awt/im/CompositionArea; & ' ( compositionAreaOwner #Lsun/awt/im/CompositionAreaHandler;
* + , setHandlerInfo ?(Lsun/awt/im/CompositionAreaHandler;Lsun/awt/im/InputContext;)V
. / 0 get ()Ljava/lang/Object; 2 java/awt/Component
1 4 5 6 getInputMethodRequests #()Ljava/awt/im/InputMethodRequests;
8 9 : ; < sun/awt/im/InputMethodContext useBelowTheSpotInput ()Z
> ? @ setCompositionAreaUndecorated (Z)V B C D composedText 'Ljava/text/AttributedCharacterIterator;
F G createCompositionArea
I J K setText E(Ljava/text/AttributedCharacterIterator;Ljava/awt/font/TextHitInfo;)V
M N < isCompositionAreaVisible
P Q @ setCompositionAreaVisible
S T U V W java/awt/event/InputMethodEvent getID ()I
Y Z [ inputMethodTextChanged $(Ljava/awt/event/InputMethodEvent;)V
] ^ [ caretPositionChanged
>
S a b c getText )()Ljava/text/AttributedCharacterIterator;
S e f W getCommittedCharacterCount h i j k W %java/text/AttributedCharacterIterator getEndIndex h m n W
getBeginIndex p java/text/AttributedString r s t
IM_ATTRIBUTES 2[Ljava/text/AttributedCharacterIterator$Attribute;
o v w ^(Ljava/text/AttributedCharacterIterator;II[Ljava/text/AttributedCharacterIterator$Attribute;)V y z { | } java/awt/font/TextAttribute FONT Ljava/awt/font/TextAttribute;
? ? getFont ()Ljava/awt/Font;
o ? ? ? addAttribute F(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;)V
o ? ? c getIterator
S ? ? ? getCaret ()Ljava/awt/font/TextHitInfo;
S ? ? 0 getSource
8 ? ? ? dispatchCommittedText ?(Ljava/awt/Component;Ljava/text/AttributedCharacterIterator;I)V
M
? ? updateWindowLocation
S ? ? consume
? ? ? setCaret (Ljava/awt/font/TextHitInfo;)V
? ? ? getTextLocation 1(Ljava/awt/font/TextHitInfo;)Ljava/awt/Rectangle; ? java/awt/Rectangle
? ? ? (IIII)V
? ? 6 getClientInputMethodRequests ? ? ? java/awt/im/InputMethodRequests
? ? ? getLocationOffset (II)Ljava/awt/font/TextHitInfo; ? ? ? W getInsertPositionOffset ? ? ? ? getCommittedText ](II[Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/text/AttributedCharacterIterator; ? ? D
EMPTY_TEXT ? ? ? W getCommittedTextLength ? ? ? ? cancelLatestCommittedText [([Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/text/AttributedCharacterIterator; ? ? ? ? getSelectedText ? /java/text/AttributedCharacterIterator$Attribute y ? ? } INPUT_METHOD_HIGHLIGHT ?
o ? ? (Ljava/lang/String;)V ? "java/awt/event/InputMethodListener Signature 3Ljava/lang/ref/WeakReference; "(Lsun/awt/im/InputMethodContext;)V Code LineNumberTable LocalVariableTable this context req !Ljava/awt/im/InputMethodRequests; client Ljava/awt/Component;
StackMapTable ? java/lang/Throwable setClientComponent (Ljava/awt/Component;)V grabCompositionArea doUpdate Z releaseCompositionArea closeCompositionArea visible processInputMethodEvent event !Ljava/awt/event/InputMethodEvent; undecorated composedTextString Ljava/text/AttributedString; text committedCharacterCount I requests offset ? java/awt/font/TextHitInfo x y
beginIndex endIndex
attributes
SourceFile CompositionAreaHandler.java InnerClasses Attribute ? ?
# $
' ( C D ? ? s t ? D ? ? _ *? *? *?
Y? ? *+? ? ? A : ; B C ? ? ( ? G ? ? W? YL» Y? ? !? %? ? !? %*? ? )*? ? -? 1M,? ,? 3N-? *? ? 7? *? =+ç
:+??? L O O S O ? . I J K L # P . Q 2 R 7 S E T J W V X ? 7 ? ? . ? ? W ? ( ? ? # &D ?? ? ? ? E
*?
Y+? ? ? ?
[ \ ?
? (
? ? @ ? ? V? YM² %*? A*? %? !? ? !**? ? )? (*? A?
? !? *? E? !? ? !*? A*? ? H,ç N,?-?? M P P S P ? 2 g h
i j k " m &