Package totalcross.util
Class StringUtils
- java.lang.Object
-
- totalcross.util.StringUtils
-
public class StringUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StringUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringshortText(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.
-
-
-
Method Detail
-
shortText
public 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.
-
-