org.mozilla.webclient
Class WebclientEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.mozilla.webclient.WebclientEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DocumentLoadEvent, NewWindowEvent

public class WebclientEvent
extends java.util.EventObject

Base event class for browser specific events coming from the browser.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WebclientEvent(java.lang.Object source, long newType, java.lang.Object newEventData)
          Construct a new instance with the given source, type, and eventData.
 
Method Summary
 java.lang.Object getEventData()
          Return the event data for this event.
 long getType()
          Return the type of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebclientEvent

public WebclientEvent(java.lang.Object source,
                      long newType,
                      java.lang.Object newEventData)

Construct a new instance with the given source, type, and eventData. This method is typically not called by user code.

Parameters:
source - the source of the event, passed to super. Depends on the WebclientEventListener sub-interface.
newType - the eventType. Depends on the WebclientEventListener sub-interface.
newEventData - the eventType. Depends on the WebclientEventListener sub-interface.
Method Detail

getType

public long getType()

Return the type of this event. Depends on the WebclientEventListener sub-interface.


getEventData

public java.lang.Object getEventData()

Return the event data for this event. Depends on the WebclientEventListener sub-interface.



Copyright © 2002-2007 Mozilla.org All Rights Reserved.