CAF Shared JavaScript

Class CAF.Popup

Object
   |
   +--CAF.Popup

class CAF.Popup

Defined in popup.js


Nested Class Summary
<static class> CAF.Popup.Model
 
Field Summary
<static>  Object mouseoutDelay
          Time in ms to delay closing the currently open popup when the mouse exits the popup or hotspot (and is not over another popup or hotspot).
<static>  Object mouseoverHotspotDelay
          Time in ms to delay showing popup when mouse hovers over hotspot (and no other popup is current open).
<static>  Object mouseoverOtherHotspotDelay
          Time in ms to delay closing the currently open popup when the mouse hovers over an unrelated popup's hotspot.
<static>  Object mouseoverPopupDelay
          Time in ms to delay closing the currently open popup when the mouse hovers over an unrelated popup.
 
Constructor Summary
CAF.Popup ()
           
 
Method Summary
<static> void addClick(hotspot, popup, rightclick)
           Adds hotspot to trigger popup on click.
<static> void addHover(hotspot, popup)
           Adds hotspot to trigger popup on hover.
<static> Object addItem(id, item, before)
           Adds a new item to the specified menu.
<static> void addRightClick(hotspot, popup)
           Adds hotspot to trigger popup on rightclick.
<static> void attachContextMenu( element, popup )
          
<static> void attachPopup(element, popup, hover, click, rightclick)
           Attaches the specified popup to the specified element.
<static> Object create(id, items, css)
           Creates a new menu with the specified id and items.
<static> void detachPopup(element)
           Removes a tooltip created by CAF.Popup#attachHover for the specified element.
<static> Object get(id)
           Returns the specified menu or null.
<static> Object getItem(id, itemClass)
           Returns the specified item for the specified menu.
<static> void hideAll()
           Hides all open menus and tooltips.
<static> Object listItems(id)
           Returns the list of items for the specified menu.
<static> void removeClick(hotspot, rightclick)
           Remove hotspot from triggering popup on click.
<static> void removeHover(hotspot)
           Adds hotspot from triggering popup on hover.
<static> Object removeItem(id, itemClass)
           Removes the specified menu item.
<static> void removeRightClick(hotspot)
           Remove hotspot from triggering popup on rightclick.
<static> void setDisabled(id, itemClass, disable)
           Enables/disables the specified menu item.
<static> Object setItem(id, item)
           Replaces the specified menu item.
<static> void setLabel(id, itemClass, label, rawhtml)
           Updates the label of the specified menu item.
<static> void setSelected(id, itemClass, select)
           Selects/deselects the specified menu item (a selected item might be displayed as 'checked').
<static> void setValue(id, itemClass, value)
           Updates the value (link href) of the specified menu item.

Field Detail

mouseoutDelay

<static> Object mouseoutDelay

mouseoverHotspotDelay

<static> Object mouseoverHotspotDelay

mouseoverOtherHotspotDelay

<static> Object mouseoverOtherHotspotDelay

mouseoverPopupDelay

<static> Object mouseoverPopupDelay

Constructor Detail

CAF.Popup

CAF.Popup()

Method Detail

addClick

<static> void addClick(hotspot, popup, rightclick)

addHover

<static> void addHover(hotspot, popup)

addItem

<static> Object addItem(id, item, before)

addRightClick

<static> void addRightClick(hotspot, popup)

attachContextMenu

<static> void attachContextMenu( element, popup )

attachPopup

<static> void attachPopup(element, popup, hover, click, rightclick)

create

<static> Object create(id, items, css)

detachPopup

<static> void detachPopup(element)

get

<static> Object get(id)

getItem

<static> Object getItem(id, itemClass)

hideAll

<static> void hideAll()

listItems

<static> Object listItems(id)

removeClick

<static> void removeClick(hotspot, rightclick)

removeHover

<static> void removeHover(hotspot)

removeItem

<static> Object removeItem(id, itemClass)

removeRightClick

<static> void removeRightClick(hotspot)

setDisabled

<static> void setDisabled(id, itemClass, disable)

setItem

<static> Object setItem(id, item)

setLabel

<static> void setLabel(id, itemClass, label, rawhtml)

setSelected

<static> void setSelected(id, itemClass, select)

setValue

<static> void setValue(id, itemClass, value)

CAF Shared JavaScript

Documentation generated by JSDoc on Sun Sep 15 20:21:18 2019