Class BasicGraphPalette

    • Field Detail

      • MOTORWAY_COLOR

        private static final java.awt.Color MOTORWAY_COLOR
      • BIG_ROAD_COLOR

        private static final java.awt.Color BIG_ROAD_COLOR
      • SMALL_ROAD_COLOR

        private static final java.awt.Color SMALL_ROAD_COLOR
      • COASTLINE_COLOR

        private static final java.awt.Color COASTLINE_COLOR
    • Constructor Detail

      • BasicGraphPalette

        public BasicGraphPalette()
    • Method Detail

      • getColorForArc

        public java.awt.Color getColorForArc​(Arc arc)
        Specified by:
        getColorForArc in interface GraphPalette
        Parameters:
        arc - Arc for which color should be retrieved.
        Returns:
        Color associated with the given arc.
      • getWidthForArc

        public int getWidthForArc​(Arc arc)
        Specified by:
        getWidthForArc in interface GraphPalette
        Parameters:
        arc - Arc for which width should be retrieved.
        Returns:
        Width associated with the given arc.