Skip to main content

%ZEN.SVGComponent.smiley

class %ZEN.SVGComponent.smiley extends %ZEN.SVGComponent.meter

SVG Smiley meter.
This displays a range of values using a stylized smiling (or frowning) face.

Property Inventory

Method Inventory

Properties

property persona as %ZEN.Datatype.string (VALUELIST = ",classic,alien,pirate") [ InitialExpression = "classic" ];
Specifies what type of face to show.
Property methods: personaDisplayToLogical(), personaGet(), personaIsValid(), personaLogicalToDisplay(), personaLogicalToOdbc(), personaNormalize(), personaSet()

Methods

clientmethod renderAlien() [ Language = javascript ]
Draw an alien face
clientmethod renderFace() [ Language = javascript ]
Draw a smiley face
clientmethod renderMeter() [ Language = javascript ]
Render the inner SVG contents of this component.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
clientmethod updateMouth() [ Language = javascript ]
Internal method: update position of smiley mouth

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab