public class StringUtils
extends java.lang.Object
Constructor and Description |
---|
StringUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
shortText(java.lang.String text,
FontMetrics fm,
int width)
This method puts three dots (...) at the final of the text to fit in the size you passed in.
|
public static java.lang.String shortText(java.lang.String text, FontMetrics fm, int width)