Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 


 ПОДПИСКА

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.




All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.awt.LayoutManager

public interface LayoutManager
Defines the interface for classes that know how to layout Containers.

See Also:
Container

Method Index

 o addLayoutComponent(String, Component)
Adds the specified component with the specified name to the layout.
 o layoutContainer(Container)
Lays out the container in the specified panel.
 o minimumLayoutSize(Container)
Calculates the minimum size dimensions for the specified panel given the components in the specified parent container.
 o preferredLayoutSize(Container)
Calculates the preferred size dimensions for the specified panel given the components in the specified parent container.
 o removeLayoutComponent(Component)
Removes the specified component from the layout.

Methods

 o addLayoutComponent
 public abstract void addLayoutComponent(String name,
                                         Component comp)
Adds the specified component with the specified name to the layout.

Parameters:
name - the component name
comp - the component to be added
 o removeLayoutComponent
 public abstract void removeLayoutComponent(Component comp)
Removes the specified component from the layout.

Parameters:
comp - the component ot be removed
 o preferredLayoutSize
 public abstract Dimension preferredLayoutSize(Container parent)
Calculates the preferred size dimensions for the specified panel given the components in the specified parent container.

Parameters:
parent - the component to be laid out
See Also:
minimumLayoutSize
 o minimumLayoutSize
 public abstract Dimension minimumLayoutSize(Container parent)
Calculates the minimum size dimensions for the specified panel given the components in the specified parent container.

Parameters:
parent - the component to be laid out
See Also:
preferredLayoutSize
 o layoutContainer
 public abstract void layoutContainer(Container parent)
Lays out the container in the specified panel.

Parameters:
parent - the component which needs to be laid out

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Submit a bug or feature


With any suggestions or questions please feel free to contact us