|
Eclipse Draw2d 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.draw2d.text.FlowFigureLayout
A LayoutManager for use with FlowFigure.
WARNING: This class is not intended to be subclassed by clients.
| Constructor Summary | |
protected |
FlowFigureLayout(FlowFigure flowfigure)
Constructs a new FlowFigureLayout with the given FlowFigure. |
| Method Summary | |
Object |
getConstraint(IFigure child)
Not applicable. |
protected FlowContext |
getContext()
Returns this layout's context or null. |
protected FlowFigure |
getFlowFigure()
|
Dimension |
getMinimumSize(IFigure container,
int wHint,
int hHint)
Not applicable. |
Dimension |
getPreferredSize(IFigure container,
int wHint,
int hHint)
Not applicable. |
void |
invalidate()
Not applicable. |
protected abstract void |
layout()
Called during layout(IFigure). |
void |
layout(IFigure figure)
Lays out the given figure. |
void |
remove(IFigure child)
Not applicable. |
void |
setConstraint(IFigure child,
Object constraint)
Not applicable. |
void |
setFlowContext(FlowContext flowContext)
Sets the context for this layout manager. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected FlowFigureLayout(FlowFigure flowfigure)
flowfigure - the FlowFigure| Method Detail |
public Object getConstraint(IFigure child)
getConstraint in interface LayoutManagerchild - The figure
LayoutManager.getConstraint(org.eclipse.draw2d.IFigure)protected FlowContext getContext()
null.
null or a contextprotected FlowFigure getFlowFigure()
public Dimension getMinimumSize(IFigure container,
int wHint,
int hHint)
getMinimumSize in interface LayoutManagercontainer - The FigurewHint - the width hinthHint - the height hint
LayoutManager.getMinimumSize(org.eclipse.draw2d.IFigure, int, int)
public Dimension getPreferredSize(IFigure container,
int wHint,
int hHint)
getPreferredSize in interface LayoutManagercontainer - The figurewHint - The width hinthHint - The height hint
LayoutManager.getPreferredSize(org.eclipse.draw2d.IFigure, int, int)public void invalidate()
invalidate in interface LayoutManagerLayoutManager.invalidate()protected abstract void layout()
layout(IFigure).
public final void layout(IFigure figure)
LayoutManager
layout in interface LayoutManagerfigure - The figureLayoutManager.layout(IFigure)public void remove(IFigure child)
remove in interface LayoutManagerchild - the child being remocedLayoutManager.remove(org.eclipse.draw2d.IFigure)
public void setConstraint(IFigure child,
Object constraint)
setConstraint in interface LayoutManagerchild - The figureconstraint - The constraintLayoutManager.setConstraint(org.eclipse.draw2d.IFigure, java.lang.Object)public void setFlowContext(FlowContext flowContext)
flowContext - the context of this layout
|
Eclipse Draw2d 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||