public interface WebWindowListener
This listener informs when a new window is opened, when the content of a window changes or when a window is closed.
Caution: The WebClient creates (and opens) the initial window as part of the construction process. This implies, the initial window is already open at the time you attach this listener. Therefore you will receive no open event for this.
Modifier and Type | Method and Description |
---|---|
void |
webWindowClosed(WebWindowEvent event)
A web window has been closed.
|
void |
webWindowContentChanged(WebWindowEvent event)
The contents of a web window has been changed.
|
void |
webWindowOpened(WebWindowEvent event)
A web window has been opened.
|
void webWindowOpened(WebWindowEvent event)
Caution: the WebClient.getCurrentWindow()
might be not updated so far.
This usually takes place AFTER the event was processed
event
- the event (the oldPage and newPage properties will be null
because the event is generated after the window is opened but before the content is loaded)void webWindowContentChanged(WebWindowEvent event)
event
- the eventvoid webWindowClosed(WebWindowEvent event)
event
- the eventCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.