Package org.eclipse.swt.internal
Class BidiUtil
- java.lang.Object
-
- org.eclipse.swt.internal.BidiUtil
-
public class BidiUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
CLASS_ARABIC
static int
CLASS_HEBREW
static int
CLASS_LATINNUMBER
static int
CLASS_LOCALNUMBER
static int
CLASSIN
static int
GLYPHSHAPE
static int
KEYBOARD_BIDI
static int
KEYBOARD_NON_BIDI
static int
LIGATE
static int
LINKAFTER
static int
LINKBEFORE
static int
REORDER
-
Constructor Summary
Constructors Constructor Description BidiUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addLanguageListener(long hwnd, java.lang.Runnable runnable)
static void
addLanguageListener(Control control, java.lang.Runnable runnable)
static void
drawGlyphs(GC gc, char[] renderBuffer, int[] renderDx, int x, int y)
static int
getFontBidiAttributes(GC gc)
static int
getKeyboardLanguage()
static void
getOrderInfo(GC gc, java.lang.String text, int[] order, byte[] classBuffer, int flags, int[] offsets)
static char[]
getRenderInfo(GC gc, java.lang.String text, int[] order, byte[] classBuffer, int[] dx, int flags, int[] offsets)
static boolean
isBidiPlatform()
static boolean
isKeyboardBidi()
static void
removeLanguageListener(long hwnd)
static void
removeLanguageListener(Control control)
static int
resolveTextDirection(java.lang.String text)
static void
setKeyboardLanguage(int language)
static boolean
setOrientation(long hwnd, int orientation)
static boolean
setOrientation(Control control, int orientation)
-
-
-
Field Detail
-
KEYBOARD_NON_BIDI
public static final int KEYBOARD_NON_BIDI
- See Also:
- Constant Field Values
-
KEYBOARD_BIDI
public static final int KEYBOARD_BIDI
- See Also:
- Constant Field Values
-
CLASSIN
public static final int CLASSIN
- See Also:
- Constant Field Values
-
LINKBEFORE
public static final int LINKBEFORE
- See Also:
- Constant Field Values
-
LINKAFTER
public static final int LINKAFTER
- See Also:
- Constant Field Values
-
CLASS_HEBREW
public static final int CLASS_HEBREW
- See Also:
- Constant Field Values
-
CLASS_ARABIC
public static final int CLASS_ARABIC
- See Also:
- Constant Field Values
-
CLASS_LOCALNUMBER
public static final int CLASS_LOCALNUMBER
- See Also:
- Constant Field Values
-
CLASS_LATINNUMBER
public static final int CLASS_LATINNUMBER
- See Also:
- Constant Field Values
-
REORDER
public static final int REORDER
- See Also:
- Constant Field Values
-
LIGATE
public static final int LIGATE
- See Also:
- Constant Field Values
-
GLYPHSHAPE
public static final int GLYPHSHAPE
- See Also:
- Constant Field Values
-
-
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)
-
-