|
install4j API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.install4j.api.beans.AbstractBean
com.install4j.api.screens.AbstractUninstallerScreen
public abstract class AbstractUninstallerScreen
Abstract base class for uninstaller screens. All methods that have a reasonable default answer are overridden in the class. This class saves the uninstaller context that is set by the framework and provides a getter for it.
| Constructor Summary | |
|---|---|
AbstractUninstallerScreen()
|
|
| Method Summary | |
|---|---|
void |
activated()
Called by the framework just after the screen has been activated. |
boolean |
cancel()
Called when the user clicks the "Cancel" button for this screen. |
void |
deactivated()
Called by the framework just after the screen has been deactivated. |
ProgressInterface |
getProgressInterface(ProgressInterface defaultProgressInterface)
Replace the default prorgess interface for actions with a custom progress interface. |
UninstallerContext |
getUninstallerContext()
Returns the UninstallerContext that the framework has associated with this custom screen in setUninstallerContext. |
boolean |
handleConsole(Console console)
Handle the console mode. |
boolean |
handleUnattended()
Handle the unattended mode. |
boolean |
hasTitlePanel()
This method is called by the framework to determine if this screen wants a title area or not. |
void |
installerEvent(InstallerEvent event)
Called when an installer event is fired. |
boolean |
isCancelVisible()
Returns whether the "Cancel" button is visible or not for this screen. |
boolean |
isHidden()
Returns whether this screen should be hidden. |
boolean |
isHiddenForNext()
Returns whether this screen should be hidden when the user traverses screens in the forward direction. |
boolean |
isHiddenForPrevious()
Returns whether this screen should be hidden when the user traverses screens in the backward direction. |
boolean |
isNextVisible()
Returns whether the "Next" button is visible or not for this screen. |
boolean |
isPreviousVisible()
Returns whether the "Back" button is visible or not for this screen. |
boolean |
next()
Called when the user clicks the "Next" button for this screen. |
boolean |
previous()
Called when the user clicks the "Back" button for this screen. |
void |
setUninstallerContext(UninstallerContext context)
This method is called by the framework to set the UninstallerContext. |
void |
willActivate()
Called by the framework just before the screen is activated. |
| Methods inherited from class com.install4j.api.beans.AbstractBean |
|---|
replaceVariables, replaceVariables, replaceVariables, replaceVariables |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.install4j.api.screens.Screen |
|---|
createComponent, getSubTitle, getTitle, isFillHorizontal, isFillVertical |
| Constructor Detail |
|---|
public AbstractUninstallerScreen()
| Method Detail |
|---|
public void setUninstallerContext(UninstallerContext context)
UninstallerScreen
setUninstallerContext in interface UninstallerScreencontext - the uninstaller context.public boolean isNextVisible()
ScreenIn console or unattended mode, this method is never called.
isNextVisible in interface ScreenWizardContextpublic boolean isPreviousVisible()
ScreenIn console or unattended mode, this method is never called.
isPreviousVisible in interface ScreenWizardContextpublic boolean isCancelVisible()
ScreenIn console or unattended mode, this method is never called.
isCancelVisible in interface ScreenWizardContextpublic boolean isHiddenForNext()
ScreenThis method is also called in console or unattended mode.
isHiddenForNext in interface Screenpublic boolean isHiddenForPrevious()
ScreenThis method is also called in console or unattended mode.
isHiddenForPrevious in interface Screenpublic void activated()
ScreenIn console or unattended mode, this method is never called.
activated in interface Screenpublic void deactivated()
ScreenIn console or unattended mode, this method is never called.
deactivated in interface Screenpublic void installerEvent(InstallerEvent event)
InstallerEventListener
installerEvent in interface InstallerEventListenerevent - the eventpublic boolean next()
ScreenIn console or unattended mode, this method is never called.
next in interface Screenpublic boolean previous()
ScreenIn console or unattended mode, this method is never called.
previous in interface Screenpublic boolean cancel()
Screen
cancel in interface ScreenIn console or unattended mode, this method is never called.
public void willActivate()
ScreenIn console or unattended mode, this method is never called.
willActivate in interface Screenpublic boolean isHidden()
ScreenThis method is also called in console or unattended mode.
isHidden in interface ScreenScreen.isHiddenForNext(),
Screen.isHiddenForPrevious()public boolean handleUnattended()
Screen
handleUnattended in interface Screenpublic boolean handleConsole(Console console)
ScreenIf this screen has a form panel (i.e. hasFormPanel() returns true), you should call FormEnvironment.handleConsole in this method to handle console mode for the contained form components.
handleConsole in interface Screenconsole - the Console object
FormEnvironment.handleConsole(Console)public ProgressInterface getProgressInterface(ProgressInterface defaultProgressInterface)
Screen
getProgressInterface in interface ScreendefaultProgressInterface - the default progress interface
public boolean hasTitlePanel()
Screen
hasTitlePanel in interface Screenpublic UninstallerContext getUninstallerContext()
|
install4j API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||