(Object font, char[] buffer, int start, int stop)
| 490 | |
| 491 | |
| 492 | @Override |
| 493 | protected int getTextWidth(Object font, char[] buffer, int start, int stop) { |
| 494 | // maybe should use one of the newer/fancier functions for this? |
| 495 | int length = stop - start; |
| 496 | FontMetrics metrics = getFontMetrics((Font) font); |
| 497 | return metrics.charsWidth(buffer, start, length); |
| 498 | } |
| 499 | |
| 500 | |
| 501 | @Override |
nothing calls this directly
no test coverage detected