oscar.Gui.Download.WCS

This is a small GUI widget for executing AJAX requests for downloading from a web coverage service.

Inherits from:oscar.Gui.Download
Summary
oscar.Gui.Download.WCSThis is a small GUI widget for executing AJAX requests for downloading from a web coverage service.
Properties
autoStart {Boolean} - Should the requests start immediatelyafter the draw method call.
title The text to be displayed for the download reference.
events {<OpenLayers.Events>} An events object that handlesall events on the label.
Constants
EVENT_TYPES {Array(String)} Supported application event types.Register a listener for a particular event with the following syntax: > wcs.events.register(type, obj, listener);
Constructor
oscar.Gui.Download.WCS
Functions
drawCreates the DOM elmements to display the widget on screen.
initRequestsCalled from the constructor.

Properties

autoStart {Boolean} - Should the requests start immediately

after the draw method call.  Defaults to true.

title The text to be displayed for the download reference.

events {<OpenLayers.Events>} An events object that handles

all events on the label.

Constants

EVENT_TYPES {Array(String)} Supported application event types.

Register a listener for a particular event with the following syntax: > wcs.events.register(type, obj, listener);

Supported ClickableLabel event types

xmlReceivedTriggered when the xml is received from the service.
xslReceivedTriggered when the xsl for transformation is received.

Constructor

oscar.Gui.Download.WCS

Parameters: urlThe url of the web coverage service. parameters - {Object} Key:Value pair parameters for a GetCoverage request. options - {Object} An optional object whose properties will be set on this instance.

Functions

draw

draw : function()

Creates the DOM elmements to display the widget on screen.

Returns: A DOM element.

initRequests

initRequests : function()

Called from the constructor.  Sends off the requests for GetCoverage and the stylesheet to for transformation.

draw : function()
Creates the DOM elmements to display the widget on screen.
initRequests : function()
Called from the constructor.
Parent class for the Download gui elements.