public class BasicInternalFrameTitlePane.TitlePaneLayout extends Object implements LayoutManager
| Constructor and Description |
|---|
BasicInternalFrameTitlePane.TitlePaneLayout()
Creates a new
TitlePaneLayout object. |
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutComponent(String name,
Component c)
This method is called when adding a Component to the Container.
|
void |
layoutContainer(Container c)
This method is called to lay out the children of the Title Pane.
|
Dimension |
minimumLayoutSize(Container c)
This method returns the minimum size of the given Container given the
children that it has.
|
Dimension |
preferredLayoutSize(Container c)
This method returns the preferred size of the given Container taking
into account the children that it has.
|
void |
removeLayoutComponent(Component c)
This method is called when removing a Component from the Container.
|
public BasicInternalFrameTitlePane.TitlePaneLayout()
TitlePaneLayout object.public void addLayoutComponent(String name, Component c)
addLayoutComponent in interface LayoutManagername - The name to reference the added Component by.c - The Component to add.public void layoutContainer(Container c)
layoutContainer in interface LayoutManagerc - The Container to lay out.public Dimension minimumLayoutSize(Container c)
minimumLayoutSize in interface LayoutManagerc - The Container to get a minimum size for.LayoutManager.preferredLayoutSize(Container)public Dimension preferredLayoutSize(Container c)
preferredLayoutSize in interface LayoutManagerc - The Container to lay out.LayoutManager.minimumLayoutSize(Container)public void removeLayoutComponent(Component c)
removeLayoutComponent in interface LayoutManagerc - The Component to remove.