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