capint
10/27/2015 - 11:11 AM

Eclipse >> SWT >> Bitwise operators

Eclipse >> SWT >> Bitwise operators

//*** Remove a style
event.detail &= ~SWT.HOT;

//*** Check if the style is NOT included
if ((event.detail & SWT.SELECTED) == 0)

//*** Check if the style is included
if ((styleBit & SWT.BAZ) == SWT.BAZ)

//*** Add styles
final Table leftTable = new Table(parent, SWT.MULTI | SWT.FULL_SELECTION);