|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.basic.BasicInternalFrameTitlePane.TitlePaneLayout
public class BasicInternalFrameTitlePane.TitlePaneLayout
This class acts as the Layout Manager for the TitlePane.
Constructor Summary | |
---|---|
BasicInternalFrameTitlePane.TitlePaneLayout()
Creates a new TitlePaneLayout object. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicInternalFrameTitlePane.TitlePaneLayout()
TitlePaneLayout
object.
Method Detail |
---|
public void addLayoutComponent(String name, Component c)
addLayoutComponent
in interface LayoutManager
name
- The name to reference the added Component by.c
- The Component to add.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 get a minimum size for.
LayoutManager.preferredLayoutSize(Container)
public Dimension preferredLayoutSize(Container c)
preferredLayoutSize
in interface LayoutManager
c
- The Container to lay out.
LayoutManager.minimumLayoutSize(Container)
public void removeLayoutComponent(Component c)
removeLayoutComponent
in interface LayoutManager
c
- The Component to remove.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |