|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jiffie.AbstractEventHandler net.sf.jiffie.NewWindowEventHandler net.sf.jameleon.plugin.jiffie.util.JiffieEventHandler
public class JiffieEventHandler
This class implements an event handler which receives only the events the jiffie plug-in cares about. This class extends the new window event handler, which only recieves new window events and makes all other methods thread-safe. Note that the non-standard capitalisation of the method names is necessary to ensure that they match exactly the names used by Internet Explorer. Detailed documentation on these events can be found at: http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/reflist_vb.asp
Field Summary | |
---|---|
protected boolean |
available
|
Fields inherited from class net.sf.jiffie.AbstractEventHandler |
---|
m_navigationListeners, m_parentBrowser, m_windowListeners |
Constructor Summary | |
---|---|
JiffieEventHandler(InternetExplorer parentBrowser)
Constructor. |
Method Summary | |
---|---|
boolean |
addNavigationListener(NavigationListener listener)
Adds a new navigation listener. |
boolean |
addWindowListener(WindowListener listener)
Adds a new window listener. |
void |
NewWindow2(com.jacob.com.Variant[] args)
NewWindow2 event handler. |
void |
OnQuit(com.jacob.com.Variant[] args)
OnQuit event handler. |
void |
ProgressChange(com.jacob.com.Variant[] args)
ProgressChange event handler. |
boolean |
removeNavigationListener(NavigationListener listener)
Removes a navigation listener from the set of listeners. |
boolean |
removeWindowListener(WindowListener listener)
Removes a window listener from the set of listeners. |
Methods inherited from class net.sf.jiffie.NewWindowEventHandler |
---|
NewWindow3 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean available
Constructor Detail |
---|
public JiffieEventHandler(InternetExplorer parentBrowser)
parentBrowser
- parent browserMethod Detail |
---|
public void NewWindow2(com.jacob.com.Variant[] args)
NewWindow2
in class NewWindowEventHandler
args
- event argumentspublic void ProgressChange(com.jacob.com.Variant[] args)
args
- event argumentspublic void OnQuit(com.jacob.com.Variant[] args)
args
- event argumentspublic boolean addNavigationListener(NavigationListener listener)
addNavigationListener
in interface EventHandler
addNavigationListener
in class AbstractEventHandler
listener
- the new listener to add
public boolean removeNavigationListener(NavigationListener listener)
removeNavigationListener
in interface EventHandler
removeNavigationListener
in class AbstractEventHandler
listener
- the listener to remove
public boolean addWindowListener(WindowListener listener)
addWindowListener
in interface EventHandler
addWindowListener
in class AbstractEventHandler
listener
- the new listener to add
public boolean removeWindowListener(WindowListener listener)
removeWindowListener
in interface EventHandler
removeWindowListener
in class AbstractEventHandler
listener
- the listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |