Designed for code reuse. Because many classes will require color as a property and each class would have get, set, and validation code. With a single color class any object that requires a color property can accept an instance of OoColor as that color.
Properties:
strColor - Private string containing a validate color (hex, rgb or english)
booValidated -Boolean used to determine if a color has been set correctly
Methods:
funSetColor - accepts string to validate as a color then set this object color property as that value
funGetColor - Returns this objects color property as string
Priority: Unset
Depends:
0.0 Master (OO)-[OO.class.js]
UML:
Overview
A small object class to set/validate/get a color
Description:
Designed for code reuse. Because many classes will require color as a property and each class would have get, set, and validation code. With a single color class any object that requires a color property can accept an instance of OoColor as that color.
Properties:
Methods: