Package jadex.tools.comanalyzer.graph
Class EdgeTransformer.PaintMode
- java.lang.Object
-
- jadex.tools.comanalyzer.graph.EdgeTransformer.PaintMode
-
- All Implemented Interfaces:
org.apache.commons.collections15.Transformer
- Enclosing class:
- EdgeTransformer
public static final class EdgeTransformer.PaintMode extends java.lang.Object implements org.apache.commons.collections15.Transformer
A transformer for colored egdes in respect of conversationid, performativ and protocol information.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPaintMode()
void
setPaintMode(int paintMode)
java.lang.Object
transform(java.lang.Object group)
Transforms a message group into a Paint.
-
-
-
Field Detail
-
paintMaps
protected PaintMaps paintMaps
The paint maps
-
paintMode
protected int paintMode
The paint mode
-
-
Constructor Detail
-
PaintMode
public PaintMode(PaintMaps paintMaps, int paintMode)
Create a transformer with given paint maps and paint mode.- Parameters:
paintMaps
- The paint maps.paintMode
- The paint mode.
-
-
Method Detail
-
transform
public java.lang.Object transform(java.lang.Object group)
Transforms a message group into a Paint.- Specified by:
transform
in interfaceorg.apache.commons.collections15.Transformer
- Parameters:
group
- The message group.- Returns:
- The paint for the message group.
-
getPaintMode
public int getPaintMode()
- Returns:
- The paint mode.
-
setPaintMode
public void setPaintMode(int paintMode)
- Parameters:
paintMode
- The paint mode to set.
-
-