| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SignApi.Dialog.Button
The dialog may have buttons. 
 | 
static interface  | 
SignApi.Dialog.Callback
The callback to call when a dialog button is pressed. 
 | 
static class  | 
SignApi.Dialog.Color
Can change the colors of the dialog. 
 | 
static class  | 
SignApi.Dialog.ComponentType
The dialog consists of various components. 
 | 
static class  | 
SignApi.Dialog.Event
The parameter of the  
SignApi.SigningUpdateEvent.Callback. | 
static class  | 
SignApi.Dialog.Keyboard
A keyboard for editing text in the dialog. 
 | 
static class  | 
SignApi.Dialog.Margin
Can change the dialog crop margins. 
 | 
static class  | 
SignApi.Dialog.TextCapture
Two ways to write text. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
addKeyboard(SignApi.Dialog.Keyboard keyboard)
Adds a keyboard to the set of available dialog keyboards. 
 | 
static boolean | 
create(int pageNumber)
Creates a dialog starting at the specified page. 
 | 
static boolean | 
deleteKeyboard(SignApi.Dialog.Keyboard.Name name)
Deletes a keyboard. 
 | 
static boolean | 
disableFormFields()
Disables all form fields except signature fields. 
 | 
static Optional<SignApi.Dialog.TextCapture> | 
getDefaultTextCapture()
How to write text. 
 | 
static Optional<Integer> | 
getScrollValue()
How far to scroll. 
 | 
static Optional<Path> | 
save()
Saves the changes made to the form fields. 
 | 
static Optional<Path> | 
save(Path path)
Saves the changes made to the form fields. 
 | 
static boolean | 
setCallback(SignApi.Dialog.Callback callback)
Sets the callback to call when a dialog component has been pressed. 
 | 
static boolean | 
setDefaultTextCapture(SignApi.Dialog.TextCapture textCapture)
Sets how to write text. 
 | 
static boolean | 
setScrollValue(int scrollValue)
Sets how far to scroll. 
 | 
static boolean | 
showMessageBox(String heading,
              String message,
              List<String> labels)  | 
static boolean | 
showMessageBox(String heading,
              String message,
              String... labels)
Shows a message box in the dialog with a heading, a message and up to three buttons. 
 | 
static boolean | 
startSignature(Path path,
              boolean scroll)
Starts signing the signature fields. 
 | 
public static boolean setCallback(SignApi.Dialog.Callback callback)
callback - The callback.public static boolean addKeyboard(SignApi.Dialog.Keyboard keyboard)
keyboard - The keyboard.public static boolean deleteKeyboard(SignApi.Dialog.Keyboard.Name name)
name - The name of the keyboard.public static Optional<Integer> getScrollValue()
public static boolean setScrollValue(int scrollValue)
scrollValue - The scroll value.public static boolean create(int pageNumber)
pageNumber - The zero-based page number.public static boolean disableFormFields()
public static Optional<Path> save()
public static Optional<Path> save(Path path)
path - The path to probably save the document to.public static boolean showMessageBox(String heading, String message, String... labels)
heading - The headingmessage - The message text.labels - The button labels.public static boolean showMessageBox(String heading, String message, List<String> labels)
public static boolean startSignature(Path path, boolean scroll)
path - The path to save the signed document to.scroll - Whether to scroll to the signature fields.public static Optional<SignApi.Dialog.TextCapture> getDefaultTextCapture()
public static boolean setDefaultTextCapture(SignApi.Dialog.TextCapture textCapture)
textCapture - The text capture way.Copyright © 2025. All rights reserved.