Mega Code Archive

 
Categories / Java Tutorial / SWT
 

Decorations Styles

Constant Description SWT.BORDERCreates a window with a nonresizable border. SWT.CLOSECreates a window that can be closed. SWT.MINCreates a window that can be minimized. SWT.MAXCreates a window that can be maximized. SWT.NO_TRIMCreates a window with no border, title bar, or any other kind of trim. SWT.RESIZECreates a window with a resizable border. SWT.TITLECreates a window with a title bar. SWT.ON_TOPCreates a window at the top of the z-order within the parent composite. SWT.TOOLCreates a window with a thin tool border. SWT.SHELL_TRIMConvenience constant that combines SWT.CLOSE, SWT.TITLE, SWT.MIN, SWT.MAX, and SWT.RESIZE. SWT.DIALOG_TRIMConvenience constant that combines SWT.CLOSE, SWT.TITLE, and SWT.BORDER.