| Constructor and Description |
|---|
Format() |
| Modifier and Type | Method and Description |
|---|---|
ImageIcon |
asFolder(ImageIcon icon)
Converts the given
ImageIcon into a folder icon. |
String |
formatTooltip(String text)
Formats a text for tooltip (inserts break-lines).
|
ImageIcon |
getIcon(Class<?> clazz)
Returns the icon of a
Class. |
ImageIcon |
getIcon(PropertyModule module)
Returns the
ImageIcon of a PropertyModule. |
String |
getInfo(Class<?> c)
Returns the info of a
Class. |
String |
getName(Class<?> clazz)
Returns the name of a
Class. |
String |
getName(Property property)
Returns the formatted name of the property.
|
String |
getName(PropertyModule module)
Returns the name of a
PropertyModule. |
String |
getTooltip(Class<?> c)
Returns the tooltip of a
Class. |
String |
getTooltip(Property property)
Returns the formatted (html) tooltip of a
Property. |
String |
getTooltip(PropertyModule module)
Returns the tooltip of a
PropertyModule. |
public String getName(Class<?> clazz)
Class.clazz - the classpublic String getInfo(Class<?> c)
Class.c - the classpublic String getTooltip(Class<?> c)
Class.c - the classpublic ImageIcon getIcon(Class<?> clazz)
Class.clazz - the classpublic String getName(PropertyModule module)
PropertyModule.module - the modulepublic String getTooltip(PropertyModule module)
PropertyModule.module - the modulepublic ImageIcon getIcon(PropertyModule module)
ImageIcon of a PropertyModule.module - the modulepublic ImageIcon asFolder(ImageIcon icon)
ImageIcon into a folder icon.icon - the iconpublic String getName(Property property)
property - the propertypublic String getTooltip(Property property)
Property.property - the property