com.jrefinery.report.event
Class LayoutEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.jrefinery.report.event.ReportEvent
|
+--com.jrefinery.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 com.jrefinery.report.event.ReportEvent |
GROUP_FINISHED, GROUP_STARTED, ITEMS_ADVANCED, ITEMS_FINISHED, ITEMS_STARTED, PAGE_CANCELED, PAGE_FINISHED, PAGE_STARTED, PREPARE_EVENT, REPORT_DONE, REPORT_FINISHED, REPORT_INITIALIZED, REPORT_STARTED |
Fields inherited from class java.util.EventObject |
source |
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 |
LAYOUT_EVENT
public static final int LAYOUT_EVENT
- The type constant to mark a LayoutEvent.
- See Also:
- Constant Field Values
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.
getLayoutedBand
public Band getLayoutedBand()
- Gets the layouted band. This band will be printed next.
- Returns:
- the layouted band.