List « org.eclipse.swt.widgets « Java by API






1.new List(Shell s, SWT.MULTI | SWT.BORDER)
2.new List(Shell s, SWT.SINGLE | SWT.BORDER)
3.List: add(String value)
4.List: addSelectionListener(SelectionListener lis)
5.List: getSelection()
6.List: getVerticalBar()
7.List: removeAll()
8.List: select(int index)
9.List: setItems(String[] values)








10.List: showSelection()