Java Tutorial/Swing/ScrollPaneLayout — различия между версиями

Материал из Java эксперт
Перейти к: навигация, поиск
м (1 версия)
 
(нет различий)

Текущая версия на 15:32, 31 мая 2010

Working with ScrollPaneLayout

ScrollPaneLayout Locations



Location                   Data Type       Description          
COLUMN_HEADER              JViewport       Usually empty. If main content is a table, serves as column headers.
HORIZONTAL_SCROLLBAR       JScrollBar      A scrollbar for the main content region.
LOWER_LEFT_CORNER          Component       Usually empty. For a region in the lower-left corner.
LOWER_RIGHT_CORNER         Component       Usually empty. For a region in the lower-right corner.
ROW_HEADER                 JViewport       Usually empty. If main content is a table, serves as row labels.
UPPER_LEFT_CORNER          Component       Usually empty. For a graphic in the upper-left corner.
UPPER_RIGHT_CORNER         Component       Usually empty. For a graphic in the upper-right corner.
VERTICAL_SCROLLBAR         JScrollBar      A scrollbar for the main content region, placed to the right of the 
VIEWPORT                   JViewport       The main content area.