inputEx Documentation Back to homepage

### inputEx Documentation > inputEx.ImagemapField 0.2.2

## Static Class inputEx.ImagemapField - extends inputEx.Field

Create an image map field

### Constructor

inputEx.ImagemapField `( options )`

Parameters:
  `options <Object>` - inputEx.Field options object

### Properties

#### static groupOptions `- Object`

group Options for each field

#### options `- Object`

Configuration object to set the options for this class and the parent classes. See constructor details for options added by this class.

#### tgimgsrc `- Object`

popup image and its image map coordinates

### Methods

#### close

`close()`
Call closeImagemapPopUp when field is removed

#### closeImagemapPopUp

`closeImagemapPopUp()`
Close the popup

#### initEvents

`initEvents()`
Register the click and blur events

#### onImageClick

`onImageClick(e)`
Handle a image map area selection
Parameters:

`e <Event>` - The original click event

#### renderComponent

`renderComponent()`
Render the image and the imagemap popup

#### renderImageMap

`renderImageMap()`

#### renderPopUp

`renderPopUp()`
Render the imagemap popup

#### setValue

`setValue(value)`
Set the value
Parameters:

`value <String>` - Color to set

#### toggleImagemapPopUp

`toggleImagemapPopUp()`
Toggle the imagemap picker popup

#### Methods inherited from class inputEx.Field:

`focus, getEl, validate, fireUpdatedEvt, show, onBlur, onFocus, getStateString, setClassFromState, disable, onChange, render, updatedEvt, getState, setOptions, getValue, hide, displayMessage, destroy, isEmpty, enable, clear,`

Copyright (c) 2007-2009 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 2.0.0 on Wed, 04 Mar 2009 15:41:31 GMT using neyricjslibs-template.