org.enhydra.barracuda.core.event
Class ViewEvent

java.lang.Object
  extended byorg.enhydra.barracuda.core.event.DefaultBaseEvent
      extended byorg.enhydra.barracuda.core.event.ViewEvent
All Implemented Interfaces:
BaseEvent, Cloneable, StateMap
Direct Known Subclasses:
HttpResponseEvent

public class ViewEvent
extends DefaultBaseEvent

This defines a basic View event, indicating some kind of response/view must be generated. By default, ViewEvents implement Exceptional and therefore must be handled. The world is made up of ViewEvents and eveything else. Eventually, there may be several kinds of View events, but right now, HttpResponseEvent is the only kind that extends it.


Field Summary
 
Fields inherited from class org.enhydra.barracuda.core.event.DefaultBaseEvent
ext, handled, idList, params, source, sourceEvent, statemap, timestamp, USE_ID_ALIASES, useIDAliases
 
Fields inherited from interface org.enhydra.barracuda.core.event.BaseEvent
EVENT_ID
 
Constructor Summary
ViewEvent()
          Default noargs constructor
ViewEvent(Object source)
          Public constructor.
ViewEvent(String urlParamStr)
          Public constructor.
 
Methods inherited from class org.enhydra.barracuda.core.event.DefaultBaseEvent
addListenerID, clearState, clone, equals, getClassID, getEventExtension, getEventID, getEventIDWithExtension, getEventURL, getListenerIDs, getOriginalEvent, getParams, getRootEvent, getRootEvent, getSource, getState, getStateKeys, getStateValues, 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

ViewEvent

public ViewEvent()
Default noargs constructor


ViewEvent

public ViewEvent(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 '?')


ViewEvent

public ViewEvent(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 © 2003 BarracudaMVC.org All Rights Reserved.