public static final class SoftwareInfoForm.Builder
extends java.lang.Object
SoftwareInfoForm.
SoftwareInfoForm.Builder, use SoftwareInfoForm.getBuilder() method.
| Modifier and Type | Method and Description |
|---|---|
SoftwareInfoForm |
build()
This method is called to build a
SoftwareInfoForm. |
SoftwareInfoForm.Builder |
setDataForm(DataForm dataForm)
Include
DataForm to be encapsulated under SoftwareInfoForm. |
SoftwareInfoForm.Builder |
setIcon(int height,
int width,
java.util.List<MediaElement.Uri> uriList)
This will allow to include Icon using height, width and Uri's as a
FormField. |
SoftwareInfoForm.Builder |
setIcon(MediaElement mediaElement)
This will allow to include
MediaElement directly as a
FormField. |
SoftwareInfoForm.Builder |
setOS(java.lang.String os)
Include Operating System's name as a
FormField. |
SoftwareInfoForm.Builder |
setOSVersion(java.lang.String os_version)
Include Operating System's version as a
FormField. |
SoftwareInfoForm.Builder |
setSoftware(java.lang.String software)
Include Software name as a
FormField. |
SoftwareInfoForm.Builder |
setSoftwareVersion(java.lang.String softwareVersion)
Include Software Version as a
FormField. |
public SoftwareInfoForm.Builder setIcon(int height, int width, java.util.List<MediaElement.Uri> uriList)
FormField.
height - Height of the imagewidth - Width of the imageuriList - List of URIspublic SoftwareInfoForm.Builder setIcon(MediaElement mediaElement)
mediaElement - MediaElement to be includedpublic SoftwareInfoForm.Builder setOS(java.lang.String os)
FormField.
os - Name of the OSpublic SoftwareInfoForm.Builder setOSVersion(java.lang.String os_version)
FormField.
os_version - Version of OSpublic SoftwareInfoForm.Builder setSoftware(java.lang.String software)
FormField.
software - Name of the softwarepublic SoftwareInfoForm.Builder setSoftwareVersion(java.lang.String softwareVersion)
FormField.
softwareVersion - Version of the Software in usepublic SoftwareInfoForm.Builder setDataForm(DataForm dataForm)
DataForm to be encapsulated under SoftwareInfoForm.
dataForm - The dataform containing Software Informationpublic SoftwareInfoForm build()
SoftwareInfoForm.