| java.lang.Object org.jfree.ui.OverlayLayout
OverlayLayout | final public class OverlayLayout implements LayoutManager(Code) | | A simple layoutmanager to overlay all components of a parent.
This layout manager acts similiar to the card layout, but all
childs of the parent band have the same size and all childs can
be visible at the same time.
author: Thomas Morgner |
Constructor Summary | |
public | OverlayLayout(boolean ignoreInvisible) Creates a new instance. | public | OverlayLayout() DefaultConstructor. |
OverlayLayout | public OverlayLayout(boolean ignoreInvisible)(Code) | | Creates a new instance.
Parameters: ignoreInvisible - whether to ignore invisible components when computing the layout. |
OverlayLayout | public OverlayLayout()(Code) | | DefaultConstructor.
|
addLayoutComponent | public void addLayoutComponent(String name, Component comp)(Code) | | If the layout manager uses a per-component string,
adds the component comp to the layout,
associating it
with the string specified by name .
Parameters: name - the string to be associated with the component Parameters: comp - the component to be added |
layoutContainer | public void layoutContainer(Container parent)(Code) | | Lays out the specified container.
Parameters: parent - the container to be laid out |
minimumLayoutSize | public Dimension minimumLayoutSize(Container parent)(Code) | | Calculates the minimum size dimensions for the specified
container, given the components it contains.
Parameters: parent - the component to be laid out the minimum size computed for the parent. See Also: OverlayLayout.preferredLayoutSize |
preferredLayoutSize | public Dimension preferredLayoutSize(Container parent)(Code) | | Calculates the preferred size dimensions for the specified
container, given the components it contains.
Parameters: parent - the container to be laid out the preferred size computed for the parent. See Also: OverlayLayout.minimumLayoutSize |
removeLayoutComponent | public void removeLayoutComponent(Component comp)(Code) | | Removes the specified component from the layout.
Parameters: comp - the component to be removed |
|
|