This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Caché & Ensemble 2018.1.5 > Class Reference > ENSLIB namespace > %ZEN.Component.buttonBarItem

%ZEN.Component.buttonBarItem

class %ZEN.Component.buttonBarItem extends %ZEN.Component.component

%ZEN.Component.buttonBarItem

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter INCLUDEFILES = zenCSLM.js,zenMenus.js;
Inherited description: 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.

Properties (Including Private)

property caption as %ZEN.Datatype.string;
If defined, roll over tooltip to display when button is enabled
Property methods: captionDisplayToLogical(), captionGet(), captionIsValid(), captionLogicalToDisplay(), captionLogicalToOdbc(), captionNormalize(), captionSet()
property icon as %ZEN.Datatype.uri;
URI of image to display under normal conditions.
Property methods: iconDisabledDisplayToLogical(), iconDisabledGet(), iconDisabledIsValid(), iconDisabledLogicalToDisplay(), iconDisabledLogicalToOdbc(), iconDisabledNormalize(), iconDisabledSet(), iconDisplayToLogical(), iconGet(), iconIsValid(), iconLogicalToDisplay(), iconLogicalToOdbc(), iconNormalize(), iconSet()
property iconDisabled as %ZEN.Datatype.uri;
URI of image to display when option is grayed-out.
Property methods: iconDisabledDisplayToLogical(), iconDisabledGet(), iconDisabledIsValid(), iconDisabledLogicalToDisplay(), iconDisabledLogicalToOdbc(), iconDisabledNormalize(), iconDisabledSet()
property onclick as %ZEN.Datatype.eventHandler;
onclick event handler: This event is fired when the mouse is clicked on the buttonBarItem.
Property methods: onclickDisplayToLogical(), onclickGet(), onclickIsValid(), onclickLogicalToDisplay(), onclickLogicalToOdbc(), onclickNormalize(), onclickSet()

Methods (Including Private)

method %DrawHTML()
Inherited description: 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.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback