()
| 121 | } |
| 122 | |
| 123 | public int getTextLength() { |
| 124 | if (text==null) return 0; |
| 125 | if (text.equals("")) return 0; |
| 126 | return font.stringWidth(text); |
| 127 | } |
| 128 | |
| 129 | public String toString() { return (getCaptionLength()>getTextLength())?caption:getValue(); } |
| 130 |
no test coverage detected