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

class %ZEN.SVGComponent.slider extends meter

An SVG slider control. (This is still experimental and subject to change).

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 2 10


Summary

Properties
%condition %controller %import %includeFiles
%page %resource animate aux
boundless composite constrained 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 tickMarks
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
btnTimerHandler calculateViewBox clickHandler dragThumb
endWaitState findElement findNextTickValue findSVGElement
fireOnUpdateEvent getController getFrame getLabelText
getProperty getSettings getSizeAbsolute getType
getValue invokeSuper isOfType makeId
mouseDownHandler mouseUpHandler notifyViewHandler onCreate
onDelete onSerialize onchangeHandler onloadHandler
onunloadHandler onupdateHandler refreshContents render
renderContents renderLabel renderMeter renderSVG
roundValue sendEventToController setControllerId setOverlayMode
setPosition setPositionHandler setProperty setSize
setSizeHandler setTextNode setValue sizingMouseDownHandler
unrender wrapMethod


Parameters

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

Properties

• property constrained as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
If true (the default), then constrain the value of the slider so that it corresponds to one of the tick marks displayed within the slider.
• property tickMarks as %ZEN.Datatype.integer(MINVAL=0) [ InitialExpression = 10 ];
Number of tick marks to display within the slider.

Methods

• method btnTimerHandler(which) [ Language = javascript ]
Timer handler for up/down buttons.
• method dragThumb(evt) [ Language = javascript ]
Drag handler for thumb.
• method findNextTickValue(which) [ Language = javascript ]
Find the value of the next tick mark (in the direction specified by which).
• method mouseDownHandler(evt, which) [ Language = javascript ]
Mouse down handler for up/down buttons.
• method mouseUpHandler(evt, which) [ Language = javascript ]
Mouse up handler for up/down buttons.
• method renderMeter() [ Language = javascript ]
Render the inner SVG contents of this component.
• method roundValue(value) [ Language = javascript ]
Apply rounding (if needed) to a value that will be applied to the slider. If the slider is constrained, then round the value to the nearest tick mark.
• method setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.