Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
    
    
  
  
    
    
    
    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 2025-08-20 UTC.
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[]]