net.sf.jameleon.plugin.jiffie.ui
Class JiffieUIEventHandler

java.lang.Object
  extended by net.sf.jiffie.AbstractEventHandler
      extended by net.sf.jiffie.NewWindowEventHandler
          extended by net.sf.jameleon.plugin.jiffie.ui.JiffieUIEventHandler
All Implemented Interfaces:
EventHandler

public class JiffieUIEventHandler
extends NewWindowEventHandler

This class implements an event handler which receives all of the events generated by Internet Explore. This class extends the new window event handler, which only recieves new window events. 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
 
Fields inherited from class net.sf.jiffie.AbstractEventHandler
m_navigationListeners, m_parentBrowser, m_windowListeners
 
Constructor Summary
JiffieUIEventHandler(InternetExplorer parentBrowser)
          Constructor.
 
Method Summary
 void OnQuit(com.jacob.com.Variant[] args)
          OnQuit event handler.
 void ProgressChange(com.jacob.com.Variant[] args)
          ProgressChange event handler.
 
Methods inherited from class net.sf.jiffie.NewWindowEventHandler
NewWindow2, NewWindow3
 
Methods inherited from class net.sf.jiffie.AbstractEventHandler
addNavigationListener, addWindowListener, removeNavigationListener, removeWindowListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiffieUIEventHandler

public JiffieUIEventHandler(InternetExplorer parentBrowser)
Constructor.

Parameters:
parentBrowser - parent browser
Method Detail

ProgressChange

public void ProgressChange(com.jacob.com.Variant[] args)
ProgressChange event handler. args[0] Long that specifies the amount of total progress to show, or -1 when progress is complete. args[1] Long that specifies the maximum progress value.

Parameters:
args - event arguments

OnQuit

public void OnQuit(com.jacob.com.Variant[] args)
OnQuit event handler.

Parameters:
args - event arguments


Copyright © 2004-2008 Christian Hargraves. All Rights Reserved.