| java.lang.Object org.netbeans.modules.sun.manager.jbi.util.Utils
Utils | public class Utils (Code) | | author: jqian |
Method Summary | |
public static Image | getBadgedIcon(Class clazz, String iconName, String internalBadgeIconName, String externalBadgeIconName) | public static Map<Attribute, MBeanAttributeInfo> | getIntrospectedPropertyMap(Object bean, boolean sort) | public static Map<Attribute, MBeanAttributeInfo> | getIntrospectedPropertyMap(Object bean, boolean sort, String beanInfoPackageName) | public static String | getTooltip(String input) | public static void | runInEventDispatchThread(Runnable runnable) Ensure that the specified ruannable task will run only in the event dispatch
thread. | public static String | wordWrapString(String input, int maxLineLength, String newLineChars) Word-wrap long string. |
runInEventDispatchThread | public static void runInEventDispatchThread(Runnable runnable)(Code) | | Ensure that the specified ruannable task will run only in the event dispatch
thread.
|
wordWrapString | public static String wordWrapString(String input, int maxLineLength, String newLineChars)(Code) | | Word-wrap long string.
Parameters: input - an input string Parameters: maxLineLength - maximum characters per line after word wrapping Parameters: newLineChars - new line characters to be inserted the word-wrapped string with new line characters inserted. |
|
|