wffweb/src/main/java/com/webfirmframework/wffweb/css/Cursor.java
public void setCursorUrls(final String cursorType,
            final String... cursorUrls) {
        if (cursorType == null) {
            throw new NullValueException("cursorType is null");
        }
        if (cursorUrls == null) {
            throw new NullValueException("cursorUrls is null");
        }
        if (!ALL_CURSORTYPES
                .contains(StringUtil.strip(cursorType).toLowerCase())) {
            throw new InvalidValueException(cursorType
                    + " is invalid. The cursorType should be any predefined cursor type, eg default, auto etc..");
        }
        final StringBuilder sb = new StringBuilder();
        for (final String cursorUrl : cursorUrls) {
            final String urlString = "url(\"".concat(cursorUrl).concat("\"), ");
            sb.append(urlString);
        }
        String cssValue = sb.toString();

        cssValue = cssValue.endsWith(", ") ? cssValue.concat(cursorType)
                : cursorType;

        setCssValue(cssValue);
        this.cursorType = cursorType;
        this.cursorUrls = cursorUrls;
    }
public void setCursorUrls(final String cursorType,
            final String... cursorUrls) {
        if (cursorType == null) {
            throw new NullValueException("cursorType is null");
        }
        if (cursorUrls == null) {
            throw new NullValueException("cursorUrls is null");
        }
        if (!ALL_CURSORTYPES
                .contains(StringUtil.strip(cursorType).toLowerCase())) {
            throw new InvalidValueException(cursorType
                    + " is invalid. The cursorType should be any predefined cursor type, eg default, auto etc..");
        }
        final StringBuilder sb = new StringBuilder();
        for (final String cursorUrl : cursorUrls) {
            final String urlString = "url(\"".concat(cursorUrl).concat("\"), ");
            sb.append(urlString);
        }
        String cssValue = sb.toString();

        cssValue = cssValue.endsWith(", ") ? cssValue.concat(cursorType)
                : cursorType;

        setCssValue(cssValue);
        this.cursorType = cursorType;
        this.cursorUrls = cursorUrls;
    }
This method is for CSS 2.1 cursor syntax. <br>
sample code :-
{@code cursor.setCursorUrls("auto", "Test.gif", "TestImage.png")} creates
<code>cursor: url("Test.gif"), url("TestImage.png"), auto;</code>. For
css3 syntax method please use
{@code setCursorUrls(String cursorType, UrlCss3Value... urlCss3Values)}
method.

@param cursorType
This will be the last value, eg:- <code>auto</code>
in
<code>cursor: url(Test.gif), url(TestImage.png), auto;</code>.
This value can not be null. And, it will throw
{@code NullValueException} for null value.
@param cursorUrls
an array of cursor urls, eg:-
{@code cursor.setCursorUrls("auto", "Test.gif", "TestImage.png")}
and the generated css will be
<code>cursor: url("Test.gif"), url("TestImage.png"), auto;</code>
@since 1.0.0
@author WFF