|
Eclipse Draw2d 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.text.BidiProcessor
A helper class for a BlockFlow that does Bidi evaluation of all the text in that block.
WARNING: This class is for INTERNAL use only.
Field Summary | |
static BidiProcessor |
INSTANCE
A singleton instance. |
Method Summary | |
void |
add(FlowFigure fig,
char c)
Records a character contribution for this bidi context. |
void |
add(FlowFigure fig,
String str)
Records a String contribution for this bidi context. |
void |
addControlChar(char c)
This methods allows FlowFigures to contribute text that may effect the bidi evaluation, but is not text that is visible on the screen. |
void |
process()
Processes the contributed text, determines the Bidi levels, and assigns them to the FlowFigures that made thet contributions. |
void |
setOrientation(int newOrientation)
Sets the paragraph embedding. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final BidiProcessor INSTANCE
Method Detail |
public void add(FlowFigure fig, String str)
fig
- the figure that is contributing the given textstr
- the text contributed by the given figureaddControlChar(char)
public void add(FlowFigure fig, char c)
fig
- the figure that is contributing the given textc
- the character being addedaddControlChar(char)
public void addControlChar(char c)
c
- the control characterpublic void process()
public void setOrientation(int newOrientation)
newOrientation
- SWT.LEFT_TO_RIGHT or SWT.RIGHT_TO_LEFT
|
Eclipse Draw2d 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |