platform-components-ng/projects/platform-components-lib/src/lib/components/meta/qpp-abstract-meta.ts
Abstract meta
Properties |
Methods |
| attributes |
Type : QppMetaAttribute[]
|
| collections |
Type : QppMetaCollection[]
|
|
Collections which are part of this Meta group |
| groups |
Type : QppMetaGroup[]
|
|
(Sub) Groups in a Meta Group |
| appendAttribute | ||||||||
appendAttribute(attr: QppMetaAttribute)
|
||||||||
|
Add an attribute in the Group
Parameters :
Returns :
void
|
| appendCollection | ||||||||
appendCollection(coll: QppMetaCollection)
|
||||||||
|
Add a collection in the Group
Parameters :
Returns :
void
void |
| appendGroup | ||||||||
appendGroup(grp: QppMetaGroup)
|
||||||||
|
Add a sub-group in the Group
Parameters :
Returns :
void
void |
| appendNewAttribute | |||||||||
appendNewAttribute(attrName, attrValues)
|
|||||||||
|
Add an new attribute, with specified name and values, to the Group
Parameters :
Returns :
void
void |
| isEmpty |
isEmpty()
|
|
Check if QXmlEditor.meta.Meta object is empty . A meta is considered empty if there is no Group/Collection/Attribute in it.
Returns :
boolean
boolean |
| removeAttribute | ||||||||
removeAttribute(attribute: string | QppMetaAttribute)
|
||||||||
|
Removes an Attribute meta object from its parent Group or Member
Parameters :
Returns :
void
void |
| removeCollection | ||||||||
removeCollection(collection: string | QppMetaCollection)
|
||||||||
|
Removes a Collection meta object from a parent Group or Member Meta Object.
Parameters :
Returns :
void
void |
| removeGroup | ||||||||
removeGroup(group: string | QppMetaGroup)
|
||||||||
|
Removes a Group meta object from a parent Group or Member meta object.
Parameters :
Returns :
void
void |