Quikmaps classes

Class QUtils

Object
   |
   +--QUtils

class QUtils

Field Summary
<static>  Object appVersion
          Static class member -- navigator app version in lower case
<static>  Object ie
          Static class member -- true if internet explorer style browser, false otherwise
<static>  Object isIE
          Static class member -- true if microsoft internet explorer, false otherwise
<static>  Object isIE5
          Static class member -- true if microsoft internet explorer 5.x, false otherwise
<static>  Object isIE6
          Static class member -- true if microsoft internet explorer 6.x, false otherwise
<static>  Object isOpera
          Static class member -- true if opera, false otherwise
<static>  Object n4
          Static class member -- true if netscape 4, false otherwise
<static>  Object n6
          Static class member -- true if netscape 6, false otherwise
<static>  Object o6
          Static class member -- true if opera browser >= version 6, false otherwise
<static>  Object safari
          Static class member -- true if safari, false otherwise
<static>  Object userAgent
          Static class member -- navigator user agent in lower case
 
Constructor Summary
QUtils()
            QUtils is a static class, containing utility functions.
 
Method Summary
<static> Number keycode(<Event> event)
           Static function -- return the keycode of an event
<static> Boolean leftclick(<Event> event)
           Static function -- check whether left click triggered the mouse event
<static> Number maptype2num(<MapType> type)
           Static function -- lookup map type in QMaps._maptypes array
<static> Boolean rightclick(<Event> event)
           Static function -- check whether right click triggered the mouse event
<static> Boolean shiftKey(<Event> event)
           Static function -- check whether the shift key was down during an event
<static> String toJsonString(o)
           Static function -- translate an object into a JSON string

Field Detail

appVersion

<static> Object appVersion

ie

<static> Object ie

isIE

<static> Object isIE

isIE5

<static> Object isIE5

isIE6

<static> Object isIE6

isOpera

<static> Object isOpera

n4

<static> Object n4

n6

<static> Object n6

o6

<static> Object o6

safari

<static> Object safari

userAgent

<static> Object userAgent

Constructor Detail

QUtils

QUtils()

Method Detail

keycode

<static> Number keycode(<Event> event)

leftclick

<static> Boolean leftclick(<Event> event)

maptype2num

<static> Number maptype2num(<MapType> type)

rightclick

<static> Boolean rightclick(<Event> event)

shiftKey

<static> Boolean shiftKey(<Event> event)

toJsonString

<static> String toJsonString(o)

Quikmaps classes

Documentation generated by JSDoc on Fri Jul 27 18:32:22 2007