|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.draw2d.text.FlowBox | +--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 pixels |
int |
offset
The offset in pixels |
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 |
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.FlowBox |
containsPoint, 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 FlowBox
public void setAscent(int a)
a
- the ascentpublic void setHeight(int h)
h
- the heightpublic void setWidth(int w)
w
- the width
|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |