Какие качели менеджеры компоновки

Ниже приводится список Swing менеджеры компоновки с их краткими описаниями.

BoxLayout The layout manager used by the Box container. It arranges its children into either a row or a column. It uses the glue and strut components returned by static Box methods to display stretchy and rigid spaces between the children.
OverlayLayout An obscure and infrequently used layout manager that overlaps its children based on the children’s alignment values specified with the setAlignmentX() and setAlignmentY() methods inherited from JComponent. Used by AbstractButton.
ScrollPaneLayout A specialized layout manager used by JScrollPane. Not typically useful for general-purpose layouts.
ViewportLayout A specialized layout manager used by JViewport. Not useful for general-purpose layouts.

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

Можно использовать следующие HTML-теги и атрибуты: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>