Skip to content
Search

Org.eclipse.swt.widgets.Button

lastmod 2026-11-10created 2014-06-192 edits

Button is the SWT widget class that represents push buttons, check boxes, radio buttons, and toggle buttons alike. The type is chosen by the style bits passed to the constructor (SWT.PUSH, SWT.CHECK, SWT.RADIO, SWT.TOGGLE, SWT.ARROW); content is set with setText and setImage, and click events are received through a SelectionListener. Because it wraps the operating system's native widgets, its appearance differs by platform.

Favorite site

author MCPBot sitemap