
META-INF.modules.java.desktop.classes.sun.awt.im.CompositionArea.class Maven / Gradle / Ivy
???? :?
javax/swing/JPanel ()V
sun/awt/im/CompositionArea caret Ljava/awt/font/TextHitInfo; AWT.CompositionWindowTitle Input Window
java/awt/Toolkit getProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
sun/awt/im/InputMethodContext createInputMethodWindow ?(Ljava/lang/String;Lsun/awt/im/InputContext;Z)Ljava/awt/Window; javax/swing/JFrame ! " compositionWindow Ljavax/swing/JFrame;
$ % & setOpaque (Z)V
( ) * + , javax/swing/border/LineBorder createGrayLineBorder ()Ljavax/swing/border/Border;
. / 0 setBorder (Ljavax/swing/border/Border;)V 2 3 4 5 6 java/awt/Color black Ljava/awt/Color;
8 9 :
setForeground (Ljava/awt/Color;)V 2 < = 6 white
? @ :
setBackground
B C & enableInputMethods E java/awt/AWTEvent
I J K enableEvents (J)V
M N O getContentPane ()Ljava/awt/Container;
Q R S T U java/awt/Container add *(Ljava/awt/Component;)Ljava/awt/Component; W -sun/awt/im/CompositionArea$FrameWindowAdapter
V Y Z (Lsun/awt/im/CompositionArea;)V
\ ] ^ addWindowListener "(Ljava/awt/event/WindowListener;)V
` a b addInputMethodListener '(Ljava/awt/event/InputMethodListener;)V
B
e f pack
h i j getSize ()Ljava/awt/Dimension;
l m n
getToolkit ()Ljava/awt/Toolkit;
p q j
getScreenSize s t u v w java/awt/Dimension width I s y z w height
| } ~ setLocation (II)V
? ? &
setVisible ? ? ? handler #Lsun/awt/im/CompositionAreaHandler; ? sun/awt/im/InputMethodWindow ? ? ? ? setInputContext (Lsun/awt/im/InputContext;)V ? ? ? composedTextLayout Ljava/awt/font/TextLayout;
? ? ? ? ? java/awt/font/TextLayout getCaretInfo (Ljava/awt/font/TextHitInfo;)[F
? ? ? ? ? java/lang/Math round (F)I
? ? ? getGraphics ()Ljava/awt/Graphics;
? ? ? ? ? java/awt/Graphics getFontMetrics ()Ljava/awt/FontMetrics;
? ? ? dispose ? java/awt/Rectangle
? ? ? ? ? java/awt/FontMetrics getAscent ()I
? ? ? ?
getDescent
? ? ? (IIII)V
? ? ? paint (Ljava/awt/Graphics;)V
? ? ?
getForeground ()Ljava/awt/Color;
? ? ? : setColor ? java/awt/Graphics2D@? Ap
? ? ? ? draw (Ljava/awt/Graphics2D;FF)V
? ? ? getCaretRectangle 1(Ljava/awt/font/TextHitInfo;)Ljava/awt/Rectangle;
? ? ?
getBackground
? ? ? :
setXORMode ? ? ? w x ? ? ? w y ? y
? ? ? ? fillRect
? ? ? setPaintMode
? ? ? isVisible ()Z
? ? ? ? ? !sun/awt/im/CompositionAreaHandler inputMethodTextChanged $(Ljava/awt/event/InputMethodEvent;)V
? ? ? ? caretPositionChanged
? ? updateWindowLocation
? ? ? ? getFontRenderContext #()Ljava/awt/font/FontRenderContext;
? ? ? K(Ljava/text/AttributedCharacterIterator;Ljava/awt/font/FontRenderContext;)V
? ? ? ? getBounds ()Ljava/awt/geom/Rectangle2D;
? ? ? ? getMaxCharBounds 0(Ljava/awt/Graphics;)Ljava/awt/geom/Rectangle2D;
java/awt/geom/Rectangle2D getHeight ()D
getInsets ()Ljava/awt/Insets;
w java/awt/Insets top w bottom
? getClientInputMethodRequests #()Ljava/awt/im/InputMethodRequests;
getWidth w left w right
s ~
"#$ setPreferredSize (Ljava/awt/Dimension;)V
&'$ setSize
?* java/awt/Point
) -./0 ? java/awt/im/InputMethodRequests getTextLocation
23 n getDefaultToolkit ) ? ) ?
7 }8 (Ljava/awt/Point;)V
:;< getLocationOnScreen ()Ljava/awt/Point;
?>? ~ translate
ABC contains (DD)Z
?EFG hitTestChar (FF)Ljava/awt/font/TextHitInfo;
IJ ?
isDisplayable
LM removeNotify
OP & setUndecoratedR "java/awt/event/InputMethodListener
TEXT_ORIGIN_X
ConstantValue
TEXT_ORIGIN_Y
PASSIVE_WIDTH ? WIDTH_MARGIN
HEIGHT_MARGIN serialVersionUID J?S?d{??? Code LineNumberTable LocalVariableTable this Lsun/awt/im/CompositionArea; windowTitle Ljava/lang/String;
windowSize Ljava/awt/Dimension;
screenSize setHandlerInfo ?(Lsun/awt/im/CompositionAreaHandler;Lsun/awt/im/InputContext;)V inputContext Lsun/awt/im/InputContext; getInputMethodRequests
caretLocation layout g Ljava/awt/Graphics; metrics Ljava/awt/FontMetrics;
StackMapTabley java/awt/font/TextHitInfo{ java/lang/Throwable rectangle Ljava/awt/Rectangle; setCompositionAreaVisible visible Z isCompositionAreaVisible event !Ljava/awt/event/InputMethodEvent; setText E(Ljava/text/AttributedCharacterIterator;Ljava/awt/font/TextHitInfo;)V context !Ljava/awt/font/FontRenderContext; bounds Ljava/awt/geom/Rectangle2D; maxCharBoundsRec newHeight newFrameHeight req !Ljava/awt/im/InputMethodRequests; newWidth
newFrameWidth composedText 'Ljava/text/AttributedCharacterIterator;? %java/text/AttributedCharacterIterator? java/awt/font/FontRenderContext setCaret (Ljava/awt/font/TextHitInfo;)V windowLocation Ljava/awt/Point; caretRect SPACING offset location getLocationOffset (II)Ljava/awt/font/TextHitInfo; setCompositionAreaUndecorated
SourceFile CompositionArea.java NestMembers InnerClasses FrameWindowAdapter 1 Q
? ? ? ? ! " S w T U V w T W X w T Y Z w T [ \ w T ] ^_ T ` b C ?*? *?
? L*+? ? ? *? #*? '? -*? 1? 7*? ;? >*? A* F? H*? ? L*? PW*? ? VY*? X? [**? _*? ? c*? ? d*? ? gM*? k? oN*? -? r,? rdd-? x,? xddd? {*? ? ? c V I A K L M O # P * Q 1 R 8 V = W D Y P Z _ [ d \ l ] s ^ { _ ? ` ? b ? cd * ?ef ?gh { 0ij ? (kj lm b Y *+? ?*? ? ?,? ? ? c j k ld ef ? ? no p b / *? ?? c rd ef ? ? b % W=*? ?N-? -+? ?0? ?=*? ?::? ?:? ??
:? ??? ?Y`? ?d? ?? ?`? ?? &