com.ecyrd.jspwiki.event
Class WikiEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.ecyrd.jspwiki.event.WikiEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WikiEngineEvent, WikiSecurityEvent

public abstract class WikiEvent
extends EventObject

Abstract parent class for wiki events.

Since:
2.3.79
Version:
$Revision: 1.2 $ $Date: 2006/06/17 23:12:56 $
Author:
Andrew Jaquith
See Also:
WikiSecurityEvent, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WikiEvent(Object source, int type)
          Constructs an instance of this event.
 
Method Summary
 int getType()
          Returns the type of 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

WikiEvent

public WikiEvent(Object source,
                 int type)
Constructs an instance of this event.

Parameters:
source - the Object that is the source of the event.
Method Detail

getType

public final int getType()
Returns the type of event.

Returns:
the event type