Package com.zerog.ia.auto.project.panels
Class LicenseAgreementPanel
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- com.zerog.ia.auto.project.panels.InstallPanelAction
-
- com.zerog.ia.auto.project.panels.LicenseAgreementPanel
-
- All Implemented Interfaces:
Referenceable
- Direct Known Subclasses:
DisplayHTMLPanel
,ImportantNotePanel
public class LicenseAgreementPanel extends InstallPanelAction
This action presents a license agreement to the end user as part of the install, requiring the user to accept the terms (you must submit).
-
-
Constructor Summary
Constructors Constructor Description LicenseAgreementPanel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAgreeWithLicenseByDefault()
gets the default setting for acceptance of the license aggreementjava.lang.String
getExistingFilePath()
gets an existing file path to license agreement text source file.boolean
getForceScroll()
gets the setting of whether to force user to scroll through license agreementboolean
getOpenExternalLinks()
gets the setting of whether open external links in the user's default browser.boolean
getRequiresUserChoice()
gets the setting of whether user choice is requiredResourceTypes
getSourceFileType()
gets whether to use a resource file (bundled in the installer) or an existing file from the target systen (at install time)java.lang.String
getStepPrompt()
Prompt the user to read the important note.java.lang.String
getTitle()
Title of the panelvoid
setAgreeWithLicenseByDefault(boolean value)
gets the default setting for acceptance of the license aggreementvoid
setExistingFilePath(java.lang.String existingFilePath)
sets an existing file path to license agreement text source file.void
setForceScroll(boolean value)
sets the setting of whether to force user to scroll through license agreementvoid
setOpenExternalLinks(boolean value)
sets the setting of whether open external links in the user's default browser.void
setRequiresUserChoice(boolean value)
sets the setting of whether user choice is requiredvoid
setSourceFileType(ResourceTypes type)
ets wether to use a resource file (bundled in the installer) or an existing file from the target systen (at install time)void
setStepPrompt(java.lang.String t)
Prompt the user to read the important note.void
setTitle(java.lang.String t)
Title of the panel-
Methods inherited from class com.zerog.ia.auto.project.panels.InstallPanelAction
getArchivesSigned, getDependencies, getHelp, getImage, getImageOption, getInstallPanelClassName, getLabelIndex, getLabelOption, getResource, setArchivesSigned, setDependencies, setHelp, setImage, setImageOption, setInstallPanelClassName, setLabelIndex, setLabelOption, setResource
-
Methods inherited from class com.zerog.ia.auto.project.InstallableObject
getBelongsToUninstallPhase, getRollbackEnabledCancel, getRollbackEnabledError, getRuleExpression, getRules, getRulesLogicalOperation, getTagsInInstallPiece, setBelongsToUninstallPhase, setRollbackEnabledCancel, setRollbackEnabledError, setRuleExpression, setRulesLogicalOperation, setTagsInInstallPiece
-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
Method Detail
-
setTitle
public void setTitle(java.lang.String t)
Title of the panel
-
getTitle
public java.lang.String getTitle()
Title of the panel
-
getExistingFilePath
public java.lang.String getExistingFilePath()
gets an existing file path to license agreement text source file.
-
setExistingFilePath
public void setExistingFilePath(java.lang.String existingFilePath)
sets an existing file path to license agreement text source file.
-
setSourceFileType
public void setSourceFileType(ResourceTypes type)
ets wether to use a resource file (bundled in the installer) or an existing file from the target systen (at install time)- Parameters:
type
- the type should be eitherEXISTING_FILE
orRESOURCE_FILE
-
getSourceFileType
public ResourceTypes getSourceFileType()
gets whether to use a resource file (bundled in the installer) or an existing file from the target systen (at install time)
-
setStepPrompt
public void setStepPrompt(java.lang.String t)
Prompt the user to read the important note.
-
getStepPrompt
public java.lang.String getStepPrompt()
Prompt the user to read the important note.
-
setRequiresUserChoice
public void setRequiresUserChoice(boolean value)
sets the setting of whether user choice is required
-
getRequiresUserChoice
public boolean getRequiresUserChoice()
gets the setting of whether user choice is required
-
setAgreeWithLicenseByDefault
public void setAgreeWithLicenseByDefault(boolean value)
gets the default setting for acceptance of the license aggreement
-
getAgreeWithLicenseByDefault
public boolean getAgreeWithLicenseByDefault()
gets the default setting for acceptance of the license aggreement
-
setForceScroll
public void setForceScroll(boolean value)
sets the setting of whether to force user to scroll through license agreement
-
getForceScroll
public boolean getForceScroll()
gets the setting of whether to force user to scroll through license agreement
-
setOpenExternalLinks
public void setOpenExternalLinks(boolean value)
sets the setting of whether open external links in the user's default browser.
-
getOpenExternalLinks
public boolean getOpenExternalLinks()
gets the setting of whether open external links in the user's default browser.
-
-