org.jfree.ui.tabbedui
public class VerticalLayout extends Object implements LayoutManager
| Constructor Summary | |
|---|---|
| VerticalLayout()
DefaultConstructor. | |
| VerticalLayout(boolean useParent)
Creates a new vertical layout. | |
| Method Summary | |
|---|---|
| void | addLayoutComponent(String name, Component comp)
Adds the specified component with the specified name to
the layout.
|
| boolean | isUseSizeFromParent()
Returns, whether the parent's defined size is used during the layouting,
or whether the childs are used to compute the size.
|
| void | layoutContainer(Container parent)
Lays out the container in the specified panel.
|
| Dimension | minimumLayoutSize(Container parent)
Calculates the minimum size dimensions for the specified
panel given the components in the specified parent container.
|
| Dimension | preferredLayoutSize(Container parent)
Calculates the preferred size dimensions for the specified
panel given the components in the specified parent container.
|
| void | removeLayoutComponent(Component comp)
Removes the specified component from the layout.
|
Parameters: useParent defines, whether the parent's size is used.
Parameters: name the component name comp the component to be added
Returns: true, if the parent's size is used, false otherwise.
Parameters: parent the component which needs to be laid out
Parameters: parent the component to be laid out
Returns: the minimul layoutsize
See Also: VerticalLayout
Parameters: parent the component to be laid out
Returns: the preferred layout size
See Also: VerticalLayout
Parameters: comp the component to be removed