thumbnailColorMap.put(tdm,color);
Color alphaColor = new Color(color.getRed(),color.getGreen(), color.getBlue(),128); thumbnailColorMap.put(tdm,alphaColor);
            public void setupMethod(ThumbnailDataModel tdm)            {                AttributeMap attrMap = tdm.getAttributeMap();                List attributes = attrMap.getAttributes(attributeName);                if(attributes == null || attributes.size() == 0)                {                    thumbnailColorMap.put(tdm,null);                    return;                }                Attribute[] attrs = new Attribute[attributes.size()];                attributes.toArray(attrs);                                double val = mode.computeValue(attrs,elementName);                Color color = scale.getColor(val,coldColor,warmColor);                thumbnailColorMap.put(tdm,color);            }