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