| java.awt.LayoutManager
All known Subclasses: java.awt.GridLayout, java.awt.FlowLayout,
LayoutManager | public interface LayoutManager (Code) | | Defines the interface for classes that know how to lay out
Container s.
Swing's painting architecture assumes the children of a
JComponent do not overlap. If a
JComponent 's LayoutManager allows
children to overlap, the JComponent must override
isOptimizedDrawingEnabled to return false.
See Also: Container See Also: javax.swing.JComponent.isOptimizedDrawingEnabled version: 1.33, 05/05/07 author: Sami Shaio author: Arthur van Hoff |
addLayoutComponent | void addLayoutComponent(String name, Component comp)(Code) | | If the layout manager uses a per-component string,
adds the component comp to the layout,
associating it
with the string specified by name .
Parameters: name - the string to be associated with the component Parameters: comp - the component to be added |
layoutContainer | void layoutContainer(Container parent)(Code) | | Lays out the specified container.
Parameters: parent - the container to be laid out |
removeLayoutComponent | void removeLayoutComponent(Component comp)(Code) | | Removes the specified component from the layout.
Parameters: comp - the component to be removed |
|
|