org.mozilla.webclient
Interface EventRegistration

All Known Subinterfaces:
EventRegistration2

public interface EventRegistration

Allow the user to add and remove listeners on the current BrowserControl instance.


Method Summary
 void addDocumentLoadListener(DocumentLoadListener listener)
          Add the argument listener as a DocumentLoadListener on the current BrowserControl.
 void addMouseListener(java.awt.event.MouseListener listener)
          Deprecated. This method has been replaced by leveraging the method of the same name on BrowserControlCanvas.
 void removeDocumentLoadListener(DocumentLoadListener listener)
          Remove the argument listener as a DocumentLoadListener on the current BrowserControl.
 void removeMouseListener(java.awt.event.MouseListener listener)
          Deprecated. This method has been replaced by leveraging the method of the same name on BrowserControlCanvas.
 

Method Detail

addDocumentLoadListener

void addDocumentLoadListener(DocumentLoadListener listener)

Add the argument listener as a DocumentLoadListener on the current BrowserControl.

Parameters:
listener - the listener to install
Throws:
java.lang.NullPointerException - if argument is null.

removeDocumentLoadListener

void removeDocumentLoadListener(DocumentLoadListener listener)

Remove the argument listener as a DocumentLoadListener on the current BrowserControl.

Parameters:
listener - the listener to remove
Throws:
java.lang.NullPointerException - if argument is null.

addMouseListener

void addMouseListener(java.awt.event.MouseListener listener)
Deprecated. This method has been replaced by leveraging the method of the same name on BrowserControlCanvas.

Add the argument MouseListener to the BrowserControlCanvas for this BrowserControl.

Parameters:
listener - the listener to install

removeMouseListener

void removeMouseListener(java.awt.event.MouseListener listener)
Deprecated. This method has been replaced by leveraging the method of the same name on BrowserControlCanvas.

Remove the argument MouseListener from the BrowserControlCanvas for this BrowserControl.

Parameters:
listener - the listener to remove


Copyright 2002-2007 Mozilla.org All Rights Reserved.