* @return <code>true</code> if the field is used to enter secret
* information, <code>false</code> otherwise.
*
- * @deprecated Starting from 6.5 use {@link PasswordField} instead
+ * @deprecated Starting from 6.5 use {@link PasswordField} instead for
+ * secret text input.
*/
@Deprecated
public boolean isSecret() {
* @param secret
* the value specifying if the field is used to enter secret
* information.
- * @deprecated Starting from 6.5 use {@link PasswordField} instead
+ * @deprecated Starting from 6.5 use {@link PasswordField} instead for
+ * secret text input.
*/
@Deprecated
public void setSecret(boolean secret) {
target.addAttribute("multiline", true);
if (!isWordwrap()) {
- // Wordwrap is only painted if turned off to minimize communications
+ // Wordwrap is only painted if turned off to minimize
+ // communications
target.addAttribute("wordwrap", false);
}
}
* adapter.
*
* @return number of explicitly set rows.
- * @deprecated use {@link TextArea} component and the same method there.
- * This method will be removed from TextField that is to be used
- * for one line text input only in the next versions.
+ * @deprecated Starting from 6.5 use {@link TextArea} for a multi-line text
+ * input.
*
*/
@Deprecated
* @param rows
* the number of rows for this editor.
*
- * @deprecated in 6.5 use {@link TextArea} component and the same method
- * there. This method will be removed from TextField that is to
- * be used for one line text input only in the next versions.
+ * @deprecated Starting from 6.5 use {@link TextArea} for a multi-line text
+ * input.
*/
@Deprecated
public void setRows(int rows) {
*
* @return <code>true</code> if the component is in the word-wrap mode,
* <code>false</code> if not.
- * @deprecated in 6.5 use {@link TextArea} component and the same method
- * there. This method will be removed from TextField that is to
- * be used for one line text input only in the next versions.
+ * @deprecated Starting from 6.5 use {@link TextArea} for a multi-line text
+ * input.
*/
@Deprecated
public boolean isWordwrap() {
* the boolean value specifying if the editor should be in
* word-wrap mode after the call or not.
*
- * @deprecated in 6.5 use {@link TextArea} component and the same method
- * there. This method will be removed from TextField that is to
- * be used for one line text input only in the next versions.
+ * @deprecated Starting from 6.5 use {@link TextArea} for a multi-line text
+ * input.
*/
@Deprecated
public void setWordwrap(boolean wordwrap) {