@Test( expected = IndexOutOfBoundsException.class ) public void testGetSubReport() { PageHeader header = new PageHeader(); header.getSubReport( 0 ); }
public final SubReport getSubReport( final int index ) { throw new IndexOutOfBoundsException( "PageHeader cannot have subreports" ); }
PageHeader extends Band implements RootLevelBand { public final SubReport getSubReport( final int index ) { throw new IndexOutOfBoundsException( "PageHeader cannot have subreports" ); } }
PageHeader extends Band implements RootLevelBand { public final SubReport getSubReport( final int index ) { throw new IndexOutOfBoundsException( "PageHeader cannot have subreports" ); } PageHeader();  PageHeader( final boolean onFirstPage, final boolean onLastPage ); }
PageHeader extends Band implements RootLevelBand { public final SubReport getSubReport( final int index ) { throw new IndexOutOfBoundsException( "PageHeader cannot have subreports" ); } PageHeader();  PageHeader( final boolean onFirstPage, final boolean onLastPage ); boolean isDisplayOnFirstPage(); void setDisplayOnFirstPage( final boolean b ); boolean isDisplayOnLastPage(); void setDisplayOnLastPage( final boolean b ); final int getSubReportCount(); final SubReport getSubReport( final int index ); boolean isSticky(); void setSticky( final boolean b ); SubReport[] getSubReports(); ElementStyleSheet getDefaultStyleSheet(); }
PageHeader extends Band implements RootLevelBand { public final SubReport getSubReport( final int index ) { throw new IndexOutOfBoundsException( "PageHeader cannot have subreports" ); } PageHeader();  PageHeader( final boolean onFirstPage, final boolean onLastPage ); boolean isDisplayOnFirstPage(); void setDisplayOnFirstPage( final boolean b ); boolean isDisplayOnLastPage(); void setDisplayOnLastPage( final boolean b ); final int getSubReportCount(); final SubReport getSubReport( final int index ); boolean isSticky(); void setSticky( final boolean b ); SubReport[] getSubReports(); ElementStyleSheet getDefaultStyleSheet();  }