API / geotoolkit / schematics / factory / ComponentNodeProxyFactory / ComponentNodeProxyFactory
factory.ComponentNodeProxyFactory.ComponentNodeProxyFactory
ComponentNodeProxyFactory
↳
ComponentNodeProxyFactory
Constructors
• new ComponentNodeProxyFactory(parameter, componentNode?)
| Name | Type | Description |
|---|---|---|
parameter | AbstractComponentNodeFactory | (data?: Element) => ComponentNode | callback method to create an instance of a component node OR an instance of a component node factory to create the component node |
Optional componentNode | ComponentNode | reusable component node instance |
AbstractComponentNodeFactory.constructor
Methods
▸ createComponentNode(data?, forceCreateNewNode?, deepCopyData?): ComponentNodeProxy
Creates component node and return it.
| Name | Type | Description |
|---|---|---|
Optional data | Element | data to build the node of |
Optional forceCreateNewNode | boolean | if "true" brand new component node instance is placed in the proxy |
Optional deepCopyData | boolean | if "true" the data will be fully copied before set |
new proxy instance that incapsulates reusable component node instance
AbstractComponentNodeFactory.createComponentNode
▸ validGeometryData(geometryData): boolean
Validates geometry data. The implementation returns "true" always
| Name | Type | Description |
|---|---|---|
geometryData | Entity | geometry data to validate |
boolean