org.eclipse.draw2d.text
Class TextFragmentBox
java.lang.Object
|
+--org.eclipse.draw2d.text.FlowBox
|
+--org.eclipse.draw2d.text.TextFragmentBox
- public class TextFragmentBox
- extends FlowBox
Fields inherited from class org.eclipse.draw2d.text.FlowBox |
x, y |
Method Summary |
int |
getAscent()
By default, a FlowBox is all ascent, and no descent, so the height is returned. |
void |
setAscent(int a)
|
void |
setHeight(int h)
|
void |
setWidth(int w)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
offset
public int offset
length
public int length
TextFragmentBox
public TextFragmentBox()
getAscent
public int getAscent()
- Description copied from class:
FlowBox
- By default, a FlowBox is all ascent, and no descent, so the height is returned.
- Overrides:
getAscent
in class FlowBox
- Returns:
- the ascent in pixels above the baseline
setAscent
public void setAscent(int a)
setHeight
public void setHeight(int h)
setWidth
public void setWidth(int w)
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.