|
Draw2D v2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Lays out figures, using a constraint if necessary.
| Method Summary | |
Object |
getConstraint(IFigure figure)
Returns the constraint for the given figure. |
Dimension |
getMinimumSize(IFigure parent)
Returns the minimum size of the given figure. |
Dimension |
getPreferredSize(IFigure parent)
Returns the preferred size of the given figure. |
Dimension |
getPreferredSize(IFigure parent,
int wHint,
int hHint)
Returns the preferred size of the given figure, using width and height hints. |
void |
invalidate()
Tells the LayoutManager to throw away all cached information about the figures it is resposible for. |
void |
invalidate(IFigure child)
Tells the LayoutManager to throw away any cached information about the given figure. |
void |
layout(IFigure parent)
Lays out the given figure. |
void |
remove(IFigure figure)
Removes the given figure from this LayoutManager. |
void |
setConstraint(IFigure figure,
Object constraint)
Sets the constraint for the given figure. |
| Method Detail |
public Object getConstraint(IFigure figure)
public Dimension getMinimumSize(IFigure parent)
public Dimension getPreferredSize(IFigure parent)
public Dimension getPreferredSize(IFigure parent,
int wHint,
int hHint)
public void invalidate()
public void invalidate(IFigure child)
public void layout(IFigure parent)
public void remove(IFigure figure)
public void setConstraint(IFigure figure,
Object constraint)
|
Draw2D v2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||