com.arsdigita.bebop.event
Class PrintEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.arsdigita.bebop.event.PageEvent
          extended bycom.arsdigita.bebop.event.PrintEvent
All Implemented Interfaces:
Serializable

public class PrintEvent
extends PageEvent

An event originating from a component. PrintEvents are fired just before the source component is output either as part of an XML document or as part of an HTML page.

Version:
$Id: //core-platform/dev/src/com/arsdigita/bebop/event/PrintEvent.java#8 $
Author:
Uday Mathur, David Lutterkort
See Also:
PrintListener, Serialized Form

Field Summary
static String versionId
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PrintEvent(Object source, PageState state, Object target)
          Construct a PrintEvent
 
Method Summary
 Object getTarget()
          Get the target object, the one that can be freely modified by print listeners.
 
Methods inherited from class com.arsdigita.bebop.event.PageEvent
getPageState
 
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

PrintEvent

public PrintEvent(Object source,
                  PageState state,
                  Object target)
Construct a PrintEvent

Parameters:
source - the object that originated the event
Method Detail

getTarget

public final Object getTarget()
Get the target object, the one that can be freely modified by print listeners. Initially, the target is an unlocked clone of the source of the event.



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