org.jfree.report.event
Class LayoutEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.jfree.report.event.ReportEvent
          extended byorg.jfree.report.event.LayoutEvent
All Implemented Interfaces:
java.io.Serializable

public class LayoutEvent
extends ReportEvent

The LayoutEvent describes the current report state and the current band, which had been laid out for printing.

Author:
Thomas Morgner
See Also:
Serialized Form

Field Summary
static int LAYOUT_EVENT
          The type constant to mark a LayoutEvent.
 
Fields inherited from class org.jfree.report.event.ReportEvent
GROUP_FINISHED, GROUP_STARTED, ITEMS_ADVANCED, ITEMS_FINISHED, ITEMS_STARTED, PAGE_CANCELED, PAGE_FINISHED, PAGE_STARTED, POST_GROUP_FOOTER, POST_GROUP_HEADER, PREPARE_EVENT, REPORT_DONE, REPORT_FINISHED, REPORT_INITIALIZED, REPORT_STARTED
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LayoutEvent(ReportState state, Band band, int type)
          Creates a new LayoutEvent.
 
Method Summary
 Band getLayoutedBand()
          Gets the layouted band.
 
Methods inherited from class org.jfree.report.event.ReportEvent
getDataRow, getLevel, getReport, getState, getType
 
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

LAYOUT_EVENT

public static final int LAYOUT_EVENT
The type constant to mark a LayoutEvent.

See Also:
Constant Field Values
Constructor Detail

LayoutEvent

public LayoutEvent(ReportState state,
                   Band band,
                   int type)
Creates a new LayoutEvent.

Parameters:
state - the current report state.
band - the layouted band.
type - the event type.
Method Detail

getLayoutedBand

public Band getLayoutedBand()
Gets the layouted band. This band will be printed next.

Returns:
the layouted band.