fixed -- SwatchData setColor and getColor should both be public