|
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.Figure
org.eclipse.draw2d.text.FlowFigure
org.eclipse.draw2d.text.InlineFlow
A FlowFigure represented by multiple LineBox fragments. An
InlineFlow's parent must be either a BlockFlow or another
InlineFlow.
An InlineFlow may contain other InlineFlow figures.
WARNING: This class is not intended to be subclassed by clients.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.draw2d.Figure |
Figure.FigureIterator, Figure.IdentitySearch |
| Nested classes inherited from class org.eclipse.draw2d.IFigure |
IFigure.NoInsets |
| Field Summary |
| Fields inherited from class org.eclipse.draw2d.Figure |
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip |
| Fields inherited from interface org.eclipse.draw2d.IFigure |
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS |
| Constructor Summary | |
InlineFlow()
|
|
| Method Summary | |
boolean |
addLeadingWordRequirements(int[] width)
Iterates over the children to find the width before a line-break is encountered. |
boolean |
containsPoint(int x,
int y)
Returns true if the point (x, y) is contained within this
IFigure's bounds. |
protected FlowFigureLayout |
createDefaultFlowLayout()
Creates the default layout manager |
List |
getFragments()
Returns the LineBox fragments contained in this InlineFlow |
void |
postValidate()
Called after validate has occurred. |
| Methods inherited from class org.eclipse.draw2d.text.FlowFigure |
add, contributeBidi, getBidiValues, invalidateBidi, remove, revalidateBidi, setAppendJoiner, setBidiValues, setBounds, setFlowContext, setPrependJoiner |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InlineFlow()
| Method Detail |
public boolean addLeadingWordRequirements(int[] width)
addLeadingWordRequirements in class FlowFigurewidth - the width before the next line-break (if one's found; all the width,
otherwise) will be added on to the first int in the given array
FlowFigure.addLeadingWordRequirements(int[])
public boolean containsPoint(int x,
int y)
IFiguretrue if the point (x, y) is contained within this
IFigure's bounds.
containsPoint in interface IFigurecontainsPoint in class FigureIFigure.containsPoint(int, int)protected FlowFigureLayout createDefaultFlowLayout()
FlowFigure
createDefaultFlowLayout in class FlowFigureFlowFigure.createDefaultFlowLayout()public List getFragments()
LineBox fragments contained in this InlineFlow
public void postValidate()
FlowFigure
postValidate in class FlowFigureFlowFigure.postValidate()
|
Eclipse Draw2d 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||