org.barracudamvc.core.event
Class ViewEvent
java.lang.Object
org.barracudamvc.core.event.DefaultBaseEvent
org.barracudamvc.core.event.ViewEvent
- All Implemented Interfaces:
- BaseEvent, Cloneable, StateMap
- Direct Known Subclasses:
- HttpResponseEvent
- public abstract 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.
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 |
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 © 2004 BarracudaMVC.org All Rights Reserved.