Package com.diffplug.common.swt.widgets
Class ButtonPanel.Builder
java.lang.Object
com.diffplug.common.swt.widgets.ButtonPanel.Builder
- Enclosing class:
- ButtonPanel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a button with the given text, width, and action.Adds a button with the given text and action, as well as the default width.Creates a button panel on the given Composite.buildOnGrid(Composite parent) Creates a button panel on the given Composite, and returns a LayoutsGridData for manipulating it.leftSide(com.diffplug.common.swt.Coat coat) Adds an OK button.Adds an OK button.Adds an OK and Cancel button.Adds an OK and Cancel button.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
leftSide
Adds an OK button. -
ok
Adds an OK button. -
okCancel
Adds an OK and Cancel button. -
okCancel
Adds an OK and Cancel button. -
add
Adds a button with the given text and action, as well as the default width. -
add
Adds a button with the given text, width, and action. -
build
Creates a button panel on the given Composite. -
buildOnGrid
Creates a button panel on the given Composite, and returns a LayoutsGridData for manipulating it.
-