|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventRegistration2
Extended event registration features.
Method Summary | |
---|---|
void |
addKeyListener(java.awt.event.KeyListener listener)
Add the argument listener as a
KeyListener for the current BrowserControl . |
void |
addNewWindowListener(NewWindowListener listener)
Deprecated. Use setNewWindowListener(org.mozilla.webclient.NewWindowListener) instead.
Implementations must implement this method as a call to setNewWindowListener(org.mozilla.webclient.NewWindowListener) passing null, followed by a call to setNewWindowListener(org.mozilla.webclient.NewWindowListener) passing the argument listener. |
void |
removeKeyListener(java.awt.event.KeyListener listener)
Remove the argument listener from the current
BrowserControl . |
void |
removeNewWindowListener(NewWindowListener listener)
Deprecated. Use setNewWindowListener(org.mozilla.webclient.NewWindowListener) passing null . |
void |
setNewWindowListener(NewWindowListener listener)
Set the argument listener as the one and only
NewWindowListener for the current BrowserControl . |
Methods inherited from interface org.mozilla.webclient.EventRegistration |
---|
addDocumentLoadListener, addMouseListener, removeDocumentLoadListener, removeMouseListener |
Method Detail |
---|
void setNewWindowListener(NewWindowListener listener)
Set the argument listener
as the one and only
NewWindowListener
for the current BrowserControl
.
listener
- the listener to installvoid addNewWindowListener(NewWindowListener listener)
setNewWindowListener(org.mozilla.webclient.NewWindowListener)
instead.
Implementations must implement this method as a call to setNewWindowListener(org.mozilla.webclient.NewWindowListener)
passing null, followed by a call to setNewWindowListener(org.mozilla.webclient.NewWindowListener)
passing the argument listener.
Add the argument listener as a NewWindowListener
to
the current BrowserControl
.
listener
- the listener to installvoid removeNewWindowListener(NewWindowListener listener)
setNewWindowListener(org.mozilla.webclient.NewWindowListener)
passing null
.
Remove the argument listener from the current BrowserControl
.
listener
- the listener to removevoid addKeyListener(java.awt.event.KeyListener listener)
Add the argument listener
as a
KeyListener
for the current BrowserControl
.
listener
- the listener to installvoid removeKeyListener(java.awt.event.KeyListener listener)
Remove the argument listener
from the current
BrowserControl
.
listener
- the listener to remove
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |