Home > Class Reference > ENSLIB namespace > %ZEN.Component.objectInspector

%ZEN.Component.objectInspector

class %ZEN.Component.objectInspector extends %ZEN.Component.dynaGrid

Displays contents of a given client component.
This is used by ZEN tools.

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter DEFAULTGRIDCLASS = inspectorGrid;
Subclasses can set this to change default css class used for grids.
parameter DEFAULTGRIDLABEL = Property;
Inherited description: Default value for the gridLabel property.
parameter DEFAULTROWLABELWIDTH = 150;
Inherited description: Default value for the rowLabelWidth property in pixels.

Properties (Including Private)

property currMember as %ZEN.Datatype.string (XMLPROJECTION = "none");
Client property that holds name of current property.
Property methods: currMemberDisplayToLogical(), currMemberGet(), currMemberIsValid(), currMemberLogicalToDisplay(), currMemberLogicalToOdbc(), currMemberNormalize(), currMemberSet(), currMemberTypeDisplayToLogical(), currMemberTypeGet(), currMemberTypeIsValid(), currMemberTypeLogicalToDisplay(), currMemberTypeLogicalToOdbc(), currMemberTypeNormalize(), currMemberTypeSet()
property currMemberType as %ZEN.Datatype.string (XMLPROJECTION = "none");
Client property that holds type of current property.
Property methods: currMemberTypeDisplayToLogical(), currMemberTypeGet(), currMemberTypeIsValid(), currMemberTypeLogicalToDisplay(), currMemberTypeLogicalToOdbc(), currMemberTypeNormalize(), currMemberTypeSet()
property idEditable as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, then the id property can be edited.
Property methods: idEditableDisplayToLogical(), idEditableGet(), idEditableIsValid(), idEditableLogicalToDisplay(), idEditableLogicalToOdbc(), idEditableLogicalToXSD(), idEditableNormalize(), idEditableSet(), idEditableXSDToLogical()
property onedit as %ZEN.Datatype.eventHandler;
onedit event handler:
This event is fired when the user presses the edit property button in the inspector. If not present, then the default action of launching the %ZEN.Dialog.componentValueEditor popup window is carried out.
Property methods: oneditDisplayToLogical(), oneditGet(), oneditIsValid(), oneditLogicalToDisplay(), oneditLogicalToOdbc(), oneditNormalize(), oneditSet(), oneditcellDisplayToLogical(), oneditcellGet(), oneditcellIsValid(), oneditcellLogicalToDisplay(), oneditcellLogicalToOdbc(), oneditcellNormalize(), oneditcellSet(), oneditkeydownDisplayToLogical(), oneditkeydownGet(), oneditkeydownIsValid(), oneditkeydownLogicalToDisplay(), oneditkeydownLogicalToOdbc(), oneditkeydownNormalize(), oneditkeydownSet(), oneditkeyupDisplayToLogical(), oneditkeyupGet(), oneditkeyupIsValid(), oneditkeyupLogicalToDisplay(), oneditkeyupLogicalToOdbc(), oneditkeyupNormalize(), oneditkeyupSet()
property onselect as %ZEN.Datatype.eventHandler;
onselect event handler: This event is fired when the user selects a property in the inspector.
Property methods: onselectDisplayToLogical(), onselectGet(), onselectIsValid(), onselectLogicalToDisplay(), onselectLogicalToOdbc(), onselectNormalize(), onselectSet(), onselectcellDisplayToLogical(), onselectcellGet(), onselectcellIsValid(), onselectcellLogicalToDisplay(), onselectcellLogicalToOdbc(), onselectcellNormalize(), onselectcellSet()
property readOnly as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, values in the inspector cannot be edited.
Property methods: readOnlyDisplayToLogical(), readOnlyGet(), readOnlyIsValid(), readOnlyLogicalToDisplay(), readOnlyLogicalToOdbc(), readOnlyLogicalToXSD(), readOnlyNormalize(), readOnlySet(), readOnlyXSDToLogical()
property showAll as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true show all properties of component, else just show settable properties.
Property methods: showAllDisplayToLogical(), showAllGet(), showAllIsValid(), showAllLogicalToDisplay(), showAllLogicalToOdbc(), showAllLogicalToXSD(), showAllNormalize(), showAllSet(), showAllXSDToLogical()

Methods (Including Private)

clientmethod acquireData() [ Language = javascript ]
Get the properties and values from the target object.
clientmethod applyValue(property, value) [ Language = javascript ]
Apply a value to the target object.
clientmethod dblClickHandler() [ Language = javascript ]
User double click on a cell.
clientmethod editMember(name) [ Language = javascript ]
User click on edit member button within inspector.
clientmethod getCellContents(data, r, c) [ Language = javascript ]
Prepares data for display within a given cell. If there is an ondrawcell() callback, it is invoked. This callback has a chance to chance the contents that will be displayed within the cell.
clientmethod getColumnInfo(c) [ Language = javascript ]
Return an object containing display information for column c (0-based).
clientmethod getCurrMember() [ Language = javascript ]
Return name of selected object member.
clientmethod getCurrMemberType() [ Language = javascript ]
Return type of selected object member.
clientmethod getCurrObject() [ Language = javascript ]
Return current object.
clientmethod getData(d1, d2, d3) [ Language = javascript ]
Return the data contained in the specified location. Location is 0-based;
clientmethod getDataSet() [ Language = javascript ]
Return the dataSet object associated with this grid. The inspector will serve as its own dataSet.
clientmethod getDimSize(dim) [ Language = javascript ]
Return the number of items in th