@Test public void testSetSticky() { Watermark watermark = new Watermark(); watermark.setSticky( true ); boolean result = watermark.getStyle().getBooleanStyleProperty( BandStyleKeys.STICKY ); assertThat( result, is( equalTo( true ) ) ); }
public void setSticky( final boolean b ) { getStyle().setBooleanStyleProperty( BandStyleKeys.STICKY, b ); notifyNodePropertiesChanged(); }
Watermark extends Band implements RootLevelBand { public void setSticky( final boolean b ) { getStyle().setBooleanStyleProperty( BandStyleKeys.STICKY, b ); notifyNodePropertiesChanged(); } }
Watermark extends Band implements RootLevelBand { public void setSticky( final boolean b ) { getStyle().setBooleanStyleProperty( BandStyleKeys.STICKY, b ); notifyNodePropertiesChanged(); } Watermark();  Watermark( final boolean onFirstPage, final boolean onLastPage ); }
Watermark extends Band implements RootLevelBand { public void setSticky( final boolean b ) { getStyle().setBooleanStyleProperty( BandStyleKeys.STICKY, b ); notifyNodePropertiesChanged(); } 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 void setSticky( final boolean b ) { getStyle().setBooleanStyleProperty( BandStyleKeys.STICKY, b ); notifyNodePropertiesChanged(); } 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 );  }