|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.EventBroker
Broadcasts events to the all parties attached to when an event is issued.
When an issue method is called the EventBroker invokes the corresponding
event method in all the static and MLFC components attached to it. All components
attached to it must extend the BrowserEventListener.
See Technical Requirements Specification for further details on
events.
BrowserEventListener| Constructor Summary | |
EventBroker(BrowserWindow myBrowser)
|
|
| Method Summary | |
void |
addBrowserEventListener(BrowserEventListener l)
|
void |
addGUIEventListener(GUIEventListener l)
|
void |
browserReady()
Informs the gui that browser is resting |
void |
browserWorking()
Informs the gui that browser is working |
void |
destroy()
Destroy The GUI (delete frame, etc) |
void |
issueBrowserStateChangedEvent(int state,
java.lang.String text)
|
void |
removeAllListeners()
Remove all listeners added to eventbroker |
void |
removeBrowserEventListener(BrowserEventListener l)
|
void |
removeGUIEventListener(GUIEventListener l)
|
void |
setLocation(java.lang.String s)
|
void |
setStatusText(java.lang.String statusText)
|
void |
start()
After browser is ready, then start is called. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EventBroker(BrowserWindow myBrowser)
| Method Detail |
public void addGUIEventListener(GUIEventListener l)
l - Attach GUIEventListener to EventBrokerpublic void removeGUIEventListener(GUIEventListener l)
public void addBrowserEventListener(BrowserEventListener l)
l - Attach BrowserEventListener to EventBroker.public void removeBrowserEventListener(BrowserEventListener l)
l - Attach BrowserEventListener to EventBroker.public void removeAllListeners()
public void issueBrowserStateChangedEvent(int state,
java.lang.String text)
BrowserLogicpublic void start()
public void destroy()
public void browserWorking()
public void browserReady()
public void setLocation(java.lang.String s)
s - The location that is beeing loadedpublic void setStatusText(java.lang.String statusText)
statusText - The text to put in status bar
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||