Package jadex.tools.comanalyzer.graph
Class VertexTransformer.LabelFont
- java.lang.Object
-
- jadex.tools.comanalyzer.graph.VertexTransformer.LabelFont
-
- All Implemented Interfaces:
org.apache.commons.collections15.Transformer
- Enclosing class:
- VertexTransformer
public static final class VertexTransformer.LabelFont extends java.lang.Object implements org.apache.commons.collections15.Transformer
A Transformer for assigning a normal or bold Font to the agent group labels.
-
-
Constructor Summary
Constructors Constructor Description LabelFont()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBold()
void
setBold(boolean bold)
java.lang.Object
transform(java.lang.Object group)
Returns the bold font ifbold
istrue
, else the normal font.
-
-
-
Method Detail
-
transform
public java.lang.Object transform(java.lang.Object group)
Returns the bold font ifbold
istrue
, else the normal font.- Specified by:
transform
in interfaceorg.apache.commons.collections15.Transformer
- Parameters:
group
- The a gent group- Returns:
- The font for the label.
-
setBold
public void setBold(boolean bold)
- Parameters:
bold
-true
if the bold font ought to be used.
-
getBold
public boolean getBold()
- Returns:
true
if the bold font is used.
-
-