Class TotalDesireColorer

    • Field Summary

      • Fields inherited from class org.opentrafficsim.road.gtu.colorer.DesireColorer

        NA
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Color getColor​(GTU gtu)
      Get the color, based on the Drawable object.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TotalDesireColorer

        public TotalDesireColorer()
    • Method Detail

      • getColor

        public final java.awt.Color getColor​(GTU gtu)
        Get the color, based on the Drawable object.
        Parameters:
        gtu - D; the object to determine the color for
        Returns:
        the (fill, line) color of the drawable object
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object