public static interface ILabelGenerator.Builder
| Modifier and Type | Field and Description |
|---|---|
static ILabelGenerator.Option<java.lang.Boolean> |
SHOW_CLASS_NAME
If the SHOW_CLASS_NAME option is present and true, the value of object.getClass().getName()
is prefixed to the formatted description of each object.
|
static ILabelGenerator.Option<java.lang.Boolean> |
SHOW_CLASS_SIMPLE_NAME
If the SHOW_CLASS_SIMPLE_NAME option is present and true, the value of object.getClass().getSimpleName()
is prefixed to the formatted description of each object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendObject(java.lang.Object object)
Append the generated label of an object to the overall generated label.
|
void |
appendString(java.lang.String string) |
void |
buildLabelFor(java.lang.Object labelledObject) |
<T> T |
getOption(ILabelGenerator.Option<T> option) |
ILabelGenerator.Registry |
getRegistry() |
<T> void |
setOption(ILabelGenerator.Option<T> option,
T value) |
static final ILabelGenerator.Option<java.lang.Boolean> SHOW_CLASS_NAME
static final ILabelGenerator.Option<java.lang.Boolean> SHOW_CLASS_SIMPLE_NAME
void appendObject(java.lang.Object object)
object - to be appended.void appendString(java.lang.String string)
void buildLabelFor(java.lang.Object labelledObject)
<T> T getOption(ILabelGenerator.Option<T> option)
ILabelGenerator.Registry getRegistry()
<T> void setOption(ILabelGenerator.Option<T> option, T value)