public interface AssistantPage
AssistantPage is part of a sequence of pages. AssistantPane to assists the user to
accomplish a specific task by stepping through the pages.| Modifier and Type | Method and Description |
|---|---|
boolean |
canFinish()
Determines if the page can finish the current assitant or not.
|
boolean |
canHelp()
Determines if the page can show help information.
|
AssistantPageContext |
getContext()
Gets the current context for this page.
|
AssistantPage |
getNextPage()
|
Component |
getPageComponent()
Gets the component of the page.
|
String |
getPageTitle()
Gets the title of the page.
|
boolean |
hasNextPage() |
void |
performCancel()
Cancels the current execution of the assitant.
|
boolean |
performFinish()
|
void |
performHelp()
Only called if @link #canHelp ()} returns
true. |
void |
setContext(AssistantPageContext pageContext)
Sets the current context for this page.
|
boolean |
validatePage()
Called from
AssistantPageContext.updateState() in order to validate user inputs. |
String getPageTitle()
Component getPageComponent()
boolean hasNextPage()
AssistantPage getNextPage()
null if no next page exists or the page could not be created.boolean validatePage()
AssistantPageContext.updateState() in order to validate user inputs.boolean canFinish()
true if the page can perform finish, otherwise falseboolean performFinish()
true if finishing was successful, otherwise false.void performCancel()
boolean canHelp()
true if the page can show help information, otherwise falsevoid performHelp()
true.void setContext(AssistantPageContext pageContext)
pageContext - The context of the page.AssistantPageContext getContext()
Copyright © 2014–2019 European Space Agency (ESA). All rights reserved.