nelson.mixin.util.PropertyGroup
A titled group of properties for custom object display.
📝Syntax
g = nelson.mixin.util.PropertyGroup(propertyList)
g = nelson.mixin.util.PropertyGroup(propertyList, title)
📥Input Arguments
Parameter Description
propertyList cell array of property names.
title optional group title (char or string).
📤Output Arguments
Parameter Description
g a scalar nelson.mixin.util.PropertyGroup.
📄Description

nelson.mixin.util.PropertyGroup groups object properties for display. A getPropertyGroups method of a nelson.mixin.CustomDisplay subclass returns an array of property groups, each rendered with its title followed by its properties.

Properties: Title, PropertyList and the read-only NumProperties.

💡Examples
Create a property group.
g = nelson.mixin.util.PropertyGroup({'X', 'Y'}, 'Coordinates');
g.Title
g.NumProperties
🔗See Also
nelson.mixin.CustomDisplay
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub