Package com.pspdfkit.forms
Class PushButtonFormConfiguration.Builder
-
- All Implemented Interfaces:
public class PushButtonFormConfiguration.Builder extends FormElementConfiguration.BaseBuilder<V, B>
Builder used to construct PushButtonFormConfiguration instance.
-
-
Constructor Summary
Constructors Constructor Description PushButtonFormConfiguration.Builder(int pageIndex, RectF boundingBox, Bitmap bitmap)
Creates a new ListBoxFormConfiguration builder.
-
Method Summary
Modifier and Type Method Description PushButtonFormConfiguration
build()
Creates a PushButtonFormConfiguration with the arguments supplied to this builder. PushButtonFormConfiguration.Builder
setAction(@NonNull() Action action)
Sets the action of this push button form element. -
-
Constructor Detail
-
PushButtonFormConfiguration.Builder
PushButtonFormConfiguration.Builder(int pageIndex, RectF boundingBox, Bitmap bitmap)
Creates a new ListBoxFormConfiguration builder.- Parameters:
pageIndex
- Page index where the checkbox form element will be attached.boundingBox
- Annotation bounding box of the widget annotation representing the appearance of the checkbox form element.bitmap
- Bitmap that will be attached to the PushButtonFormElement.
-
-
Method Detail
-
build
@NonNull() PushButtonFormConfiguration build()
Creates a PushButtonFormConfiguration with the arguments supplied to this builder.
- Returns:
Newly created configuration.
-
setAction
PushButtonFormConfiguration.Builder setAction(@NonNull() Action action)
Sets the action of this push button form element.
-
-
-
-