Class AC.ImageIcon
Extends
Ext.BoxComponent.
Image icon
Defined in: ACFormFieldExtensions.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Constructs a new image.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
AC.ImageIcon.border
The border.
|
<static> |
AC.ImageIcon.clickEvent
The type of event to map to the button's event handler (defaults to 'click').
|
<static> |
AC.ImageIcon.handleMouseEvents
False to disable visual cues on mouseover, mouseout and mousedown (defaults to true).
|
<static> |
AC.ImageIcon.height
The height.
|
<static> |
AC.ImageIcon.originalURL
Read-only.
|
<static> |
AC.ImageIcon.tooltipType
The type of tooltip to use.
|
<static> |
AC.ImageIcon.width
The width.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
AC.ImageIcon.changeImage(url)
Changes the image.
|
<static> |
AC.ImageIcon.getTemplateArgs()
Gets template arguments.
|
<static> |
AC.ImageIcon.initComponent()
Initializes the component.
|
<static> |
AC.ImageIcon.onRender(ct, position)
On render.
|
<static> |
AC.ImageIcon.setHandler(handler, scope)
Assigns this Button's click handler
|
<static> |
AC.ImageIcon.setSize(w, h)
Sets the size.
|
Field Detail
<static>
AC.ImageIcon.border
The border.
- Default Value:
- false
<static>
AC.ImageIcon.clickEvent
The type of event to map to the button's event handler (defaults to 'click').
- Default Value:
- 'click'
<static>
AC.ImageIcon.handleMouseEvents
False to disable visual cues on mouseover, mouseout and mousedown (defaults to true).
- Default Value:
- true
<static>
AC.ImageIcon.height
The height.
- Default Value:
- null
<static>
AC.ImageIcon.originalURL
Read-only. True if this button is hidden.
- Default Value:
- 'images/no_icon_selected.gif'
<static>
AC.ImageIcon.tooltipType
The type of tooltip to use. Either 'qtip' (default) for QuickTips or 'title' for title attribute.
- Default Value:
- 'qtip'
<static>
AC.ImageIcon.width
The width.
- Default Value:
- 16
Method Detail
<static>
AC.ImageIcon.changeImage(url)
Changes the image.
- Parameters:
- url
- the url
- Returns:
- void
<static>
AC.ImageIcon.getTemplateArgs()
Gets template arguments.
- Returns:
- the arguments
<static>
AC.ImageIcon.initComponent()
Initializes the component.
- Returns:
- void
<static>
AC.ImageIcon.onRender(ct, position)
On render.
- Parameters:
- ct
- the component
- position
- the position
- Returns:
- void
<static>
{Ext.Button}
AC.ImageIcon.setHandler(handler, scope)
Assigns this Button's click handler
- Parameters:
- {Function} handler
- The function to call when the button is clicked
- {Object} scope
- (optional) Scope for the function passed in
- Returns:
- {Ext.Button} this
<static>
AC.ImageIcon.setSize(w, h)
Sets the size.
- Parameters:
- w
- the width
- h
- the height
- Returns:
- void