Class DisplayTool.Measurements
java.lang.Object
org.apache.velocity.tools.generic.DisplayTool.Measurements
- Enclosing class:
DisplayTool
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.
- Since:
- VelocityTools 2.0
- Version:
- $Id: DisplayTool.java 463298 2006-10-12 16:10:32Z henning $
- Author:
- Sean Legassick, Daniel Rall, Nathan Bubna
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Measurements
-
-
Method Details
-
getHeight
public int getHeight() -
getWidth
public int getWidth() -
toString
-