public interface ItsNatTextAreaUI extends ItsNatTextComponentUI
Current implementation of this interface only applies to <textarea>
based components. The text is saved in the value attribute/property, when
loading the document is saved too as the <textarea> content.
ItsNatTextArea.getItsNatTextAreaUI()| Modifier and Type | Method and Description |
|---|---|
int |
getColumns()
Returns the max number of visible columns of the text area.
|
ItsNatTextArea |
getItsNatTextArea()
Returns the associated component object.
|
int |
getRows()
Returns the max number of visible rows of the text area.
|
boolean |
isLineWrap()
Informs whether the text area wraps lines.
|
void |
setColumns(int cols)
Sets the max number of visible columns of the text area.
|
void |
setLineWrap(boolean wrap)
Enables or disables the line wrap.
|
void |
setRows(int rows)
Sets the max number of visible rows of the text area.
|
getItsNatTextComponent, getText, isEditable, setEditablegetItsNatElementComponentgetItsNatComponentItsNatTextArea getItsNatTextArea()
int getColumns()
setColumns(int)void setColumns(int cols)
cols - the max number of visible columns.getColumns()int getRows()
setRows(int)void setRows(int rows)
rows - the max number of visible rows.getRows()boolean isLineWrap()
Current implementation uses the wrap attribute
of the <textarea>.
setLineWrap(boolean)void setLineWrap(boolean wrap)
Current implementation uses the wrap attribute
of the <textarea>.
wrap - if true to enable the line wrap.isLineWrap()Copyright © Innowhere Software, Jose Maria Arranz Santamaria.