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

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.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 1 6


Summary

Properties
%condition %import %includeFiles %page
%resource aux boundless composite
document height hidden id
index name onbuttonClick onclick
onupdate parent position preserveAspectRatio
svgComponent svgGroup tuple 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 beginWaitState calculateViewBox
clickHandler endWaitState findElement findSVGElement
fireOnUpdateEvent getFrame getProperty getSettings
getSizeAbsolute getType invokeSuper isOfType
makeId mouseoutHandler mouseoverHandler onCreate
onDelete onSerialize onloadHandler onunloadHandler
onupdateHandler refreshContents render renderButton
renderContents renderSVG setOverlayMode setPosition
setPositionHandler setProperty setSize setSizeHandler
setTextNode sizingMouseDownHandler unrender wrapMethod


Parameters

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

Properties

• 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".

Methods

• 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.