public class AssistantPane extends Object implements AssistantPageContext
assitant pages with an dialog.| Constructor and Description |
|---|
AssistantPane(Window parent,
String title)
Creates a new
AssistantPane. |
| Modifier and Type | Method and Description |
|---|---|
AssistantPage |
getCurrentPage()
Gets the currently displayed
page. |
Window |
getWindow()
The window in which the
AssistantPage is shown. |
void |
setCurrentPage(AssistantPage currentPage)
Sets the currently displayed
page. |
void |
show(AssistantPage firstPage)
Displays the dialog if this
AssistantPane with
the given page as first page. |
void |
show(AssistantPage firstPage,
Rectangle bounds)
Displays the dialog if this
AssistantPane with
the given page as first page. |
void |
showErrorDialog(String message)
Shows an error dialog with the given message.
|
void |
updateState()
Forces an updated of the state.
|
public Window getWindow()
AssistantPageContextAssistantPage is shown.getWindow in interface AssistantPageContextpublic AssistantPage getCurrentPage()
AssistantPageContextpage.getCurrentPage in interface AssistantPageContextpublic void setCurrentPage(AssistantPage currentPage)
AssistantPageContextpage.
Should only be called by the framwoerk.setCurrentPage in interface AssistantPageContextcurrentPage - The current page.public void updateState()
AssistantPageContextupdateState in interface AssistantPageContextpublic void showErrorDialog(String message)
AssistantPageContextshowErrorDialog in interface AssistantPageContextmessage - The error message to display.public void show(AssistantPage firstPage)
AssistantPane with
the given page as first page.firstPage - The first page which is displayed in the dialog.public void show(AssistantPage firstPage, Rectangle bounds)
AssistantPane with
the given page as first page.firstPage - The first page which is displayed in the dialog.bounds - The screen bounds of the window, may be null.Copyright © 2014–2019 European Space Agency (ESA). All rights reserved.