()
| 470 | } |
| 471 | |
| 472 | public void calculateHeightMap() { |
| 473 | heightMap.clear(); |
| 474 | |
| 475 | int curHeight = getHeaderPadding(); |
| 476 | List<E> chatLines = Lists.newArrayList(rows); |
| 477 | for (Row row : chatLines) { |
| 478 | heightMap.add(curHeight); |
| 479 | curHeight += row.getLineHeight(); |
| 480 | } |
| 481 | } |
| 482 | |
| 483 | @Override |
| 484 | public int getRowWidth() { |
no test coverage detected