Community Map Builder 21 Aug 2007

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, buttonBarGroup, panelHtmlTagId, buttonType, control, active
   
Fields inherited from class WidgetBase
model, widgetNode, id, outputNodeId, htmlTagId, node, groupnode
 
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
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 21 Aug 2007

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