class %ZEN.Component.buttonBarItem
extends component
%ZEN.Component.buttonBarItem
parameter INCLUDEFILES = "zenCSLM.js,zenMenus.js";
CSV list of additional include files (either .js or .css) that
should be included when this component is used on a page.
By default, the file extension (.js or .css) is used to determine whether an
item in the list is a script include or a style include. You can override
this behavior by adding the terms "script:" or "style:" to the beginning of
the file name or names. This prefix is not used as part of the include filename.
property caption
as %ZEN.Datatype.string;
If defined, roll over tooltip to display when button is enabled
property icon
as %ZEN.Datatype.uri;
URI of image to display under normal conditions.
property iconDisabled
as %ZEN.Datatype.uri;
URI of image to display when option is grayed-out.
property onclick
as %ZEN.Datatype.eventHandler;
onclick event handler:
This event is fired when the mouse is clicked on the buttonBarItem.
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 setProperty(property, value, value2)
[ Language = javascript ]
Set the value of a named property.