|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ItsNatTextAreaUI
Is the base interface of a text area component User Interface.
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()| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.itsnat.comp.text.ItsNatTextComponentUI |
|---|
getItsNatTextComponent, getText, isEditable, setEditable |
| Methods inherited from interface org.itsnat.comp.ItsNatElementComponentUI |
|---|
getItsNatElementComponent |
| Methods inherited from interface org.itsnat.comp.ItsNatComponentUI |
|---|
getItsNatComponent |
| Method Detail |
|---|
ItsNatTextArea 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||