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

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

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

Creating a ViewForm

  1. ViewForm creates three controls in a row across the top of a Composite, with a content area below the controls.
  2. The first control contains the image in the upper left and the text Outline.
  3. The second control contains the toolbar buttons to the right of the text Outline, up to, but not including, the close button in the upper right.
  4. The third control is the close button in the upper right.
  5. Everything else is the content area.

You create a ViewForm by calling its only constructor:



ViewForm(Composite parent, int style)