Index

Classes

Class

Methods

Class Banana.Controls.Canvas


Extends Banana.UiControl.

Methods borrowed from class Banana.UiControl:
addControl, addCss, addCssClass, getAttribute, getAttributes, getClientId, getCss, getCssClass, getDimensions, getHtml, getHtmlAttributes, getState, getStyle, getStyleProperty, hasCssClass, registerEvents, removeAttribute, removeCssClass, removeState, setAttribute, setClientId, setCss, setEnabled, setState, setStyle, setVisible, switchCssClass, triggerEvent, unregisterEvents
Methods borrowed from class Banana.Control:
applyToChildren, bind, createComponents, findControl, generateUniqueId, getControls, getDomEventTypes, getFirstUiControl, getId, getPage, getParent, getProxy, hasBind, invalidateDisplay, onPreInvalidateContents, onWindowResize, remove, render, setId, setPage, setParent, unbind, unload, updateDisplay

Defined in: Canvas.js.

Class Detail
Banana.Controls.Canvas(type)

Creates a Html Canvas element

Parameters:
{String} type
of the canvas.
Method Detail
clear()

Clear the Canvas

Returns:
void
{Object} getContext()

Return the context of the canvas

Returns:
{Object}
getTagName()
Returns:
String The Tag Name of Canvas

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Dec 05 2012 22:01:30 GMT+0100 (CET)