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