DataItemContainer
Extends:
The purpose of DataItemContainer is to hold one or more child data items and manage the hidden, suppressed, and disabled props for all of it's children.
Constructor Summary
Public Constructor | ||
public |
constructor(dataName: string) Constructor |
Member Summary
Public Members | ||
public |
addDataItem(dataItem: DataItem): * Function that adds a new data item to the data item container. |
|
public |
getDataItem(name: string): DataItem: * Function that returns the data item matching the name parameter, if it exists. |
|
public |
getDataItems: Array: * Function that returns all child data items. |
|
public |
getDisabled: boolean: * Function that returns whether or not any UI element bound to this data item will be disabled for edit; effectively read only. |
|
public |
Function that returns whether or not any UI element bound to this data item will be hidden. |
|
public |
removeDataItem(name: string): * Function that removes the data item matching the name parameter, if it exists. |
|
public |
setDisabled(disabled: boolean): * Function that changes whether or not any of the children of the data item container will be disabled for edit; effectively read only. |
|
public |
Function that allows you to change the visibility of any children of the data item container. |
|
public |
Function that serializes the data item's value into xml for persistence. This one differs from most in that it allows serialization into a cdata section. |
Public Constructors
Public Members
public addDataItem(dataItem: DataItem): * source
Function that adds a new data item to the data item container.
public getDataItem(name: string): DataItem: * source
Function that returns the data item matching the name parameter, if it exists.
public getDisabled: boolean: * source
Function that returns whether or not any UI element bound to this data item will be disabled for edit; effectively read only.
public getHidden(test: string): boolean: * source
Function that returns whether or not any UI element bound to this data item will be hidden.
public removeDataItem(name: string): * source
Function that removes the data item matching the name parameter, if it exists.
public setDisabled(disabled: boolean): * source
Function that changes whether or not any of the children of the data item container will be disabled for edit; effectively read only.