/** * {@inheritDoc} */ @Override protected void typeDone(final String newValue, final boolean notifyAttributeChangeListeners) { setTextInternal(newValue); }
/** * {@inheritDoc} */ @Override protected void typeDone(final String newValue, final boolean notifyAttributeChangeListeners) { setTextInternal(newValue); }
/** * Sets the new value of this text area. * * Note that this acts like 'pasting' the text, but to simulate characters entry * you should use {@link #type(String)}. * * @param newValue the new value */ @Override public final void setText(final String newValue) { setTextInternal(newValue); HtmlInput.executeOnChangeHandlerIfAppropriate(this); }
/** * Sets the new value of this text area. * * Note that this acts like 'pasting' the text, but to simulate characters entry * you should use {@link #type(String)}. * * @param newValue the new value */ @Override public final void setText(final String newValue) { setTextInternal(newValue); HtmlInput.executeOnChangeHandlerIfAppropriate(this); }
/** * Sets the new value of this text area. * * Note that this acts like 'pasting' the text, but to simulate characters entry * you should use {@link #type(String)}. * * @param newValue the new value */ public final void setText(final String newValue) { initDefaultValue(); setTextInternal(newValue); HtmlInput.executeOnChangeHandlerIfAppropriate(this); }
/** * Sets the new value of this text area. * * Note that this acts like 'pasting' the text, but to simulate characters entry * you should use {@link #type(String)}. * * @param newValue the new value */ public final void setText(final String newValue) { initDefaultValue(); setTextInternal(newValue); HtmlInput.executeOnChangeHandlerIfAppropriate(this); }
/** * Sets the new value of this text area. * * Note that this acts like 'pasting' the text, but to simulate characters entry * you should use {@link #type(String)}. * * @param newValue the new value */ public final void setText(final String newValue) { initDefaultValue(); setTextInternal(newValue); HtmlInput.executeOnChangeHandlerIfAppropriate(this); }
/** * {@inheritDoc} * @see SubmittableElement#setDefaultValue(String) */ @Override public void setDefaultValue(String defaultValue) { initDefaultValue(); if (defaultValue == null) { defaultValue = ""; } // for FF, if value is still default value, change value too if (hasFeature(HTMLTEXTAREA_SET_DEFAULT_VALUE_UPDATES_VALUE) && getText().equals(getDefaultValue())) { setTextInternal(defaultValue); } defaultValue_ = defaultValue; }
/** * {@inheritDoc} * @see SubmittableElement#setDefaultValue(String) */ @Override public void setDefaultValue(String defaultValue) { initDefaultValue(); if (defaultValue == null) { defaultValue = ""; } // for FF, if value is still default value, change value too if (hasFeature(HTMLTEXTAREA_SET_DEFAULT_VALUE_UPDATES_VALUE) && getText().equals(getDefaultValue())) { setTextInternal(defaultValue); } defaultValue_ = defaultValue; }
/** * {@inheritDoc} * @see SubmittableElement#setDefaultValue(String) */ public void setDefaultValue(String defaultValue) { initDefaultValue(); if (defaultValue == null) { defaultValue = ""; } // for FF, if value is still default value, change value too if (getPage().getWebClient().getBrowserVersion().isFirefox() && getText().equals(getDefaultValue())) { setTextInternal(defaultValue); } defaultValue_ = defaultValue; }
/** * {@inheritDoc} * @see SubmittableElement#setDefaultValue(String) */ public void setDefaultValue(String defaultValue) { initDefaultValue(); if (defaultValue == null) { defaultValue = ""; } // for FF, if value is still default value, change value too if (getPage().getWebClient().getBrowserVersion().isFirefox() && getText().equals(getDefaultValue())) { setTextInternal(defaultValue); } defaultValue_ = defaultValue; }
/** * {@inheritDoc} * @see SubmittableElement#setDefaultValue(String) */ public void setDefaultValue(String defaultValue) { initDefaultValue(); if (defaultValue == null) { defaultValue = ""; } // for FF, if value is still default value, change value too if (getPage().getWebClient().getBrowserVersion().isFirefox() && getText().equals(getDefaultValue())) { setTextInternal(defaultValue); } defaultValue_ = defaultValue; }