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