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 intCLASS_ARABICstatic intCLASS_HEBREWstatic intCLASS_LATINNUMBERstatic intCLASS_LOCALNUMBERstatic intCLASSINstatic intGLYPHSHAPEstatic intKEYBOARD_BIDIstatic intKEYBOARD_NON_BIDIstatic intLIGATEstatic intLINKAFTERstatic intLINKBEFOREstatic intREORDER
-
Constructor Summary
Constructors Constructor Description BidiUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddLanguageListener(long hwnd, java.lang.Runnable runnable)static voidaddLanguageListener(Control control, java.lang.Runnable runnable)static voiddrawGlyphs(GC gc, char[] renderBuffer, int[] renderDx, int x, int y)static intgetFontBidiAttributes(GC gc)static intgetKeyboardLanguage()static voidgetOrderInfo(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 booleanisBidiPlatform()static booleanisKeyboardBidi()static voidremoveLanguageListener(long hwnd)static voidremoveLanguageListener(Control control)static intresolveTextDirection(java.lang.String text)static voidsetKeyboardLanguage(int language)static booleansetOrientation(long hwnd, int orientation)static booleansetOrientation(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)
-
-