public AbstractJqueryUiEffect setFadeInAfter(final JQuerySpeed speed) { if (speed == null) this.fadeInAfter = null; else this.fadeInAfter = "'" + speed.getSpeed() + "'"; return this; }
/** A common parameter for all effects is the speed. You may control the speed in * predefined {@link JQuerySpeed} steps with this method * * @param value the desired speed or {@code null} to reset the speed to the default value. */ public AbstractJqueryUiEffect setSpeed(final JQuerySpeed value) { if (value == null) this.speed = null; else this.speed = "'" + value.getSpeed() + "'"; return this; }
public AbstractJqueryUiEffect setFadeInAfter(final JQuerySpeed speed) { if (speed == null) this.fadeInAfter = null; else this.fadeInAfter = "'" + speed.getSpeed() + "'"; return this; }
/** A common parameter for all effects is the speed. You may control the speed in * predefined {@link JQuerySpeed} steps with this method * * @param value the desired speed or {@code null} to reset the speed to the default value. */ public AbstractJqueryUiEffect setSpeed(final JQuerySpeed value) { if (value == null) this.speed = null; else this.speed = "'" + value.getSpeed() + "'"; return this; }
public String toString() { return getSpeed(); } }
public String toString() { return getSpeed(); } }
/** * Sets the 'duration' property for this DatePicker. Please consult the * jQuery documentation for a detailed description of this property. * @param value duration * @return this object */ public DatePicker setDuration(final JQuerySpeed value) { if (value == null) options.remove("duration"); else options.put("duration", value.getSpeed()); return this; } public DatePicker setDuration(final AjaxRequestTarget target, final JQuerySpeed value) {
public DatePicker setDuration(final AjaxRequestTarget target, final JQuerySpeed value) { setDuration(value); target.appendJavascript("jQuery('#" + getComponent().getMarkupId() + "').datepicker('option','duration','" + value.getSpeed() + "');"); return this; }