javadoc for setKeyMask, modified setColor