Class Index | File Index

Classes


Class Simplicite.Tools


Defined in: tools.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Tools
Method Summary
Method Attributes Method Name and Description
<static>  
Simplicite.Tools.addClickEvent(el, f)
<static>  
Simplicite.Tools.addEvent(el, evnt, func)
<static>  
Simplicite.Tools.base64Decode(s)
Decode base64
<static>  
Simplicite.Tools.base64Encode(input)
Encode to base64
<static>  
Simplicite.Tools.basicAuthString(user, password)
HTTP Basic auth header
<static>  
Simplicite.Tools.contains(ar, obj)
<static>  
Simplicite.Tools.debug(text)
<static>  
Simplicite.Tools.error(text, e, popup)
<static>  
Simplicite.Tools.fireEvent(el, evnt)
<static>  
Simplicite.Tools.freezeEvent(e)
<static>  
Simplicite.Tools.getElementPos(elt)
<static>  
Simplicite.Tools.getElementSize(elt)
<static>  
Simplicite.Tools.getEvent(e)
<static>  
Simplicite.Tools.getEventElement(e)
<static>  
Simplicite.Tools.getEventPosX(e)
<static>  
Simplicite.Tools.getEventPosY(e)
<static>  
Simplicite.Tools.getKeyCode(e)
<static>  
Simplicite.Tools.getPickerPos(elt, align, ps)
<static>  
Simplicite.Tools.getRelMousePos(e)
<static>  
Simplicite.Tools.getViewPos()
<static>  
Simplicite.Tools.getViewSize()
<static>  
Simplicite.Tools.height(obj)
<static>  
Simplicite.Tools.httpCall(obj, type, url, params, onSuccess, onError, async, method, user, password)
<static>  
Simplicite.Tools.httpCallStateChange(obj, req, type, onSuccess, onError)
<static>  
Simplicite.Tools.info(text, popup)
<static>  
Simplicite.Tools.isArray(v)
<static>  
Simplicite.Tools.isCanvasSupported()
<static>  
Simplicite.Tools.isWithinNode(elem, id, clas, tag, obj)
<static>  
Simplicite.Tools.log(text, popup)
<static>  
Simplicite.Tools.posX(obj)
<static>  
Simplicite.Tools.posY(obj)
<static>  
Simplicite.Tools.screenshot(type)
<static>  
Simplicite.Tools.stopEvent(e)
<static>  
Simplicite.Tools.T(code)
<static>  
Simplicite.Tools.toFloat(v)
<static>  
Simplicite.Tools.toInt(v)
<static>  
Simplicite.Tools.urlEncodeParam(val)
<static>  
Simplicite.Tools.wait(ms)
<static>  
Simplicite.Tools.warning(text, popup)
<static>  
Simplicite.Tools.width(obj)
<static>  
Simplicite.Tools.windowHeight()
<static>  
Simplicite.Tools.windowWidth()
Class Detail
Simplicite.Tools()
Tools
Method Detail
<static> Simplicite.Tools.addClickEvent(el, f)
Parameters:
el
f

<static> Simplicite.Tools.addEvent(el, evnt, func)
Parameters:
el
evnt
func

<static> Simplicite.Tools.base64Decode(s)
Decode base64
Parameters:
s
Base64 encoded input string
Returns:
Decoded string

<static> Simplicite.Tools.base64Encode(input)
Encode to base64
Parameters:
input
Input string
Returns:
Base64 encoded string

<static> Simplicite.Tools.basicAuthString(user, password)
HTTP Basic auth header
Parameters:
user
User name
password
User password
Returns:
Authorization header

<static> Simplicite.Tools.contains(ar, obj)
Parameters:
ar
obj

<static> Simplicite.Tools.debug(text)
Parameters:
text

<static> Simplicite.Tools.error(text, e, popup)
Parameters:
text
e
popup

<static> Simplicite.Tools.fireEvent(el, evnt)
Parameters:
el
evnt

<static> Simplicite.Tools.freezeEvent(e)
Parameters:
e

<static> Simplicite.Tools.getElementPos(elt)
Parameters:
elt

<static> Simplicite.Tools.getElementSize(elt)
Parameters:
elt

<static> Simplicite.Tools.getEvent(e)
Parameters:
e

<static> Simplicite.Tools.getEventElement(e)
Parameters:
e

<static> Simplicite.Tools.getEventPosX(e)
Parameters:
e

<static> Simplicite.Tools.getEventPosY(e)
Parameters:
e

<static> Simplicite.Tools.getKeyCode(e)
Parameters:
e

<static> Simplicite.Tools.getPickerPos(elt, align, ps)
Parameters:
elt
align
ps

<static> Simplicite.Tools.getRelMousePos(e)
Parameters:
e

<static> Simplicite.Tools.getViewPos()

<static> Simplicite.Tools.getViewSize()

<static> Simplicite.Tools.height(obj)
Parameters:
obj

<static> Simplicite.Tools.httpCall(obj, type, url, params, onSuccess, onError, async, method, user, password)
Parameters:
obj
type
url
params
onSuccess
onError
async
method
user
password

<static> Simplicite.Tools.httpCallStateChange(obj, req, type, onSuccess, onError)
Parameters:
obj
req
type
onSuccess
onError

<static> Simplicite.Tools.info(text, popup)
Parameters:
text
popup

<static> Simplicite.Tools.isArray(v)
Parameters:
v

<static> Simplicite.Tools.isCanvasSupported()

<static> Simplicite.Tools.isWithinNode(elem, id, clas, tag, obj)
Parameters:
elem
id
clas
tag
obj

<static> Simplicite.Tools.log(text, popup)
Parameters:
text
popup

<static> Simplicite.Tools.posX(obj)
Parameters:
obj

<static> Simplicite.Tools.posY(obj)
Parameters:
obj

<static> Simplicite.Tools.screenshot(type)
Parameters:
type

<static> Simplicite.Tools.stopEvent(e)
Parameters:
e

<static> Simplicite.Tools.T(code)
Parameters:
code

<static> Simplicite.Tools.toFloat(v)
Parameters:
v

<static> Simplicite.Tools.toInt(v)
Parameters:
v

<static> Simplicite.Tools.urlEncodeParam(val)
Parameters:
val

<static> Simplicite.Tools.wait(ms)
Parameters:
ms

<static> Simplicite.Tools.warning(text, popup)
Parameters:
text
popup

<static> Simplicite.Tools.width(obj)
Parameters:
obj

<static> Simplicite.Tools.windowHeight()

<static> Simplicite.Tools.windowWidth()

Documentation generated by JsDoc Toolkit 2.3.2 on Tue Apr 10 2018 13:30:59 GMT+0200 (CEST)