Enterprise Information Portal APIs

com.ibm.mm.beans.gui
Interface CMBJavaDocumentViewerCallbacks


public interface CMBJavaDocumentViewerCallbacks

An implementation of this interface is passed to CMBJavaDocumentViewers on the initialize() method. It provided methods that should be called at the appropriate situations to allow the CMBDocumentViewer bean to maintain the state of viewers and the documents being viewed. These callbacks also allow asynchronous operation in initializing, opening, closing, and terminating documents. These callbacks must be performed on the dispatch thread.


Method Summary
 void documentClosed(CMBItem document)
          Callback method.
 void documentOpened(CMBItem document)
          Callback method.
 void documentOpenFailed(CMBItem document)
          Callback method.
 void documentPrinted(CMBItem document)
          Callback method.
 void documentPrintFailed(CMBItem document)
          Callback method.
 

Method Detail

documentOpened

public void documentOpened(CMBItem document)
Callback method. It is called when a document has successfully openned in the viewer.

documentOpenFailed

public void documentOpenFailed(CMBItem document)
Callback method. It is called when a document has failed to open in a viewer.

documentClosed

public void documentClosed(CMBItem document)
Callback method. It is called when a document has been closed in a viewer.

documentPrinted

public void documentPrinted(CMBItem document)
Callback method. It is called when a document has successfully printed by a viewer.

documentPrintFailed

public void documentPrintFailed(CMBItem document)
Callback method. It is called when a document fails to print by a viewer.

EIP JavaBeans

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.