/** * Normalize the supplied string to an Icon size class e.g. "16x16" to "icon-sm". * * @param string The string to be normalized. * @return The normalized icon size class, or the unmodified {@code string} arg * if it was an unrecognised icon size. */ public static String toNormalizedIconSizeClass(String string) { return Icon.toNormalizedIconSizeClass(string); }
/** * Normalize the supplied string to an Icon size class e.g. "16x16" to "icon-sm". * * @param string The string to be normalized. * @return The normalized icon size class, or the unmodified {@code string} arg * if it was an unrecognised icon size. */ public static String toNormalizedIconSizeClass(GString string) { return Icon.toNormalizedIconSizeClass(string.toString()); }