public class Panel extends DefaultConfigurationHandler implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Panel.ConfirmQuitType
Whether we confirm quit from this panel.
|
| Constructor and Description |
|---|
Panel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPostValidationAction(PanelActionConfiguration action) |
void |
addPreActivationAction(PanelActionConfiguration action) |
void |
addPreConstructionAction(PanelActionConfiguration action) |
void |
addPreValidationAction(PanelActionConfiguration action) |
void |
addValidator(String validatorClassName,
String validatorConditionId,
Configurable configurable)
Adds a panel validator and a condition defining whether the panel validator should be asked at all.
|
Set<String> |
getAffectedVariableNames()
Gets a unique collection of names of variables that might me affected when this panel is active.
|
String |
getClassName() |
String |
getCondition() |
Panel.ConfirmQuitType |
getConfirmQuitType()
Gets the behavior when quit is pressed on this panel.
|
String |
getDisplayHiddenCondition()
Get the 'displayHiddenCondition' of this panel.
|
String |
getHelpUrl(String localeISO3) |
List<OsModel> |
getOsConstraints() |
String |
getPanelId() |
List<PanelActionConfiguration> |
getPostValidationActions() |
List<PanelActionConfiguration> |
getPreActivationActions() |
List<PanelActionConfiguration> |
getPreConstructionActions() |
List<PanelActionConfiguration> |
getPreValidationActions() |
String |
getReadonlyCondition()
Get the 'readonlyCondition' of this panel.
|
String |
getValidatorCondition(int index)
Gets a validator condition
|
Configurable |
getValidatorConfiguration(int index)
Gets a validator condition
|
List<String> |
getValidators()
Get validator and validator condition entries for this panel
|
boolean |
hasCondition() |
boolean |
hasDisplayHiddenCondition()
Whether the 'displayHiddenCondition' is set for this panel.
|
boolean |
hasPanelId() |
boolean |
hasReadonlyCondition()
Whether the 'readonlyCondition' is set for this panel.
|
boolean |
isDisplayHidden() |
boolean |
isReadonly() |
boolean |
isVisited() |
void |
setAffectedVariableNames(Set<String> names)
Adds or completes a collection of names of variables that might me affected when this panel is active.
|
void |
setClassName(String className) |
void |
setCondition(String condition) |
void |
setConfirmQuitType(Panel.ConfirmQuitType value)
Sets the behavior when quit is pressed on this panel.
|
void |
setDisplayHidden(boolean flag) |
void |
setDisplayHiddenCondition(String condition)
Set the 'displayHiddenCondition' of this panel.
|
void |
setHelps(List<Help> helps) |
void |
setOsConstraints(List<OsModel> osConstraints) |
void |
setPanelId(String panelId) |
void |
setReadonly(boolean flag) |
void |
setReadonlyCondition(String condition)
Set the 'readonlyCondition' of this panel.
|
void |
setVisited(boolean visited)
Mark panel visited for summarizing the installation story
|
String |
toString() |
addConfigurationOption, getConfigurationOption, getConfigurationOptionValue, getConfigurationOptionValue, getConfigurationOptionValue, getNames, readParameterspublic String getClassName()
public void setClassName(String className)
public boolean hasPanelId()
public String getPanelId()
public void setPanelId(String panelId)
public String getCondition()
public void setCondition(String condition)
condition - the condition to setpublic boolean hasCondition()
public String getDisplayHiddenCondition()
public void setDisplayHiddenCondition(String condition)
condition - the condition to set when the panel should be shown read-only in otherwise hidden statepublic boolean hasDisplayHiddenCondition()
public boolean isDisplayHidden()
public void setDisplayHidden(boolean flag)
public boolean isReadonly()
public void setReadonly(boolean flag)
public String getReadonlyCondition()
public void setReadonlyCondition(String condition)
condition - the condition to set when the panel should be shown read-onlypublic boolean hasReadonlyCondition()
public List<String> getValidators()
public String getValidatorCondition(int index)
index - the order number of the validator within the panel definitionpublic Configurable getValidatorConfiguration(int index)
index - the order number of the validator within the panel definitionpublic void addValidator(String validatorClassName, String validatorConditionId, Configurable configurable)
validatorClassName - the class name the validatorvalidatorConditionId - the validator condition for this panel (set null for no condition)configurable - configuration options assigned to the validator (nested 'configuration' tag)public List<PanelActionConfiguration> getPreConstructionActions()
public void addPreConstructionAction(PanelActionConfiguration action)
public List<PanelActionConfiguration> getPreActivationActions()
public void addPreActivationAction(PanelActionConfiguration action)
public List<PanelActionConfiguration> getPreValidationActions()
public void addPreValidationAction(PanelActionConfiguration action)
public List<PanelActionConfiguration> getPostValidationActions()
public void addPostValidationAction(PanelActionConfiguration action)
public boolean isVisited()
public void setVisited(boolean visited)
visited - whether the panel has been shown to the userpublic Set<String> getAffectedVariableNames()
public void setAffectedVariableNames(Set<String> names)
names - Affected variablespublic Panel.ConfirmQuitType getConfirmQuitType()
public void setConfirmQuitType(Panel.ConfirmQuitType value)
value - the confirmation options of this panelCopyright © 2001–2025. All rights reserved.