DescendantEntityProviderComponent<Parent, Descendant>
Extends
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
Parent | any |
Descendant | any |
Constructors
Constructor
new DescendantEntityProviderComponent<Parent, Descendant>(options): DescendantEntityProviderComponent<Parent, Descendant>;
Parameters
| Parameter | Type |
|---|---|
options | DescendantEntityProviderComponentOptions<Parent, Descendant> |
Returns
DescendantEntityProviderComponent<Parent, Descendant>
Overrides
EntityDefinitionComponent.constructor
Properties
| Property | Modifier | Type | Default value | Inherited from |
|---|---|---|---|---|
cache | public | Map<AbstractEntityTreePresenterContext<Descendant, EntityTreePresenterSettings>, ReactorTreeNode<ReactorTreeNodeListener>> | undefined | - |
definition | public | EntityDefinition | undefined | EntityDefinitionComponent.definition |
type | public | string | undefined | EntityDefinitionComponent.type |
TYPE | static | string | 'descendant-entity-provider' | - |
Accessors
actionStore
comboBoxStore
descendantType
Get Signature
get descendantType(): string;
Returns
string
system
Get Signature
get system(): System;
Returns
Inherited from
EntityDefinitionComponent.system
Methods
generateTreeNode()
generateTreeNode(descendantOptions): ReactorTreeNode<ReactorTreeNodeListener>;
Parameters
| Parameter | Type |
|---|---|
descendantOptions | DescendantEntityGeneratedOptions<Descendant> & { parent: Parent; } |
Returns
ReactorTreeNode<ReactorTreeNodeListener>
getDescendantOptions()
getDescendantOptions(entity): DescendantEntityGeneratedOptions<Descendant>;
Parameters
| Parameter | Type |
|---|---|
entity | Parent |
Returns
DescendantEntityGeneratedOptions<Descendant>
getReactorTreeEntities()
getReactorTreeEntities(entity, context): {
entities: ReactorTreeEntity[];
options: DescendantEntityGeneratedOptions<Descendant>;
};
Parameters
| Parameter | Type |
|---|---|
entity | Parent |
context | AbstractEntityTreePresenterContext<Descendant> |
Returns
{
entities: ReactorTreeEntity[];
options: DescendantEntityGeneratedOptions<Descendant>;
}
| Name | Type |
|---|---|
entities | ReactorTreeEntity[] |
options | DescendantEntityGeneratedOptions<Descendant> |
installParentNode()
installParentNode(parent, descendantOptions): () => void;
Parameters
| Parameter | Type |
|---|---|
parent | ReactorTreeNode |
descendantOptions | DescendantEntityGeneratedOptions<Descendant> |
Returns
() => void
setDefinition()
setDefinition(definition): void;
Parameters
| Parameter | Type |
|---|---|
definition | EntityDefinition |
Returns
void