Class BidiUtil


  • public class BidiUtil
    extends java.lang.Object
    • Constructor Detail

      • BidiUtil

        public BidiUtil()
    • Method Detail

      • addLanguageListener

        public static void addLanguageListener​(long hwnd,
                                               java.lang.Runnable runnable)
      • addLanguageListener

        public static void addLanguageListener​(Control control,
                                               java.lang.Runnable runnable)
      • drawGlyphs

        public static void drawGlyphs​(GC gc,
                                      char[] renderBuffer,
                                      int[] renderDx,
                                      int x,
                                      int y)
      • isBidiPlatform

        public static boolean isBidiPlatform()
      • isKeyboardBidi

        public static boolean isKeyboardBidi()
      • getFontBidiAttributes

        public static int getFontBidiAttributes​(GC gc)
      • getOrderInfo

        public static void getOrderInfo​(GC gc,
                                        java.lang.String text,
                                        int[] order,
                                        byte[] classBuffer,
                                        int flags,
                                        int[] offsets)
      • getRenderInfo

        public static char[] getRenderInfo​(GC gc,
                                           java.lang.String text,
                                           int[] order,
                                           byte[] classBuffer,
                                           int[] dx,
                                           int flags,
                                           int[] offsets)
      • getKeyboardLanguage

        public static int getKeyboardLanguage()
      • removeLanguageListener

        public static void removeLanguageListener​(long hwnd)
      • removeLanguageListener

        public static void removeLanguageListener​(Control control)
      • resolveTextDirection

        public static int resolveTextDirection​(java.lang.String text)
      • setKeyboardLanguage

        public static void setKeyboardLanguage​(int language)
      • setOrientation

        public static boolean setOrientation​(long hwnd,
                                             int orientation)
      • setOrientation

        public static boolean setOrientation​(Control control,
                                             int orientation)