jdk/src/java.desktop/unix/classes/sun/awt/X11InputMethod.java
changeset 30938 35ae5c70d60e
parent 25859 3317bb8137f4
child 30948 0a0972d3b58d
equal deleted inserted replaced
30937:95d84a11bee3 30938:35ae5c70d60e
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    33 import java.awt.AWTException;
    33 import java.awt.AWTException;
    34 import java.awt.Component;
    34 import java.awt.Component;
    35 import java.awt.Container;
    35 import java.awt.Container;
    36 import java.awt.EventQueue;
    36 import java.awt.EventQueue;
    37 import java.awt.Window;
    37 import java.awt.Window;
    38 import java.awt.im.InputContext;
       
    39 import java.awt.im.InputMethodHighlight;
    38 import java.awt.im.InputMethodHighlight;
    40 import java.awt.im.spi.InputMethodContext;
    39 import java.awt.im.spi.InputMethodContext;
    41 import sun.awt.im.InputMethodAdapter;
    40 import sun.awt.im.InputMethodAdapter;
    42 import java.awt.event.InputEvent;
       
    43 import java.awt.event.KeyEvent;
       
    44 import java.awt.event.MouseEvent;
       
    45 import java.awt.event.FocusEvent;
       
    46 import java.awt.event.ComponentEvent;
       
    47 import java.awt.event.WindowEvent;
       
    48 import java.awt.event.InputMethodEvent;
    41 import java.awt.event.InputMethodEvent;
    49 import java.awt.font.TextAttribute;
    42 import java.awt.font.TextAttribute;
    50 import java.awt.font.TextHitInfo;
    43 import java.awt.font.TextHitInfo;
    51 import java.awt.peer.ComponentPeer;
    44 import java.awt.peer.ComponentPeer;
    52 import java.lang.Character.Subset;
    45 import java.lang.Character.Subset;
  1093     }
  1086     }
  1094 
  1087 
  1095     /*
  1088     /*
  1096      * Native methods
  1089      * Native methods
  1097      */
  1090      */
  1098     protected native String resetXIC();
  1091     private native String resetXIC();
  1099     private native void disposeXIC();
  1092     private native void disposeXIC();
  1100     private native boolean setCompositionEnabledNative(boolean enable);
  1093     private native boolean setCompositionEnabledNative(boolean enable);
  1101     private native boolean isCompositionEnabledNative();
  1094     private native boolean isCompositionEnabledNative();
  1102     private native void turnoffStatusWindow();
  1095     private native void turnoffStatusWindow();
  1103 }
  1096 }