static class PersistableSwatchChooserPanel.MainPanelLayout extends java.lang.Object implements java.awt.LayoutManager
| Constructor and Description |
|---|
MainPanelLayout() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp)
This method is called when a new component is added to the container.
|
void |
layoutContainer(java.awt.Container parent)
This method is called to set the size and position of the child
components for the given container.
|
java.awt.Dimension |
minimumLayoutSize(java.awt.Container parent)
This methods calculates the minimum layout size for the container.
|
java.awt.Dimension |
preferredLayoutSize(java.awt.Container parent)
This method returns the preferred layout size for the given container.
|
void |
removeLayoutComponent(java.awt.Component comp)
This method is called when a component is removed from the container.
|
MainPanelLayout()
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 void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent in interface java.awt.LayoutManagercomp - The component that was removed.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.