Java Tutorial/SWT/Custom Layout — различия между версиями
Admin (обсуждение | вклад)  м (1 версия)  | 
				|
(нет различий) 
 | |
Текущая версия на 15:19, 31 мая 2010
17. Creating Your Own Layouts
A layout must extend the org.eclipse.swt.widgets.Layout class. org.eclipse.swt.widgets.Layout has only two abstract methods:
The computeSize method computes and returns the minimum size of the specified composite"s client area according to this layout.
   
   
protected abstract Point computeSize(Composite composite,int wHint,int hHint, boolean flushCache)