/** * Sets the maximum allowable length of the text box. * * @param length the maximum length, in characters */ public void setMaxLength(int length) { getInputElement().setMaxLength(length); }
@Override public InputBuilder maxLength(int maxLength) { assertCanAddAttribute().setMaxLength(maxLength); return this; }
/** * Sets the maximum allowable length. * * @param length the maximum length, in characters */ public void setMaxLength(int length) { getInputElement().setMaxLength(length); }
/** * Sets the maximum allowable length of the text box. * * @param length * the maximum length, in characters */ public void setMaxLength(int length) { getInputElement().setMaxLength(length); }
@Override public InputBuilder maxLength(int maxLength) { assertCanAddAttribute().setMaxLength(maxLength); return this; }
/** * Sets the maximum allowable length. * * @param length the maximum length, in characters */ public void setMaxLength(int length) { getInputElement().setMaxLength(length); }
/** * Sets the maximum allowable length. * * @param length * the maximum length, in characters */ public void setMaxLength(int length) { getInputElement().setMaxLength(length); }
/** * Sets the maximum allowable length. * * @param length the maximum length, in characters */ public void setMaxLength(int length) { getInputElement().setMaxLength(length); }
/** * Sets the maximum allowable length of the text box. * * @param length the maximum length, in characters */ public void setMaxLength(int length) { getInputElement().setMaxLength(length); }
/** * Sets the maximum allowable length of the text box. * * @param length * the maximum length, in characters */ public void setMaxLength(int length) { getInputElement().setMaxLength(length); }
/** * Sets the maximum allowable length of the text box. * * @param length the maximum length, in characters */ public void setMaxLength(int length) { getInputElement().setMaxLength(length); }
/** * Sets the maximum allowable length of the text box. * * @param length * the maximum length, in characters */ public void setMaxLength(int length) { getInputElement().setMaxLength(length); }
@Override public InputBuilder maxLength(int maxLength) { assertCanAddAttribute().setMaxLength(maxLength); return this; }
/** * set the maximum number of characters * * @param length the maximum number of characters */ public void setMaxLength(int length) { getInputElement().setMaxLength(length); }
/** * Sets the maximum allowable length of the text box. * * @param length the maximum length, in characters */ public void setMaxLength(int length) { getInputElement().setMaxLength(length); }
/** * set the maximum number of characters * * @param length the maximum number of characters */ public void setMaxLength(int length) { getInputElement().setMaxLength(length); }
public void setMaxLength(int maxLength) { InputElement.as(this.input.getElement()).setMaxLength(maxLength); }
public void setMaxLength(int maxLength) { InputElement.as(this.input.getElement()).setMaxLength(maxLength); }
protected void copyAttributes(Element src, Element dest) { InputElement source = src.cast(); InputElement destination = dest.cast(); destination.setAccessKey(source.getAccessKey()); destination.setDefaultValue(source.getDefaultValue()); destination.setDisabled(source.isDisabled()); if (source.getMaxLength() > 0) destination.setMaxLength(source.getMaxLength()); destination.setReadOnly(source.isReadOnly()); destination.setSize(source.getSize()); destination.setName(source.getName()); destination.setValue(source.getValue()); }