public class StackLayout extends AbstractHintLayout
isObservingVisibility, preferredSize| Constructor and Description |
|---|
StackLayout() |
| Modifier and Type | Method and Description |
|---|---|
protected Dimension |
calculateMinimumSize(IFigure figure,
int wHint,
int hHint)
Returns the minimum size required by the input container.
|
protected Dimension |
calculatePreferredSize(IFigure figure,
int wHint,
int hHint)
Calculates and returns the preferred size of the given figure.
|
void |
layout(IFigure figure)
Lays out the given figure.
|
getMinimumSize, getPreferredSize, invalidate, isSensitiveHorizontally, isSensitiveVerticallycalculatePreferredSize, getBorderPreferredSize, getConstraint, getMinimumSize, getPreferredSize, invalidate, isObservingVisibility, remove, setConstraint, setObserveVisibilityprotected Dimension calculateMinimumSize(IFigure figure, int wHint, int hHint)
calculateMinimumSize in class AbstractHintLayoutfigure - the Figure on which this layout is installedwHint - the width hinthHint - the height hintAbstractHintLayout.calculateMinimumSize(IFigure, int, int)protected Dimension calculatePreferredSize(IFigure figure, int wHint, int hHint)
calculatePreferredSize in class AbstractLayoutfigure - The figurewHint - The width hinthHint - The height hintAbstractLayout.calculatePreferredSize(IFigure, int, int)public void layout(IFigure figure)
LayoutManagerfigure - The figureLayoutManager.layout(IFigure)Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.