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 booleangetAgreeWithLicenseByDefault()gets the default setting for acceptance of the license aggreementjava.lang.StringgetExistingFilePath()gets an existing file path to license agreement text source file.booleangetForceScroll()gets the setting of whether to force user to scroll through license agreementbooleangetOpenExternalLinks()gets the setting of whether open external links in the user's default browser.booleangetRequiresUserChoice()gets the setting of whether user choice is requiredResourceTypesgetSourceFileType()gets whether to use a resource file (bundled in the installer) or an existing file from the target systen (at install time)java.lang.StringgetStepPrompt()Prompt the user to read the important note.java.lang.StringgetTitle()Title of the panelvoidsetAgreeWithLicenseByDefault(boolean value)gets the default setting for acceptance of the license aggreementvoidsetExistingFilePath(java.lang.String existingFilePath)sets an existing file path to license agreement text source file.voidsetForceScroll(boolean value)sets the setting of whether to force user to scroll through license agreementvoidsetOpenExternalLinks(boolean value)sets the setting of whether open external links in the user's default browser.voidsetRequiresUserChoice(boolean value)sets the setting of whether user choice is requiredvoidsetSourceFileType(ResourceTypes type)ets wether to use a resource file (bundled in the installer) or an existing file from the target systen (at install time)voidsetStepPrompt(java.lang.String t)Prompt the user to read the important note.voidsetTitle(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_FILEorRESOURCE_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.
-
-