1 | public JTextArea getJTextArea(Object value) {↵ | | 1 | public JTextArea getJTextArea(Object value) {↵
|
2 | _textComponent = new RestorableJTextArea();↵ | | 2 | _textComponent = new RestorableJTextArea();↵
|
|
| | | 3 | ↵
|
3 | // value is a simple string representation of the data,↵ | | 4 | // value is a simple string representation of the data,↵
|
4 | // the same one used in Text and in-cell operations.↵ | | 5 | // the same one used in the Text and in-cell operations.↵
|
5 | ((RestorableJTextArea)_textComponent).setText(renderObject(value));↵ | | 6 | ((RestorableJTextArea)_textComponent).setText(renderObject(value));↵
|
| | | 7 | ↵
|
6 | // special handling of operations while editing this data type↵ | | 8 | // special handling of operations while editing this data type↵
|
7 | ((RestorableJTextArea)_textComponent).addKeyListener(new KeyTextHandler());↵ | | 9 | ((RestorableJTextArea)_textComponent).addKeyListener(new KeyTextHandler());↵
|
| | | 10 | ↵
|
8 | return (RestorableJTextArea)_textComponent;↵ | | 11 | return (RestorableJTextArea)_textComponent;↵
|
9 | | | 12 |
|