public class CenterLayout
extends java.lang.Object
implements java.awt.LayoutManager2
Constructor and Description |
---|
CenterLayout() |
Modifier and Type | Method and Description |
---|---|
void |
addLayoutComponent(java.awt.Component component,
java.lang.Object constraints) |
void |
addLayoutComponent(java.lang.String name,
java.awt.Component component) |
float |
getLayoutAlignmentX(java.awt.Container target) |
float |
getLayoutAlignmentY(java.awt.Container target) |
void |
invalidateLayout(java.awt.Container target) |
void |
layoutContainer(java.awt.Container container) |
java.awt.Dimension |
maximumLayoutSize(java.awt.Container container) |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container container) |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container container) |
void |
removeLayoutComponent(java.awt.Component component) |
public void addLayoutComponent(java.lang.String name, java.awt.Component component)
addLayoutComponent
in interface java.awt.LayoutManager
public void addLayoutComponent(java.awt.Component component, java.lang.Object constraints)
addLayoutComponent
in interface java.awt.LayoutManager2
public void layoutContainer(java.awt.Container container)
layoutContainer
in interface java.awt.LayoutManager
public void invalidateLayout(java.awt.Container target)
invalidateLayout
in interface java.awt.LayoutManager2
public void removeLayoutComponent(java.awt.Component component)
removeLayoutComponent
in interface java.awt.LayoutManager
public java.awt.Dimension maximumLayoutSize(java.awt.Container container)
maximumLayoutSize
in interface java.awt.LayoutManager2
public java.awt.Dimension minimumLayoutSize(java.awt.Container container)
minimumLayoutSize
in interface java.awt.LayoutManager
public java.awt.Dimension preferredLayoutSize(java.awt.Container container)
preferredLayoutSize
in interface java.awt.LayoutManager
public float getLayoutAlignmentX(java.awt.Container target)
getLayoutAlignmentX
in interface java.awt.LayoutManager2
public float getLayoutAlignmentY(java.awt.Container target)
getLayoutAlignmentY
in interface java.awt.LayoutManager2