Java Tutorial/SWT/ViewForm

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

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)