Home > Class Reference > ENSLIB namespace > %ZEN.SVGComponent.compassButtons

%ZEN.SVGComponent.compassButtons

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 (Including Private)

Method Inventory (Including Private)

Parameters

parameter DEFAULTBOUNDLESS = 1;
Inherited description: Subclasses can set this to change the default value for the boundless property for a component.

Properties (Including Private)

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()

Methods (Including Private)

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 (Including Private)

Inherited Methods (Including Private)