com.togethersoft.openapi.baseexpert
Interface ExpertController


public interface ExpertController

Expert Controller.

Author:
TogetherSoft
Version: 1.0

Method Summary
 voidcancel()
          Called when expert is canceled
 booleancanFinish()
          Returns true if finish action possible
 booleanfinish()
          Called when expert is finished.
 intgetNextPageNumber()
          Returns the next expert page number or -1 if the next page could not be shown
 intgetPreviousPageNumber()
          Returns the previous expert page number or -1 if the previous page could not be shown
 booleanisPageValid(int pageNumber)
          Returns true if the controls on the expert page with given number have correct values
 voidpageShown(int pageNumber)
          Called when expert page with given number is shown on the screen

Method Detail

cancel

public void cancel()
Called when expert is canceled

canFinish

public boolean canFinish()
Returns true if finish action possible

finish

public boolean finish()
Called when expert is finished.
Method should return false is finish action is not successfull and the dialog should not be closed.

getNextPageNumber

public int getNextPageNumber()
Returns the next expert page number or -1 if the next page could not be shown

getPreviousPageNumber

public int getPreviousPageNumber()
Returns the previous expert page number or -1 if the previous page could not be shown

isPageValid

public boolean isPageValid(int pageNumber)
Returns true if the controls on the expert page with given number have correct values

pageShown

public void pageShown(int pageNumber)
Called when expert page with given number is shown on the screen