Java Tutorial/SWT/ViewForm — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 17:44, 31 мая 2010
Creating a ViewForm
- ViewForm creates three controls in a row across the top of a Composite, with a content area below the controls.
- The first control contains the image in the upper left and the text Outline.
- 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.
- The third control is the close button in the upper right.
- Everything else is the content area.
You create a ViewForm by calling its only constructor:
ViewForm(Composite parent, int style)