# Uses of Class
org.eclipse.jface.widgets.ButtonFactory

Packages that use ButtonFactory
Package
Description
org.eclipse.jface.widgets

## Uses of ButtonFactory in org.eclipse.jface.widgets

Subclasses with type arguments of type ButtonFactory in org.eclipse.jface.widgets
Modifier and Type
Class
Description
`final class`
`ButtonFactory`
This class provides a convenient shorthand for creating and initializing `Button`.
Methods in org.eclipse.jface.widgets that return ButtonFactory
Modifier and Type
Method
Description
`static ButtonFactory`
WidgetFactory.`button(int style)`
`ButtonFactory`
ButtonFactory.`image(Image image)`
Sets the receiver's image to the argument, which may be `null` indicating that no image should be displayed.
`static ButtonFactory`
ButtonFactory.`newButton(int style)`
Creates a new ButtonFactory with the given style.
`ButtonFactory`
ButtonFactory.`onSelect(Consumer<SelectionEvent> consumer)`
Creates a `SelectionListener` and registers it for the widgetSelected event.
`ButtonFactory`
ButtonFactory.`text(String text)`
Sets the receiver's text.