Class Index | File Index

Classes


Class gui.HyperlinkClickHandler


Defined in: HyperlinkClickHandler.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
gui.HyperlinkClickHandler(getContainer, keyDownHandler, keyUpHandler)
Method Summary
Method Attributes Method Name and Description
<inner>  
bindEvents(modifierKey)
<inner>  
Remove all currently subscribed keyboard shortcuts & window events
 
destroy(callback)
Destroy the object.
<inner>  
 
Get the currently active modifier key.
 
 
setModifier(value)
Sets the modifier key for activating the hyperlink.
<inner>  
Show pointer cursor when hover over hyperlink
<inner>  
Show text cursor when hover over hyperlink
Class Detail
gui.HyperlinkClickHandler(getContainer, keyDownHandler, keyUpHandler)
Parameters:
{!function():!HTMLElement} getContainer
Fetch the surrounding HTML container
{!gui.KeyboardHandler} keyDownHandler
{!gui.KeyboardHandler} keyUpHandler
Method Detail
<inner> {undefined} bindEvents(modifierKey)
Parameters:
{!number} modifierKey
Returns:
{undefined}

<inner> {undefined} cleanupEventBindings()
Remove all currently subscribed keyboard shortcuts & window events
Returns:
{undefined}

{undefined} destroy(callback)
Destroy the object. Do not access any member of this object after this call.
Parameters:
{function(!Error=):undefined} callback
Returns:
{undefined}

<inner> {?Element} getHyperlinkElement(node)
Parameters:
{?Node} node
Returns:
{?Element}

{!number} getModifier()
Get the currently active modifier key. This will be equivalent to a value found in gui.KeyboardHandler.Modifier
Returns:
{!number}

{undefined} handleClick(e)
Parameters:
{!Event} e
Returns:
{undefined}

{undefined} setModifier(value)
Sets the modifier key for activating the hyperlink.
Parameters:
{!number} value
Returns:
{undefined}

<inner> {undefined} showPointerCursor()
Show pointer cursor when hover over hyperlink
Returns:
{undefined}

<inner> {undefined} showTextCursor()
Show text cursor when hover over hyperlink
Returns:
{undefined}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 06 2015 04:10:40 GMT+0200 (MESZ)