org.barracudamvc.core.event
Class ControlEvent

java.lang.Object
  extended byorg.barracudamvc.core.event.DefaultBaseEvent
      extended byorg.barracudamvc.core.event.ControlEvent
All Implemented Interfaces:
BaseEvent, Cloneable, StateMap
Direct Known Subclasses:
HttpRequestEvent

public abstract class ControlEvent
extends DefaultBaseEvent

This defines a basic event, representing some kind of Control function (it's basically just saying "Hey something happened, tell everyone who cares"). Eventually, there may be several kinds of Control events, but right now, HttpRequestEvent is the only kind that extends it.


Field Summary
 
Fields inherited from class org.barracudamvc.core.event.DefaultBaseEvent
ext, handled, idList, params, source, sourceEvent, statemap, timestamp, USE_ID_ALIASES, useIDAliases
 
Fields inherited from interface org.barracudamvc.core.event.BaseEvent
EVENT_ID
 
Constructor Summary
ControlEvent()
          Default noargs constructor
ControlEvent(Object source)
          Public constructor.
ControlEvent(String urlParamStr)
          Public constructor.
 
Methods inherited from class org.barracudamvc.core.event.DefaultBaseEvent
addListenerID, clearState, clone, equals, getClassID, getEventExtension, getEventID, getEventIDWithExtension, getEventURL, getListenerIDs, getOriginalEvent, getParams, getRootEvent, getRootEvent, getSource, getState, getStateKeys, getStateStore, getTimestamp, isHandled, putState, removeState, reset, setEventExtension, setHandled, setParam, setParam, setSource, setUseIDAliases, touch, useIDAliases
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlEvent

public ControlEvent()
Default noargs constructor


ControlEvent

public ControlEvent(String urlParamStr)
Public constructor. Automatically sets parameters associated with the event with a URL string of the form "key1=val1&key2=val2&..." (the param str may be prefixed by a '?')


ControlEvent

public ControlEvent(Object source)
Public constructor. Automatically sets the source parameter. If you do not use this method you should manually set the source before dispatching the event.



Copyright © 2004 BarracudaMVC.org All Rights Reserved.