g = nelson.mixin.util.PropertyGroup(propertyList)
g = nelson.mixin.util.PropertyGroup(propertyList, title)
| Parameter | Description |
|---|---|
| propertyList | cell array of property names. |
| title | optional group title (char or string). |
| Parameter | Description |
|---|---|
| g | a scalar nelson.mixin.util.PropertyGroup. |
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.
g = nelson.mixin.util.PropertyGroup({'X', 'Y'}, 'Coordinates');
g.Title
g.NumProperties
| Version | Description |
|---|---|
| 2.0.0 | initial version |