/** * Sets the number of text lines that are visible. * * @param lines the number of visible lines */ public void setVisibleLines(final int lines) { getTextAreaElement().setRows(lines); }
/** * Sets the requested width of the text box (this is not an exact value, as * not all characters are created equal). * * @param width the requested width, in characters */ public void setCharacterWidth(final int width) { getTextAreaElement().setCols(width); }
/** * Sets the number of text lines that are visible. * * @param lines the number of visible lines */ public void setVisibleLines(final int lines) { getTextAreaElement().setRows(lines); }
/** * Gets the number of text lines that are visible. * * @return the number of visible lines */ public int getVisibleLines() { return getTextAreaElement().getRows(); }
/** * Gets the number of text lines that are visible. * * @return the number of visible lines */ public int getVisibleLines() { return getTextAreaElement().getRows(); }
/** * Sets the requested width of the text box (this is not an exact value, as * not all characters are created equal). * * @param width the requested width, in characters */ public void setCharacterWidth(final int width) { getTextAreaElement().setCols(width); }
/** * Gets the requested width of the text box (this is not an exact value, as * not all characters are created equal). * * @return the requested width, in characters */ public int getCharacterWidth() { return getTextAreaElement().getCols(); }
/** * Gets the requested width of the text box (this is not an exact value, as * not all characters are created equal). * * @return the requested width, in characters */ public int getCharacterWidth() { return getTextAreaElement().getCols(); }