public static final class VertexTransformer.LabelFont
extends java.lang.Object
implements org.apache.commons.collections15.Transformer
Modifier and Type | Field and Description |
---|---|
static java.awt.Font |
b
The bold font
|
protected boolean |
bold
If the font is bold
|
static java.awt.Font |
f
The normal font.
|
Constructor and Description |
---|
LabelFont() |
Modifier and Type | Method and Description |
---|---|
boolean |
getBold() |
void |
setBold(boolean bold) |
java.lang.Object |
transform(java.lang.Object group)
Returns the bold font if
bold is true ,
else the normal font. |
public static final java.awt.Font f
public static final java.awt.Font b
protected boolean bold
public java.lang.Object transform(java.lang.Object group)
bold
is true
,
else the normal font.transform
in interface org.apache.commons.collections15.Transformer
group
- The a gent grouppublic void setBold(boolean bold)
bold
- true
if the bold font ought to be used.public boolean getBold()
true
if the bold font is used.