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