|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.colorchooser.CenterLayout
Center-positioning layout manager.
Constructor Summary | |
(package private) |
CenterLayout()
|
Method Summary | |
void |
addLayoutComponent(String name,
Component comp)
If the layout manager uses a per-component string, adds the component comp to the layout,
associating it
with the string specified by name . |
void |
layoutContainer(Container container)
Lays out the specified container. |
Dimension |
minimumLayoutSize(Container cont)
Calculates the minimum size dimensions for the specified container, given the components it contains. |
Dimension |
preferredLayoutSize(Container container)
Calculates the preferred size dimensions for the specified container, given the components it contains. |
void |
removeLayoutComponent(Component comp)
Removes the specified component from the layout. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
CenterLayout()
Method Detail |
public void addLayoutComponent(String name, Component comp)
LayoutManager
comp
to the layout,
associating it
with the string specified by name
.
addLayoutComponent
in interface LayoutManager
name
- the string to be associated with the componentcomp
- the component to be addedpublic void removeLayoutComponent(Component comp)
LayoutManager
removeLayoutComponent
in interface LayoutManager
comp
- the component to be removedpublic Dimension preferredLayoutSize(Container container)
LayoutManager
preferredLayoutSize
in interface LayoutManager
container
- the container to be laid outLayoutManager.minimumLayoutSize(java.awt.Container)
public Dimension minimumLayoutSize(Container cont)
LayoutManager
minimumLayoutSize
in interface LayoutManager
cont
- the component to be laid outLayoutManager.preferredLayoutSize(java.awt.Container)
public void layoutContainer(Container container)
LayoutManager
layoutContainer
in interface LayoutManager
container
- the container to be laid out
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |