Package jadex.tools.comanalyzer.graph
Class EdgeTransformer.LabelFont
- java.lang.Object
-
- jadex.tools.comanalyzer.graph.EdgeTransformer.LabelFont
-
- All Implemented Interfaces:
org.apache.commons.collections15.Transformer
- Enclosing class:
- EdgeTransformer
public static class EdgeTransformer.LabelFont extends java.lang.Object implements org.apache.commons.collections15.Transformer
A Transformer for assigning a normal or bold Font to the message 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 e)
Returns the bold font ifbold
istrue
, else the normal font.
-
-
-
Method Detail
-
transform
public java.lang.Object transform(java.lang.Object e)
Returns the bold font ifbold
istrue
, else the normal font.- Specified by:
transform
in interfaceorg.apache.commons.collections15.Transformer
- Parameters:
group
- The a message 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.
-
-