ariba.ui.table
Class AWTDataTable.DataTableNavigationHandler

java.lang.Object
  extended by ariba.ui.table.AWTDataTable.DataTableNavigationHandler
All Implemented Interfaces:
AWErrorHandler
Enclosing class:
AWTDataTable

public class AWTDataTable.DataTableNavigationHandler
extends java.lang.Object
implements AWErrorHandler

data table assist in navigating to display item (row) with error


Constructor Summary
AWTDataTable.DataTableNavigationHandler(AWTDataTable table)
           
 
Method Summary
 boolean canGoToErrorImmediately(AWErrorInfo error, AWComponent pageComponent)
           
 boolean canGoToErrorWithLink(AWErrorInfo error, AWComponent pageComponent)
           
 AWComponent goToError(AWErrorInfo error, AWComponent pageComponent)
          Go to the error spot of the current error.
 AWErrorInfo selectFirstError(java.util.List errors)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWTDataTable.DataTableNavigationHandler

public AWTDataTable.DataTableNavigationHandler(AWTDataTable table)
Method Detail

canGoToErrorImmediately

public boolean canGoToErrorImmediately(AWErrorInfo error,
                                       AWComponent pageComponent)
Specified by:
canGoToErrorImmediately in interface AWErrorHandler

canGoToErrorWithLink

public boolean canGoToErrorWithLink(AWErrorInfo error,
                                    AWComponent pageComponent)
Specified by:
canGoToErrorWithLink in interface AWErrorHandler

goToError

public AWComponent goToError(AWErrorInfo error,
                             AWComponent pageComponent)
Description copied from interface: AWErrorHandler
Go to the error spot of the current error.

Specified by:
goToError in interface AWErrorHandler
Parameters:
error - the error being navigated to
pageComponent - the current page
Returns:
Return null if don't you want to handle navigation for this error. Return pageComponent if you want to stay on the current page. Return a new page if you want to go to another page.

selectFirstError

public AWErrorInfo selectFirstError(java.util.List errors)
Specified by:
selectFirstError in interface AWErrorHandler


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.