class %ZEN.SVGComponent.compassButtons
extends svgComponent
A set of SVG-based compass buttons: a set of buttons used
for scrolling a region in any of four directions.
parameter DEFAULTBOUNDLESS = 1;
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".
method clickHandler(evt, direction)
[ Language = javascript ]
Click handler for buttons.
method mouseoutHandler(evt, direction)
[ Language = javascript ]
Mouseout handler for buttons.
method mouseoverHandler(evt, direction)
[ Language = javascript ]
Mouseover handler for buttons.
method renderButton(direction, x, y)
[ Language = javascript ]
Render a single compass button.
method renderContents()
[ Language = javascript ]
Render the inner SVG contents of this component.
method setProperty(property, value, value2)
[ Language = javascript ]
Set the value of a named property.