Class 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.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected PaintMaps paintMaps
      The paint maps
      protected int paintMode
      The paint mode
    • Constructor Summary

      Constructors 
      Constructor Description
      PaintMode​(PaintMaps paintMaps, int paintMode)
      Create a transformer with given paint maps and paint mode.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface org.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.