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

class %ZEN.SVGComponent.textMeter extends meter

SVG text meter.
This meter displays a value as text within a rectangular region.
This control looks best when its height is one quarter of its width.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 5 3


Summary

Properties
%condition %controller %import %includeFiles
%page %resource animate aux
backgroundStyle boundless composite controller
controllerId dataBinding disabled document
format height hidden highStyle
id index label labelStyle
lowStyle name normalStyle 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

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 wrapMethod


Parameters

• parameter DEFAULTVIEWBOXHEIGHT = 25;
Override viewBoxHeight for this component.
• parameter DEFAULTVIEWBOXWIDTH = 100;
Override viewBoxWidth for this component.

Properties

• property backgroundStyle as %ZEN.Datatype.svgStyle;
Additional style applied to the background of this meter.
• property format as %ZEN.Datatype.string;
Numeric format string to apply to the value.
• property highStyle as %ZEN.Datatype.svgStyle [ InitialExpression = "fill: #404080;" ];
Style applied to text when the meter value is above the high threshold.
• property lowStyle as %ZEN.Datatype.svgStyle [ InitialExpression = "fill: #804040;" ];
Style applied to text when the meter value is below the low threshold.
• property normalStyle as %ZEN.Datatype.svgStyle [ InitialExpression = "fill: #404040;" ];
Style applied to text when the meter value is between the high and low threshold values.

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.