class %ZEN.SVGComponent.smiley
extends meter
SVG Smiley meter.
This displays a range of values using a stylized smiling (or frowning) face.
property persona
as %ZEN.Datatype.string(VALUELIST=",classic,alien,pirate") [ InitialExpression = "classic" ];
Specifies what type of face to show.
method renderAlien()
[ Language = javascript ]
Draw an alien face
method renderFace()
[ Language = javascript ]
Draw a smiley face
method renderMeter()
[ Language = javascript ]
Render the inner SVG contents of this component.
method setProperty(property, value, value2)
[ Language = javascript ]
Set the value of a named property.
method updateMouth()
[ Language = javascript ]
Internal method: update position of smiley mouth