- Enclosing class:
public static class DisplayTool.Measurements
Measures the dimensions of the string given to its constructor.
Height is the number of lines in the string.
Width is the number of characters in the longest line.
public int getHeight()
public int getWidth()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.