Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jxbeans
Interface DocumentSource  view DocumentSource download DocumentSource.java

All Known Subinterfaces:
DocumentGenerator
All Known Implementing Classes:
AbstractDocumentSource

public interface DocumentSource

The DocumentSource interface must be implemented by classes wishing to participate in the JXBeans Framework as a source of DocumentReadyEvents. Objects of classes, implementing the DocumentReadyListener interface, can subscribe to the DocumentReadyEvent by adding themselves as DocumentReadyListeners. Objects of classes that implement this interface are considered to be "source" JXBeans.

Since:
1.0
Version:
1.0

Method Summary
 void addDocumentReadyListener(DocumentReadyListener aDocumentReadyListener)
          Adds the specified DocumentReadyListener to the list of DocumentReadyListeners that this bean will notify when it publishes a DocumentReadyEvent.
 void removeDocumentReadyListener(DocumentReadyListener aDocumentReadyListener)
          Removes the specified DocumentReadyListener from the list of DocumentReadyListeners that this bean will notify when it publishes a DocumentReadyEvent.
 

Method Detail

addDocumentReadyListener

public void addDocumentReadyListener(DocumentReadyListener aDocumentReadyListener)
                              throws java.util.TooManyListenersException
Adds the specified DocumentReadyListener to the list of DocumentReadyListeners that this bean will notify when it publishes a DocumentReadyEvent.

Since:
1.0

removeDocumentReadyListener

public void removeDocumentReadyListener(DocumentReadyListener aDocumentReadyListener)
Removes the specified DocumentReadyListener from the list of DocumentReadyListeners that this bean will notify when it publishes a DocumentReadyEvent. The specified DocumentReadyListener will no longer receive DocumentReadyEvents from this bean.

Since:
1.0