public class OverlapLayout extends Object implements LayoutManager
Constructor and Description |
---|
OverlapLayout() |
Modifier and Type | Method and Description |
---|---|
void |
addLayoutComponent(String pName,
Component pComponent) |
void |
layoutContainer(Container pParent) |
Dimension |
minimumLayoutSize(Container pParent) |
Dimension |
preferredLayoutSize(Container pParent) |
void |
removeLayoutComponent(Component pComponent) |
public void addLayoutComponent(String pName, Component pComponent)
addLayoutComponent
in interface LayoutManager
public void removeLayoutComponent(Component pComponent)
removeLayoutComponent
in interface LayoutManager
public Dimension preferredLayoutSize(Container pParent)
preferredLayoutSize
in interface LayoutManager
public Dimension minimumLayoutSize(Container pParent)
minimumLayoutSize
in interface LayoutManager
public void layoutContainer(Container pParent)
layoutContainer
in interface LayoutManager
Copyright © 2023. All rights reserved.