org.esa.beam.visat.toolviews.layermanager.layersrc
Class SelectLayerSourceAssistantPage

java.lang.Object
  extended by org.esa.beam.framework.ui.assistant.AbstractAssistantPage
      extended by org.esa.beam.framework.ui.layer.AbstractLayerSourceAssistantPage
          extended by org.esa.beam.visat.toolviews.layermanager.layersrc.SelectLayerSourceAssistantPage
All Implemented Interfaces:
AssistantPage

public class SelectLayerSourceAssistantPage
extends AbstractLayerSourceAssistantPage

Note: This API is not public yet and may significantly change in the future. Use it at your own risk.


Constructor Summary
SelectLayerSourceAssistantPage(LayerSourceDescriptor[] sourceDescriptors)
           
 
Method Summary
 boolean canFinish()
          Determines if the page can finish the current assitant or not.
 Component createPageComponent()
          Creates the component of this page.
 AbstractLayerSourceAssistantPage getNextPage()
          Called only if AssistantPage.validatePage() and AssistantPage.hasNextPage() return true.
 boolean hasNextPage()
           
 boolean performFinish()
          Ccalled only if AssistantPage.validatePage() and AssistantPage.canFinish() return true.
 boolean validatePage()
          Called from AssistantPageContext.updateState() in order to validate user inputs.
 
Methods inherited from class org.esa.beam.framework.ui.layer.AbstractLayerSourceAssistantPage
getContext, performCancel
 
Methods inherited from class org.esa.beam.framework.ui.assistant.AbstractAssistantPage
canHelp, getPageComponent, getPageTitle, performHelp, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectLayerSourceAssistantPage

public SelectLayerSourceAssistantPage(LayerSourceDescriptor[] sourceDescriptors)
Method Detail

validatePage

public boolean validatePage()
Description copied from interface: AssistantPage
Called from AssistantPageContext.updateState() in order to validate user inputs.

Specified by:
validatePage in interface AssistantPage
Overrides:
validatePage in class AbstractAssistantPage
Returns:
true, if the current page is valid

hasNextPage

public boolean hasNextPage()
Specified by:
hasNextPage in interface AssistantPage
Overrides:
hasNextPage in class AbstractAssistantPage
Returns:
true, if a next page is available

getNextPage

public AbstractLayerSourceAssistantPage getNextPage()
Description copied from interface: AssistantPage
Called only if AssistantPage.validatePage() and AssistantPage.hasNextPage() return true.

Specified by:
getNextPage in interface AssistantPage
Overrides:
getNextPage in class AbstractAssistantPage
Returns:
the next page, or null if no next page exists or the page could not be created.

canFinish

public boolean canFinish()
Description copied from interface: AssistantPage
Determines if the page can finish the current assitant or not.

Specified by:
canFinish in interface AssistantPage
Overrides:
canFinish in class AbstractAssistantPage
Returns:
true if the page can perform finish, otherwise false

performFinish

public boolean performFinish()
Description copied from interface: AssistantPage
Ccalled only if AssistantPage.validatePage() and AssistantPage.canFinish() return true.

Specified by:
performFinish in interface AssistantPage
Overrides:
performFinish in class AbstractAssistantPage
Returns:
true if finishing was successful, otherwise false.

createPageComponent

public Component createPageComponent()
Description copied from class: AbstractAssistantPage
Creates the component of this page.

Specified by:
createPageComponent in class AbstractAssistantPage
Returns:
The component of this page


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.