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