Skip to main content


deprecated class %ZEN.SVGComponent.compassButtons extends %ZEN.SVGComponent.svgComponent

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

Property Inventory

Method Inventory


Inherited description: Subclasses can set this to change the default value for the boundless property for a component.


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".
Property methods: onbuttonClickDisplayToLogical(), onbuttonClickGet(), onbuttonClickIsValid(), onbuttonClickLogicalToDisplay(), onbuttonClickLogicalToOdbc(), onbuttonClickNormalize(), onbuttonClickSet()


clientmethod clickHandler(evt, direction) [ Language = javascript ]
Click handler for buttons.
clientmethod mouseoutHandler(evt, direction) [ Language = javascript ]
Mouseout handler for buttons.
clientmethod mouseoverHandler(evt, direction) [ Language = javascript ]
Mouseover handler for buttons.
clientmethod renderButton(direction, x, y) [ Language = javascript ]
Render a single compass button.
clientmethod renderContents() [ Language = javascript ]
Render the inner SVG contents of this component.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab