DocBook|Search
Class Reference
%ZEN.SVGComponent.lightBar
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%ZEN] >  [SVGComponent] >  [lightBar]
Private  Storage  

class %ZEN.SVGComponent.lightBar extends 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.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 3 3


Summary

Properties
%condition %controller %import %includeFiles
%page %resource animate aux
boundless composite controller controllerId
dataBinding disabled document height
hidden highLampColor id index
label labelStyle lowLampColor name
onchange onclick onnotifyView onupdate
outerBodyStyle parent position preserveAspectRatio
rangeLower rangeUpper scaleFactor showConditionally
svgComponent svgGroup targetValue thresholdLower
thresholdUpper tuple value viewBoxHeight
viewBoxWidth visible width window
x y

Methods
%%OIDGet %AddToSaveSet %Attr %BindExport
%ClassIsLatestVersion %ClassName %ConstructClone %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %DrawHTML %DrawJSStrings
%Eval %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 renderMeter renderSVG sendEventToController
setControllerId setOverlayMode setPosition setPositionHandler
setProperty setSize setSizeHandler setTextNode
setValue sizingMouseDownHandler unrender updateLamps
wrapMethod


Parameters

• parameter DEFAULTVIEWBOXWIDTH = 50;
Override viewBoxWidth for this component.

Properties

• property highLampColor as %ZEN.Datatype.color [ InitialExpression = "url(#glow-red)" ];
Fill color used for high indicator lamp.
• property lowLampColor as %ZEN.Datatype.color [ InitialExpression = "url(#glow-red)" ];
Fill color used for low indicator lamp.
• property outerBodyStyle as %ZEN.Datatype.style;
Optional. Style applied to outer region.

Methods

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