SourceForge.net Logo
aXSL API 0.1

org.axsl.foR
Class FOTreeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.axsl.foR.FOTreeEvent
All Implemented Interfaces:
java.io.Serializable

public class FOTreeEvent
extends java.util.EventObject

An Event used for notification that various stages of the building of an FO tree have been completed. Events are fired when an FObj is complete, when a PageSequence is complete, and when the document is complete.

See Also:
Serialized Form

Constructor Summary
FOTreeEvent(java.lang.Object source)
          Constructor for a "Document complete" event.
FOTreeEvent(java.lang.Object source, FObj fobj)
          Constructor for an "FObj complete" event.
FOTreeEvent(java.lang.Object source, PageSequence pageSequence)
          Constructor for a "PageSequence complete" event.
 
Method Summary
 FObj getFObj()
          Returns the FObj instance attached to this event.
 PageSequence getPageSequence()
          Returns the PageSequence instance attached to this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FOTreeEvent

public FOTreeEvent(java.lang.Object source,
                   FObj fobj)
Constructor for an "FObj complete" event.

Parameters:
source - the Object that fired the event.
fobj - The FObj instance that was just created.

FOTreeEvent

public FOTreeEvent(java.lang.Object source)
Constructor for a "Document complete" event.

Parameters:
source - the Object that fired the event.

FOTreeEvent

public FOTreeEvent(java.lang.Object source,
                   PageSequence pageSequence)
Constructor for a "PageSequence complete" event.

Parameters:
source - the Object that fired the event.
pageSequence - The PageSequence instance that was just completed.
Method Detail

getFObj

public FObj getFObj()
Returns the FObj instance attached to this event.

Returns:
The FObj object attached to this event. This will return null for non-FObj events.

getPageSequence

public PageSequence getPageSequence()
Returns the PageSequence instance attached to this event.

Returns:
The PageSequence object attached to this event. This will return null for non-PageSequence events.

SourceForge.net Logo
aXSL API 0.1

This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.