Class Banana.Controls.Link
Extends
Banana.Controls.DataControl.
- Methods borrowed from class Banana.Controls.DataControl:
- dataSetBind, getData, setData, unDataSetBind
- 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, clear, createComponents, findControl, generateUniqueId, getControls, getDomEventTypes, getFirstUiControl, getId, getPage, getParent, getProxy, hasBind, invalidateDisplay, onPreInvalidateContents, onWindowResize, remove, render, setId, setPage, setParent, unbind, unload
Defined in: Link.js.
Class Detail
Banana.Controls.Link()
Creates a link control. The equivalent of href Use setHref to define a link and setText for the visible text. By default the link control does not have a target.
example use: var link = new Banana.Controls.Link(); link.setHref("http://foo.com"); link.setText("a link"); link.bind('click',function(){});
Method Detail