|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.basic.BasicInternalFrameUI.InternalFrameLayout
public class BasicInternalFrameUI.InternalFrameLayout
This helper class acts as the LayoutManager for JInternalFrames.
Constructor Summary | |
---|---|
BasicInternalFrameUI.InternalFrameLayout()
|
Method Summary | |
---|---|
void |
addLayoutComponent(String name,
Component c)
This method is called when the given Component is added to the JInternalFrame. |
void |
layoutContainer(Container c)
This method is used to set the bounds of the children of the JInternalFrame. |
Dimension |
minimumLayoutSize(Container c)
This method returns the minimum layout size. |
Dimension |
preferredLayoutSize(Container c)
Th8is method returns the preferred layout size. |
void |
removeLayoutComponent(Component c)
This method is called when a Component is removed from the JInternalFrame. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicInternalFrameUI.InternalFrameLayout()
Method Detail |
---|
public void addLayoutComponent(String name, Component c)
addLayoutComponent
in interface LayoutManager
name
- The name of the Component.c
- The Component added.public void layoutContainer(Container c)
layoutContainer
in interface LayoutManager
c
- The Container to lay out.public Dimension minimumLayoutSize(Container c)
minimumLayoutSize
in interface LayoutManager
c
- The Container to find a minimum layout size for.
LayoutManager.preferredLayoutSize(Container)
public Dimension preferredLayoutSize(Container c)
preferredLayoutSize
in interface LayoutManager
c
- The Container to find a preferred layout size for.
LayoutManager.minimumLayoutSize(Container)
public void removeLayoutComponent(Component c)
removeLayoutComponent
in interface LayoutManager
c
- The Component that was removed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |