class %ZEN.Component.button
extends control
Button control.
This is a wrapper around the HTML input=button control.
The text displayed within the button is defined by the caption property.
Typically an application will set the onclick property
(inherited from the control) of the button to
a JavaScript expression that is executed when the user clicks the button.
parameter DEFAULTCONTROLCLASS = "button";
The default css class used for the main element within this control. This
is overridden by subclasses.
property caption
as %ZEN.Datatype.caption(ZENEXPRESSION=1);
Caption displayed for this button.
This is a localized value.
method %DrawHTML()
Static HTML display method: draw the BODY of this component
as HTML.
Subclasses implement this in order to render the static HTML
contents of a component.
method %SetDefaultValues()
This method fills in reasonable default values for
this control. Used by tools (such as Control Tester) to
dynamically create controls.
method setProperty(property, value, value2)
[ Language = javascript ]
Set the value of a named property.