Skip to main content

%ZEN.SVGComponent.compassButtons

Class %ZEN.SVGComponent.compassButtons Extends svgComponent [ Deprecated, System = 3 ]

A set of SVG-based compass buttons: a set of buttons used for scrolling a region in any of four directions.

Parameters

DEFAULTBOUNDLESS

Parameter DEFAULTBOUNDLESS = 1;

Properties

onbuttonClick

Property onbuttonClick As %ZEN.Datatype.eventHandler;

onbuttonClick event handler: This event handler is called when the user clicks on one of the buttons displayed by this component. The variable, direction, is passed to the callback and corresponds to which button was pressed. Possible values are: "up","down","left","right",and "home".

XDatas

SVGStyle

XData SVGStyle

Methods

renderContents

ClientMethod renderContents() [ Language = javascript ]

Render the inner SVG contents of this component.

renderButton

ClientMethod renderButton(direction, x, y) [ Language = javascript ]

Render a single compass button.

clickHandler

ClientMethod clickHandler(evt, direction) [ Language = javascript ]

Click handler for buttons.

mouseoverHandler

ClientMethod mouseoverHandler(evt, direction) [ Language = javascript ]

Mouseover handler for buttons.

mouseoutHandler

ClientMethod mouseoutHandler(evt, direction) [ Language = javascript ]

Mouseout handler for buttons.

setProperty

ClientMethod setProperty(property, value, value2) [ Language = javascript ]

Set the value of a named property.