public class BasicInternalFrameUI.InternalFrameLayout extends Objectimplements LayoutManager
| Constructor and Description |
|---|
InternalFrameLayout()
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutComponent(String
If the layout manager uses a per-component string, adds the component
comp to the layout, associating it with the string specified by
name.
|
void |
layoutContainer(Container
Lays out the specified container.
|
Dimension |
minimumLayoutSize(Container
Calculates the minimum size dimensions for the specified container, given the components it contains.
|
Dimension |
preferredLayoutSize(Container
Calculates the preferred size dimensions for the specified container, given the components it contains.
|
void |
removeLayoutComponent(Component
Removes the specified component from the layout.
|
public void addLayoutComponent(Stringname, Component c)
LayoutManager
comp to the layout, associating it with the string specified by
name.
addLayoutComponent in interface
LayoutManager
name - the string to be associated with the component
c - the component to be added
public void removeLayoutComponent(Componentc)
LayoutManager
removeLayoutComponent in interface
LayoutManager
c - the component to be removed
public DimensionpreferredLayoutSize(Container c)
LayoutManager
preferredLayoutSize in interface
LayoutManager
c - the container to be laid out
LayoutManager.minimumLayoutSize(java.awt.Container)
public DimensionminimumLayoutSize(Container c)
LayoutManager
minimumLayoutSize in interface
LayoutManager
c - the component to be laid out
LayoutManager.preferredLayoutSize(java.awt.Container)
public void layoutContainer(Containerc)
LayoutManager
layoutContainer in interface
LayoutManager
c - the container to be laid out