|
Eclipse Draw2d 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.draw2d.text.FlowBox
org.eclipse.draw2d.text.ContentBox
org.eclipse.draw2d.text.TextFragmentBox
A Geometric object for representing a TextFragment region on a line of Text.
| Field Summary | |
int |
length
The length in characters |
int |
offset
The offset in characters |
| Fields inherited from class org.eclipse.draw2d.text.FlowBox |
x, y |
| Constructor Summary | |
TextFragmentBox()
Creates a new TextFragmentBox |
|
| Method Summary | |
int |
getAscent()
Returns the ascent of this TextFragmentBox |
boolean |
isRightToLeft()
Returns true if the bidi level is odd. |
void |
setAscent(int a)
Sets the ascent of this TextFragmentBox to the given value |
void |
setHeight(int h)
Sets the height of this TextFragmentBox to the given value |
void |
setWidth(int w)
Sets the width of this TextFragmentBox to the given value |
| Methods inherited from class org.eclipse.draw2d.text.ContentBox |
getBidiLevel, requiresBidi, setBidiLevel |
| Methods inherited from class org.eclipse.draw2d.text.FlowBox |
containsPoint, getBaseline, getDescent, getHeight, getWidth, makeBaseline |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int offset
public int length
| Constructor Detail |
public TextFragmentBox()
| Method Detail |
public int getAscent()
getAscent in class FlowBoxpublic boolean isRightToLeft()
true if the bidi level is odd. Right to left fragments should be
queried and rendered with the RLO control character inserted in front.
true if right-to-leftpublic void setAscent(int a)
a - the ascentpublic void setHeight(int h)
h - the heightpublic void setWidth(int w)
setWidth in class FlowBoxw - the width
|
Eclipse Draw2d 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||