java.lang.Object
org.bzdev.ejws.maps.DirWebMap.Config
- Enclosing class:
- DirWebMap
DirWebMap configurator.
An instance of this object can be used as the argument
for a
DirWebMap
's constructor.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Config
public Config(File root, 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:
root
- a File representing the directory within which resources will be foundcolor
- the CSS color for textbgcolor
- the CSS color for the backgroundlinkColor
- the CSS color for links; null to ignorevisitedColor
- 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.
-