Community Map Builder 21 Aug 2007

Class FeatureSelectHandler

Object
   |
   +--ToolBase
         |
         +--FeatureSelectHandler

class FeatureSelectHandler
extends ToolBase

Defined in FeatureSelectHandler.js

Author: Andreas Hocevar andreas.hocevarATgmail.com


Field Summary
 Object map
          Map for this FeatureSelectHandler.
 Object selectStyle
          
 Object sourceModels
          
   
Fields inherited from class ToolBase
model, toolNode
 
Constructor Summary
FeatureSelectHandler (toolNode, model)
            Manages mouseover and clicks on vector features in the map.
 
Method Summary
 void configInit(objRef)
           Tool Initialisation - Step 1 of 3.
 void contextInit(objRef)
           Tool Initialisation - Step 2 of 3.
 void dehighlight(objRef, fid)
           Dehighlights the specified feature.
 void highlight(objRef, fid)
           Highlights the specified feature.
 Object init(objRef)
           Tool Initialisation - Step 3 of 3.
 void onClick(evt)
           This method is triggered when a user clicks on a feature.
 void onHover(evt)
           This method is triggered when the mouse is over a feature.
 void onSelect(feature)
           This method is triggered when the mouse is over a vector feature.
 void onUnselect(feature)
           This method is triggered when the mouse is moving out of a vector feature.
 
Methods inherited from class ToolBase
initTargetModel, initMouseHandler
 

Field Detail

map

Object map

selectStyle

Object selectStyle

sourceModels

Object sourceModels

Constructor Detail

FeatureSelectHandler

FeatureSelectHandler(toolNode, model)

Method Detail

configInit

void configInit(objRef)

contextInit

void contextInit(objRef)

dehighlight

void dehighlight(objRef, fid)

highlight

void highlight(objRef, fid)

init

Object init(objRef)

onClick

void onClick(evt)

onHover

void onHover(evt)

onSelect

void onSelect(feature)

onUnselect

void onUnselect(feature)

Community Map Builder 21 Aug 2007

Documentation generated by JSDoc on Tue Aug 21 08:12:28 2007