/** * Sets if the image should be repeated horizontally. * @param horizontalRepeat the new horizontal repeat value */ public void setHorizontalRepeat(boolean horizontalRepeat) { boolean old = this.isHorizontalRepeat(); this.horizontalRepeat = horizontalRepeat; setDirty(true); firePropertyChange("horizontalRepeat",old,this.horizontalRepeat); }
/** * Sets if the image should be repeated horizontally. * @param horizontalRepeat the new horizontal repeat value */ public void setHorizontalRepeat(boolean horizontalRepeat) { boolean old = this.isHorizontalRepeat(); this.horizontalRepeat = horizontalRepeat; setDirty(true); firePropertyChange("horizontalRepeat",old,this.horizontalRepeat); }
/** * Sets if the image should be repeated horizontally. * @param horizontalRepeat the new horizontal repeat value */ public void setHorizontalRepeat(boolean horizontalRepeat) { boolean old = this.isHorizontalRepeat(); this.horizontalRepeat = horizontalRepeat; setDirty(true); firePropertyChange("horizontalRepeat",old,this.horizontalRepeat); }
/** * Sets if the image should be repeated horizontally. * @param horizontalRepeat the new horizontal repeat value */ public void setHorizontalRepeat(boolean horizontalRepeat) { boolean old = this.isHorizontalRepeat(); this.horizontalRepeat = horizontalRepeat; setDirty(true); firePropertyChange("horizontalRepeat",old,this.horizontalRepeat); }
assertThat(ip.getImageScale(), is(1d)); assertThat(ip.getScaleType(), is(ImagePainter.ScaleType.InsideFit)); assertThat(ip.isHorizontalRepeat(), is(false)); assertThat(ip.isScaleToFit(), is(false)); assertThat(ip.isVerticalRepeat(), is(false));