org.eclipse.swt.internal
Class BidiUtil
java.lang.Object
org.eclipse.swt.internal.BidiUtil
public class BidiUtil
- extends java.lang.Object
Method Summary |
static void |
addLanguageListener(Control control,
java.lang.Runnable runnable)
|
static void |
addLanguageListener(long hwnd,
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(Control control)
|
static void |
removeLanguageListener(long hwnd)
|
static void |
setKeyboardLanguage(int language)
|
static boolean |
setOrientation(Control control,
int orientation)
|
static boolean |
setOrientation(long hwnd,
int orientation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
BidiUtil
public BidiUtil()
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)
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)