/**
* Fires a BrowserEvent.
* @param type the type of the event.
*/
private void fireEvent(BrowserEvent.Type type) {
BrowserEvent event = new BrowserEvent(this, type);
for (BrowserEventListener listener : listeners)
{
listener.processBrowserEvent(event);
}
}