HSLayers.InfoPanel (class)

HSLayers.InfoPanel

class HSLayers.InfoPanel(config)

InfoPanel is special panel with Clear button, to which you can bound some action.

param Object config:
 
param String config.scope:
 

(optional)

scope for the clear button event

Example usage:

var infoPanel = new HSLayers.InfoPanel({
             html: "Some text",
             renderTo: Ext.get("info")
     });
     var map = new OpenLayers.Map(mapPanel.body.dom.id);
     infoPanel.on("clearPanel",someFunction);
     var someFunction = function(){
         alert ("clear clicked");
     }

Properties

HSLayers.InfoPanel.clearButton
Type :<a href=”http://www.extjs.com/deploy/dev/docs/?class=Ext.Button“>Ext.Button</a> (static)

HSLayers.InfoPanel

Clear button

HSLayers.InfoPanel.initComponent

HSLayers.InfoPanel

Init component method of Ext.Panel, add the “clearPanel” event

HSLayers.InfoPanel.mask
Type :<a href=”http://www.extjs.com/deploy/dev/docs/?class=Ext.Mask“>Ext.Mask</a> (static)

HSLayers.InfoPanel

Mask

Methods

HSLayers.InfoPanel.clearPanel()

Deprecated, use HSLayers.InfoPanel.clear instead

HSLayers.InfoPanel.clearWithEvent()

Clear this panel and fire clearPanel event

HSLayers.InfoPanel.clear()

Clear this panel and do not fire event

HSLayers.InfoPanel.maskOn()

Turn the Mask on

HSLayers.InfoPanel.maskOff()

Turn the Mask off

Events

<static>

HSLayers.InfoPanel.

clearPanel
Fired, when the panel is cleared

Main Menu


Table Of Contents

Previous topic

HSLayers.HSSensorPanel (class)

Next topic

HSLayers.InitBus (class)

This Page