public BgIframeBehavior setLeft(final int value) { if (value < 0) options.remove("left"); else options.put("left", value); return this; }
public BgIframeBehavior setHeight(final int value) { if (value < 0) options.remove("height"); else options.put("height", value); return this; }
public DatePicker setDuration(final int value) { if (value <= 0) options.remove("duration"); else options.put("duration", value); return this; } public DatePicker setDuration(final AjaxRequestTarget target, final int value) {
public BgIframeBehavior setWidth(final int value) { if (value < 0) options.remove("width"); else options.put("width", value); return this; }
public BgIframeBehavior setTop(final int value) { if (value < 0) options.remove("top"); else options.put("top", value); return this; }
public BgIframeBehavior setHeight(final int value) { if (value < 0) options.remove("height"); else options.put("height", value); return this; }
public BgIframeBehavior setLeft(final int value) { if (value < 0) options.remove("left"); else options.put("left", value); return this; }
public BgIframeBehavior setTop(final int value) { if (value < 0) options.remove("top"); else options.put("top", value); return this; }
public BgIframeBehavior setWidth(final int value) { if (value < 0) options.remove("width"); else options.put("width", value); return this; }
/** * Sets the 'delay' property for this resizable. Please consult the * jquery documentation for a detailled description of this property. * @param value the delay in ms * @return this object */ public ResizableBehavior setDelay(final int value) { if (value <= 0) options.remove("delay"); else options.put("delay", value); return this; } public ResizableBehavior setDelay(final AjaxRequestTarget target, final int value) {
/** * Sets the 'constraintInput' property for this DatePicker. Please consult the * jQuery documentation for a detailed description of this property. * @param value {@code true} or {@code false}. * @return this object */ public DatePicker setConstraintInput(final boolean value) { if (!value) options.remove("constraintInput"); else options.put("constraintInput", value); return this; } public DatePicker setConstraintInput(final AjaxRequestTarget target, final boolean value) {
/** * Sets the 'maxDate' property for this DatePicker. Please consult the * jQuery documentation for a detailed description of this property. * @param value max date as String * @return this object */ public DatePicker setMaxDate(final String value) { if (value == null) options.remove("maxDate"); else options.put("maxDate", value); return this; } public DatePicker setMaxDate(final AjaxRequestTarget target, final String value) {
/** * Sets the 'showButtonPanel' property for this DatePicker. Please consult the * jQuery documentation for a detailed description of this property. * @param value {@code true} or {@code false}. * @return this object */ public DatePicker setShowButtonPanel(final boolean value) { if (!value) options.remove("showButtonPanel"); else options.put("showButtonPanel", value); return this; } public DatePicker setShowButtonPanel(final AjaxRequestTarget target, final boolean value) {
/** * Sets the 'showMonthAfterYear' property for this DatePicker. Please consult the * jQuery documentation for a detailed description of this property. * @param value {@code true} or {@code false}. * @return this object */ public DatePicker setShowMonthAfterYear(final boolean value) { if (!value) options.remove("showMonthAfterYear"); else options.put("showMonthAfterYear", value); return this; } public DatePicker setShowMonthAfterYear(final AjaxRequestTarget target, final boolean value) {
/** * Sets the 'showOtherMonths' property for this DatePicker. Please consult the * jQuery documentation for a detailed description of this property. * @param value {@code true} or {@code false}. * @return this object */ public DatePicker setShowOtherMonths(final boolean value) { if (!value) options.remove("showOtherMonths"); else options.put("showOtherMonths", value); return this; } public DatePicker setShowOtherMonths(final AjaxRequestTarget target, final boolean value) {
/** * Sets the 'snapTolerance' property for this draggable. Please consult the * jQuery documentation for a detailled description of this property. * @param value the scroll speed in px * @return this object */ public DraggableBehavior setSnapTolerance(final int value) { if (value == 20) options.remove("snapTolerance"); else options.put("snapTolerance", value); return this; } public DraggableBehavior setSnapTolerance(final AjaxRequestTarget target, final int value) {
/** * Sets the 'zIndex' property for this draggable. Please consult the * jQuery documentation for a detailled description of this property. * @param value the scroll speed in px * @return this object */ public DraggableBehavior setZIndex(final long value) { if (value <= 0) options.remove("zIndex"); else options.put("zIndex", value); return this; } public DraggableBehavior setZIndex(final AjaxRequestTarget target, final int value) {
/** * Sets the 'activeClass' property for this draggable. Please consult the * jQuery documentation for a detailled description of this property. * @param activeClass the CSS class' name * @return this object */ public DroppableBehavior setActiveClass(final String activeClass) { if (activeClass == null) options.remove("activeClass"); else options.put("activeClass", activeClass); return this; } public DroppableBehavior setActiveClass(final AjaxRequestTarget target, final String activeClass) {
/** * Sets the 'autoSize' property for this DatePicker. Please consult the * jQuery documentation for a detailed description of this property. * @param value {@code true} or {@code false}. * @return this object */ public DatePicker setAutoSize(final boolean value) { if (!value) options.remove("autoSize"); else options.put("autoSize", value); return this; } public DatePicker setAutoSize(final AjaxRequestTarget target, final boolean value) {
/** * Sets the 'selectOtherMonths' property for this DatePicker. Please consult the * jQuery documentation for a detailed description of this property. * @param value {@code true} or {@code false}. * @return this object */ public DatePicker setSelectOtherMonths(final boolean value) { if (!value) options.remove("selectOtherMonths"); else options.put("selectOtherMonths", value); return this; } public DatePicker setSelectOtherMonths(final AjaxRequestTarget target, final boolean value) {