Home > Class Reference > ENSLIB namespace > %ZEN.SVGComponent.lightBar

%ZEN.SVGComponent.lightBar

class %ZEN.SVGComponent.lightBar extends %ZEN.SVGComponent.meter

SVG light bar meter.
This displays a value within a representation of a LED light bar.
This control looks best when its width is half of its height.

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter DEFAULTVIEWBOXWIDTH = 50;
Override viewBoxWidth for this component.

Properties (Including Private)

property highLampColor as %ZEN.Datatype.color [ InitialExpression = "url(#glow-red)" ];
Fill color used for high indicator lamp.
Property methods: highLampColorDisplayToLogical(), highLampColorGet(), highLampColorIsValid(), highLampColorLogicalToDisplay(), highLampColorLogicalToOdbc(), highLampColorNormalize(), highLampColorSet()
property lowLampColor as %ZEN.Datatype.color [ InitialExpression = "url(#glow-red)" ];
Fill color used for low indicator lamp.
Property methods: lowLampColorDisplayToLogical(), lowLampColorGet(), lowLampColorIsValid(), lowLampColorLogicalToDisplay(), lowLampColorLogicalToOdbc(), lowLampColorNormalize(), lowLampColorSet()
property outerBodyStyle as %ZEN.Datatype.style;
Optional. Style applied to outer region.
Property methods: outerBodyStyleDisplayToLogical(), outerBodyStyleGet(), outerBodyStyleIsValid(), outerBodyStyleLogicalToDisplay(), outerBodyStyleLogicalToOdbc(), outerBodyStyleNormalize(), outerBodyStyleSet()

Methods (Including Private)

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 updateLamps(animate) [ Language = javascript ]
Internal method: update lamps

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)