static class PersistableSwatchChooserPanel.RecentPanelLayout extends Object implements LayoutManager
| Constructor and Description |
|---|
PersistableSwatchChooserPanel.RecentPanelLayout() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutComponent(String name,
Component comp)
This method is called when a component is added to the container.
|
void |
layoutContainer(Container parent)
This method sets the size and position of the child components of the
given container.
|
Dimension |
minimumLayoutSize(Container parent)
This method calculates the minimum layout size for the given container.
|
Dimension |
preferredLayoutSize(Container parent)
This method calculates the preferred layout size for the given
container.
|
void |
removeLayoutComponent(Component comp)
This method is called whenever a component is removed from the
container.
|
PersistableSwatchChooserPanel.RecentPanelLayout()
public void addLayoutComponent(String name, Component comp)
addLayoutComponent in interface LayoutManagername - The name of the component.comp - The added component.public void layoutContainer(Container parent)
layoutContainer in interface LayoutManagerparent - The container to lay out.public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize in interface LayoutManagerparent - The container.public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize in interface LayoutManagerparent - The container.public void removeLayoutComponent(Component comp)
removeLayoutComponent in interface LayoutManagercomp - The removed component.