com.arsdigita.bebop.event
Class PageEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.arsdigita.bebop.event.PageEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ActionEvent, ChangeEvent, FormSectionEvent, PrintEvent, QueryEvent, RequestEvent

public class PageEvent
extends EventObject

The base class for all page related events. All page related events should be derived from this class, since it defines a standard way to get at the source of the event and at the state of the page under the request that is currently being processed.

Version:
$Id: //core-platform/dev/src/com/arsdigita/bebop/event/PageEvent.java#7 $
Author:
David Lutterkort
See Also:
Serialized Form

Field Summary
static String versionId
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PageEvent(Object source, PageState state)
          Construct a new PageEvent.
 
Method Summary
 PageState getPageState()
          Get the state of the page under the request in which the event was fired
 
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
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

PageEvent

public PageEvent(Object source,
                 PageState state)
Construct a new PageEvent.

Parameters:
source - the object firing the event, usually a Component.
state - the state of the page under the current request
Method Detail

getPageState

public final PageState getPageState()
Get the state of the page under the request in which the event was fired



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC