WebObjects 5.2

com.webobjects.directtoweb
Interface InspectPageInterface

All Known Subinterfaces:
EditPageInterface
All Known Implementing Classes:
D2WInspectPage

public interface InspectPageInterface

This interface is implemented by pages returned by the D2W method inspectPageForEntityNamed. Use methods defined in this interface to initialize a newly created inspect page.


Method Summary
 void setNextPage(WOComponent nextPage)
          Sets page to display when the user clicks 'Return' in the inspect page.
 void setNextPageDelegate(NextPageDelegate nextPageDelegate)
          Sets delegate object that receives call to nextPage method.
 void setObject(EOEnterpriseObject eo)
          Sets the object displayed by the inspect page.
 

Method Detail

setNextPage

public void setNextPage(WOComponent nextPage)
Sets page to display when the user clicks 'Return' in the inspect page. If the new page needs to be initialized, use the method setNextPageDelegate instead.
Parameters:
nextPage - page returned when 'Return' button is clicked in the page

setNextPageDelegate

public void setNextPageDelegate(NextPageDelegate nextPageDelegate)
Sets delegate object that receives call to nextPage method. When the user clicks 'Return' in the inspect page, Direct to Web invokes the nextPage method on nextPageDelegate. The page returned by that method call is the next page displayed. One normally uses this delegate mechanism to initialize the next page.
Parameters:
nextPageDelegate - delegate object that receives the call to nextPage when the user clicks 'Return' in the inspect page

setObject

public void setObject(EOEnterpriseObject eo)
Sets the object displayed by the inspect page.
Parameters:
eo - object to inspect in the page

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.