|
Eclipse Draw2d 3.3 |
||||||||||
| 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.FlowAdapter
Adapts non-flow figures for use within a parent hierarchy requiring flow figures. Normal draw2d figures can be added as children. If a normal LayoutManager is set, the children will be positioned by that layout manager. The size of this figure within the flow will be determined by its preferred size.
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.text.FlowFigure |
selectionStart |
| 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 | |
FlowAdapter()
|
|
| Method Summary | |
protected void |
contributeBidi(BidiProcessor proc)
This FlowFigure contributes an Object Replacement Character. |
protected FlowFigureLayout |
createDefaultFlowLayout()
Creates the default layout manager |
protected void |
layout()
Sizes the content box to be big enough to display all figures. |
void |
postValidate()
Updates the bounds of this figure to match that of its content box, and lays out this figure's children. |
void |
setBidiInfo(BidiInfo info)
Sets the bidi level of the content box associated with this Figure |
void |
setBounds(Rectangle rect)
FlowFigures override setBounds() to prevent translation of children. |
void |
setFlowContext(FlowContext flowContext)
Sets the flow context. |
void |
validate()
Do not validate children. |
| Methods inherited from class org.eclipse.draw2d.text.FlowFigure |
add, addLeadingWordRequirements, remove, revalidateBidi, setSelection |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FlowAdapter()
| Method Detail |
protected void contributeBidi(BidiProcessor proc)
contributeBidi in class FlowFigureproc - the BidiProcessor to which contributions should be madeFlowFigure.contributeBidi(BidiProcessor)protected FlowFigureLayout createDefaultFlowLayout()
FlowFigure
createDefaultFlowLayout in class FlowFigurenullFlowFigure.createDefaultFlowLayout()protected void layout()
layout in class FigureFigure.layout()public void postValidate()
postValidate in class FlowFigureFlowFigure.postValidate()public void setBidiInfo(BidiInfo info)
setBidiInfo in class FlowFigureinfo - the BidiInfo for this figureFlowFigure.setBidiInfo(BidiInfo)public void setBounds(Rectangle rect)
FlowFigure
setBounds in interface IFiguresetBounds in class FlowFigureIFigure.setBounds(org.eclipse.draw2d.geometry.Rectangle)public void setFlowContext(FlowContext flowContext)
FlowFigure
setFlowContext in class FlowFigureflowContext - the flow context for this flow figureFlowFigure.setFlowContext(FlowContext)public void validate()
validate in interface IFigurevalidate in class FigureIFigure.validate()
|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||