Какие АВТ менеджеров компоновки

Ниже приведен список менеджеров АВТ макет с их краткими описаниями.

BorderLayout Lays out a maximum of five components: one along each of the four borders of the container and one in the center. When using this layout manager, you must add components to the container using a two-argument version of the add() method. The constraint argument should be one of the strings «North», «East», «South», «West», or «Center». Despite the simplicity of this layout system, this layout manager is used quite often.
CardLayout Makes each component as large as the container and displays only one at a time. Various methods change the currently displayed component.
FlowLayout Arranges components like words on a page: from left to right in rows and then top to bottom as each row fills up. Rows may be left, center, or right justified.
GridBagLayout A flexible layout manager that arranges components in a grid with variable-sized cells. Allows explicit control over the way each component is resized when the container changes size. Requires a complex constraints set specified with the GridBagConstraints object.
GridLayout Makes all components the same size and arranges them in a grid of specified dimensions.

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

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

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