public void setImageCreator(ImageCreator imageCreator) { AssertHelper.notNull(imageCreator, "ImageCreator is null"); ImageCreator oldImageCreator = this.imageCreator; this.imageCreator = imageCreator; firePropertyChange(PROPERTY_IMAGECREATOR, oldImageCreator, imageCreator); }
public void setTransition(ImageTransition transition) { AssertHelper.notNull(transition, "ImageTransition is null"); ImageTransition oldTransition = this.transition; this.transition = transition; firePropertyChange(PROPERTY_TRANSITION, oldTransition, transition); }