Builder
class Builder
Builder for FormEditRecord
Summary
Public constructors |
Creates a new instance.
|
Public constructors
Builder
Builder(
type: Int,
pageNumber: Int,
widgetIndex: Int)
Creates a new instance.
Exceptions |
java.lang.IllegalArgumentException |
if a negative page number or widget index is provided |
Public methods
build
fun build(): FormEditRecord
Builds this record
Exceptions |
java.lang.NullPointerException |
if the click point is not provided for a click type record, if the selected indices are not provided for a set indices type record, or if the text is not provided for a set text type record |
setClickPoint
fun setClickPoint(clickPoint: Point?): FormEditRecord.Builder
Sets the click point for this record
Parameters |
clickPoint |
Point?: This value may be null . |
Exceptions |
java.lang.IllegalArgumentException |
if this is not a click type record |
setSelectedIndices
fun setSelectedIndices(selectedIndices: IntArray?): FormEditRecord.Builder
Sets the selected indices for this record
Parameters |
selectedIndices |
IntArray?: This value may be null . |
Exceptions |
java.lang.IllegalArgumentException |
if this is not a set indices type record |
setText
fun setText(text: String?): FormEditRecord.Builder
Sets the text for this record
Parameters |
text |
String?: This value may be null . |
Exceptions |
java.lang.IllegalArgumentException |
if this is not a set text type record |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-06-18 UTC.