%ZEN.SVGComponent.indicatorLamp
deprecated class %ZEN.SVGComponent.indicatorLamp extends %ZEN.SVGComponent.meter
SVG indicator lamp meter.This meter displays a stylized lamp displaying a label. When its value is above the the threshholdUpper value, the lamp will turn on.
This control looks best when its height is one quarter of its width.
Property Inventory
Method Inventory
Parameters
parameter DEFAULTVIEWBOXHEIGHT = 25;
Override viewBoxHeight for this component.
parameter DEFAULTVIEWBOXWIDTH = 100;
Override viewBoxWidth for this component.
Properties
property highStyle as %ZEN.Datatype.svgStyle [ InitialExpression = "fill: url(#glow-green);" ];
Style applied to lamp when the meter value is above the high threshold.
Property methods: highStyleDisplayToLogical(), highStyleGet(), highStyleIsValid(), highStyleLogicalToDisplay(), highStyleLogicalToOdbc(), highStyleNormalize(), highStyleSet()
property lowStyle as %ZEN.Datatype.svgStyle [ InitialExpression = "fill: url(#glow-red);" ];
Style applied to lamp when the meter value is below the low threshold.
Property methods: lowStyleDisplayToLogical(), lowStyleGet(), lowStyleIsValid(), lowStyleLogicalToDisplay(), lowStyleLogicalToOdbc(), lowStyleNormalize(), lowStyleSet()
property normalStyle as %ZEN.Datatype.svgStyle [ InitialExpression = "fill: url(#glow-blue);" ];
Style applied to lamp when the meter value is between the high and low threshold values.
Property methods: normalStyleDisplayToLogical(), normalStyleGet(), normalStyleIsValid(), normalStyleLogicalToDisplay(), normalStyleLogicalToOdbc(), normalStyleNormalize(), normalStyleSet()
Methods
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 updateLamp() [ Language = javascript ]
Internal method: update lamp
Inherited Members
Inherited Properties
- %condition
- %controller
- %import
- %includeFiles
- %page
- %resource
- animate
- aux
- boundless
- composite
- controller
- controllerId
- dataBinding
- disabled
- document
- height
- hidden
- id
- index
- label
- labelStyle
- name
- onchange
- onclick
- onnotifyView
- onupdate
- parent
- position
- preserveAspectRatio
- rangeLower
- rangeUpper
- scaleFactor
- showConditionally
- svgComponent
- svgGroup
- targetValue
- thresholdLower
- thresholdUpper
- tuple
- value
- viewBoxHeight
- viewBoxWidth
- visible
- width
- window
- x
- y
Inherited Methods
- %AddToSaveSet()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawHTML()
- %DrawJSStrings()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GetEventHandlers()
- %GetParameter()
- %GetXMLName()
- %IsA()
- %IsModified()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnDrawObjectProperties()
- %OnObjectSynch()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %RemoveFromSaveSet()
- %Self()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- acquireData()
- beginWaitState()
- calculateViewBox()
- clickHandler()
- endWaitState()
- findElement()
- findSVGElement()
- fireOnUpdateEvent()
- getController()
- getFrame()
- getLabelText()
- getProperty()
- getSettings()
- getSizeAbsolute()
- getType()
- getValue()
- invokeSuper()
- isOfType()
- makeId()
- notifyViewHandler()
- onCreate()
- onDelete()
- onSerialize()
- onchangeHandler()
- onloadHandler()
- onunloadHandler()
- onupdateHandler()
- refreshContents()
- render()
- renderContents()
- renderLabel()
- renderSVG()
- sendEventToController()
- setControllerId()
- setOverlayMode()
- setPosition()
- setPositionHandler()
- setSize()
- setSizeHandler()
- setTextNode()
- setValue()
- sizingMouseDownHandler()
- unrender()
- wrapMethod()