|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PanelView<T>
Encapsulates a Panel and its user-interface representation.
| Method Summary | |
|---|---|
boolean |
canShow()
Determines if the panel can be shown. |
void |
createInstallationRecord(IXMLElement rootElement)
Creates an installation record for unattended installations and adds it to a XML root element. |
int |
getIndex()
Returns the panel index. |
Panel |
getPanel()
Returns the panel. |
String |
getPanelId()
Returns the panel identifier. |
T |
getView()
Returns the panel user interface. |
boolean |
isValid()
Determines if the panel is valid. |
boolean |
isValid(boolean refreshVariables)
Determines if the panel is valid. |
boolean |
isVisible()
Determines the visibility of the panel. |
void |
saveData()
Save the contents of the panel into install data. |
void |
setIndex(int index)
Sets the panel index. |
void |
setVisible(boolean visible)
Sets the visibility of the panel. |
| Method Detail |
|---|
String getPanelId()
Panel getPanel()
int getIndex()
void setIndex(int index)
index - the indexT getView()
DataValidator specified, this will be constructed, with both the panel and view
supplied for injection into it's constructor.
void setVisible(boolean visible)
visible - if true the panel is visible, otherwise it is hiddenboolean isVisible()
true if the panel is visible, false if it is hiddenboolean isValid()
DynamicInstallerRequirementValidators returned by
InstallData.getDynamicInstallerRequirements()DataValidator associated with the panel
true if the panel is valid, otherwise falseboolean isValid(boolean refreshVariables)
DynamicInstallerRequirementValidators returned by
InstallData.getDynamicInstallerRequirements()DataValidator associated with the panel
refreshVariables - whether to refresh dynamic variables before validating
true if the panel is valid, otherwise falsevoid saveData()
boolean canShow()
true if the panel can be shownvoid createInstallationRecord(IXMLElement rootElement)
rootElement - the root to add child elements to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||