Class PropertiesWebMap.Config

java.lang.Object
org.bzdev.ejws.maps.PropertiesWebMap.Config
Enclosing class:
PropertiesWebMap

public static class PropertiesWebMap.Config extends Object
DirWebMap configurator. An instance of this object can be used as the argument for a DirWebMap's constructor.
  • Constructor Details

    • Config

      public Config(Properties props, String color, String bgcolor, String linkColor, String visitedColor) throws IllegalArgumentException
      Constructor. The arguments linkColor and visitedColor can both be null but if one is not null, the other must also not be null.
      Parameters:
      props - a Properties instance
      color - the CSS color for text
      bgcolor - the CSS color for the background
      linkColor - the CSS color for links; null to ignore
      visitedColor - the CSS color for visited links; null to ignore
      Throws:
      IllegalArgumentException - if color or bgcolor are missing or if only one of linkColor or visitedColor is null.