Community Map Builder 27 Apr 2008

Class DeleteFeature

Object
   |
   +--WidgetBase
         |
         +--ButtonBase
               |
               +--DeleteFeature

class DeleteFeature
extends ButtonBase

Defined in DeleteFeature.js

Author: Cameron Shorter


Field Summary
 Object cursor
          
 Object deleteXsl
          Xsl to convert Feature into a WFS Transaction Delete.
 Object httpPayload
          
 Object tc
          
 Object tm
          
 Object trm
          
   
Fields inherited from class ButtonBase
htmlTagId, panelHtmlTagId, buttonType, olButtonType, action, cursor, selected, control, active, superclass, objRef, panel_div, div
   
Fields inherited from class WidgetBase
model, widgetNode, id, outputNodeId, htmlTagId, autoRefresh, debug
 
Constructor Summary
DeleteFeature (widgetNode, model)
            When this button is pressed a WFS-T DeleteFeature transaction will be started.
 
Method Summary
 Object createControl(objRef)
           creates the OL control for this button
 void doSelect(objRef, selected)
           Start a WFS-T DeleteFeature transaction.
 void handleResponse(objRef)
           If transaction was sucessful, refresh the map and remove contents of FeatureList.
 
Methods inherited from class ButtonBase
getButtonClass, doAction, select, attachToOL, buttonInit
   
Methods inherited from class WidgetBase
getProperty, getNode, initTargetModel, prePaint, postPaint, clearWidget
 

Field Detail

cursor

Object cursor

deleteXsl

Object deleteXsl

httpPayload

Object httpPayload

tc

Object tc

tm

Object tm

trm

Object trm

Constructor Detail

DeleteFeature

DeleteFeature(widgetNode, model)

Method Detail

createControl

Object createControl(objRef)

doSelect

void doSelect(objRef, selected)

handleResponse

void handleResponse(objRef)

Community Map Builder 27 Apr 2008

Documentation generated by JSDoc on Sun Apr 27 20:30:54 2008