utyButtonBase Class Reference
[Javascript Widgets (utywidgets.js)]

Javascript simple button widget. More...

Inheritance diagram for utyButtonBase:
utyWidget utyButton utyListviewColumn

List of all members.

Public Member Functions

function utyButtonBase (id, onclick)
function click (element, event)
function toString ()

Public Attributes

 onclick

Detailed Description

Javascript simple button widget.

See also:
uty_imgbutton, uty_imgsubmit

Constructor & Destructor Documentation

function utyButtonBase (   id,
  onclick 
) [inline]

INTERNAL object constructor

Parameters:
id (string) the domNode element id associated to this objct
onclick javascript expression

Member Function Documentation

function click (   element,
  event 
) [inline]

INTERNAL onclick event handler

Reimplemented in utyListviewColumn.

function toString (  )  [inline]
Returns:
"utyButtonBase"

Reimplemented from utyWidget.

Reimplemented in utyButton, and utyListviewColumn.


Member Data Documentation

(string) Javascript expression to execute in response to the click event

Note:
Returns what you specified in the espression. e.g.: "return prompt('insert a value', '');".

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Enumerations

Copyright © 2010 Attilio Pavone - www.utillyty.eu