public static class

PushButtonFormConfiguration.Builder

extends FormElementConfiguration.BaseBuilder<V extends FormElementConfiguration, B extends BaseBuilder<V, B>>
java.lang.Object
   ↳ com.pspdfkit.forms.FormElementConfiguration.BaseBuilder<V extends com.pspdfkit.forms.FormElementConfiguration, B extends com.pspdfkit.forms.FormElementConfiguration.BaseBuilder<V, B>>
     ↳ com.pspdfkit.forms.PushButtonFormConfiguration.Builder

Class Overview

Builder used to construct PushButtonFormConfiguration instance.

Summary

Public Constructors
Builder(int pageIndex, RectF boundingBox, Bitmap bitmap)
Creates a new ListBoxFormConfiguration builder.
Public Methods
PushButtonFormConfiguration build()
Creates a PushButtonFormConfiguration with the arguments supplied to this builder.
PushButtonFormConfiguration.Builder setAction(Action action)
Sets the action of this push button form element.
Protected Methods
PushButtonFormConfiguration.Builder getThis()
Returns correct type of this builder.
[Expand]
Inherited Methods
From class com.pspdfkit.forms.FormElementConfiguration.BaseBuilder
From class java.lang.Object

Public Constructors

public 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.

Public Methods

public PushButtonFormConfiguration build ()

Creates a PushButtonFormConfiguration with the arguments supplied to this builder.

Returns
  • Newly created configuration.

public PushButtonFormConfiguration.Builder setAction (Action action)

Sets the action of this push button form element.

Protected Methods

protected PushButtonFormConfiguration.Builder getThis ()

Returns correct type of this builder.