API / geotoolkit / data / DataBindingRegistry / DataBindingRegistry
data.DataBindingRegistry.DataBindingRegistry
Define DataBindingRegistry
↳
DataBindingRegistry
Constructors
Methods
▸ accept(node): boolean
Check if binding accept node
| Name | Type | Description |
|---|---|---|
node | Node | node to check |
boolean
▸ add(connector): DataBindingRegistry
Add a data connector
| Name | Type | Description |
|---|---|---|
connector | DataBinding | DataBindingObject | binding between node and data |
▸ bind(node, data): void
Unbind data
| Name | Type | Description |
|---|---|---|
node | Node | instance to apply the databinding to |
data | any | data to bind to the node |
void
▸ getClassName(): string
string
▸ getConnector(i): DataBinding | DataBindingObject
Return connector by index
| Name | Type | Description |
|---|---|---|
i | number | index of the node |
DataBinding | DataBindingObject
▸ getCount(): number
Return number of connectors
number
▸ remove(connector): DataBindingRegistry
Remove data connector
| Name | Type | Description |
|---|---|---|
connector | DataBinding | DataBindingObject | binding between node and data |
▸ unbind(node, data?): void
Disconnect data
| Name | Type | Description |
|---|---|---|
node | Node | instance to apply the databinding to |
Optional data | any | data to bind to the node |
void
▸ Static getClassName(): string
string
▸ Static getInstance(): DataBindingRegistry
Return default instance of the registry
registry