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