|
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.FlowBox
org.eclipse.draw2d.text.CompositeBox
org.eclipse.draw2d.text.LineBox
org.eclipse.draw2d.text.NestedLine
Method Summary | |
boolean |
containsPoint(int x,
int y)
This method must be called on a block that is completely positioned and committed. |
int |
getBaseline()
Returns y coordinate for the box's baseline. |
int |
getOuterAscent()
Returns the outer ascent of this box. |
int |
getOuterDescent()
Returns the outer descent of this box. |
void |
setLineTop(int top)
Positions the box vertically by setting the y coordinate for the top of the content of the line. |
Methods inherited from class org.eclipse.draw2d.text.LineBox |
add, getAscent, getDescent, isOccupied, requiresBidi |
Methods inherited from class org.eclipse.draw2d.text.CompositeBox |
getRecommendedWidth, setRecommendedWidth |
Methods inherited from class org.eclipse.draw2d.text.FlowBox |
getWidth, getX, setWidth, setX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean containsPoint(int x, int y)
FlowBox
containsPoint
in class FlowBox
x
- Xy
- Y
true
if the FlowBox contains the pointFlowBox.containsPoint(int, int)
public int getBaseline()
FlowBox
getBaseline
in class FlowBox
FlowBox.getBaseline()
public int getOuterAscent()
public int getOuterDescent()
public void setLineTop(int top)
CompositeBox
setLineTop
in class CompositeBox
top
- the y coordinateCompositeBox.setLineTop(int)
|
Eclipse Draw2d 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |