|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opt4j.core.config.visualization.Format
public class Format
The Format contains several format rules.
| Field Summary | |
|---|---|
protected static java.lang.String |
xmlBreak
|
| Constructor Summary | |
|---|---|
Format()
|
|
| Method Summary | |
|---|---|
javax.swing.ImageIcon |
asFolder(javax.swing.ImageIcon icon)
Converts the given ImageIcon into a folder icon. |
java.lang.String |
formatTooltip(java.lang.String text)
Formats a text for tooltip (inserts break-lines). |
javax.swing.ImageIcon |
getIcon(java.lang.Class<?> clazz)
Returns the icon of a Class. |
javax.swing.ImageIcon |
getIcon(PropertyModule module)
Returns the ImageIcon of a PropertyModule. |
java.lang.String |
getInfo(java.lang.Class<?> c)
Returns the info of a Class. |
java.lang.String |
getName(java.lang.Class<?> clazz)
Returns the name of a Class. |
java.lang.String |
getName(Property property)
Returns the formatted name of the property. |
java.lang.String |
getName(PropertyModule module)
Returns the name of a PropertyModule. |
java.lang.String |
getTooltip(java.lang.Class<?> c)
Returns the tooltip of a Class. |
java.lang.String |
getTooltip(Property property)
Returns the formatted (html) tooltip of a Property. |
java.lang.String |
getTooltip(PropertyModule module)
Returns the tooltip of a PropertyModule. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String xmlBreak
| Constructor Detail |
|---|
public Format()
| Method Detail |
|---|
public java.lang.String getName(java.lang.Class<?> clazz)
Class.
clazz - the class
public java.lang.String getInfo(java.lang.Class<?> c)
Class.
c - the class
public java.lang.String getTooltip(java.lang.Class<?> c)
Class.
c - the class
public javax.swing.ImageIcon getIcon(java.lang.Class<?> clazz)
Class.
clazz - the class
public java.lang.String getName(PropertyModule module)
PropertyModule.
module - the module
public java.lang.String getTooltip(PropertyModule module)
PropertyModule.
module - the module
public javax.swing.ImageIcon getIcon(PropertyModule module)
ImageIcon of a PropertyModule.
module - the module
public javax.swing.ImageIcon asFolder(javax.swing.ImageIcon icon)
ImageIcon into a folder icon.
icon - the icon
public java.lang.String getName(Property property)
property - the property
public java.lang.String getTooltip(Property property)
Property.
property - the property
public java.lang.String formatTooltip(java.lang.String text)
text - the input text
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||