Class: IControl¶
Hierarchy¶
-
IControl
Summary¶
Properties¶
Class Properties¶
Currently none in this class.
Inherited Properties¶
Accessors¶
Class Accessors¶
Inherited Accessors¶
Currently none inherited from the parent class(es).
Methods¶
Class Methods¶
- container
- formatRule
- getValue
- observable
- onDataChanged
- page
- pageFrameId
- redraw
- setContainer
- setStyle
- setValidationProperty
- setValue
- viewIsNative
Inherited Methods¶
Accessors¶
builder¶
• builder:
controlProxy¶
• controlProxy:
isControl¶
• isControl:
isFormCell¶
• isFormCell:
type¶
• type:
Methods¶
container¶
▸ container(): ContainerDefinition
Returns: ContainerDefinition
The control's container.
formatRule¶
▸ formatRule(): any
Returns: any
The control's format rule path.
getValue¶
▸ getValue(): any
Returns: any
The control's value.
Abstract observable¶
▸ observable(): IObservable
Returns: IObservable
- IObservable implementation.
onDataChanged¶
▸ onDataChanged(action: any, result: any): void
Parameters:
| Name | Type |
|---|---|
action |
any |
result |
any |
Returns: void
page¶
▸ page(): any
Returns: any
The control's page.
pageFrameId¶
▸ pageFrameId(): any
Returns: any
The control's page.
redraw¶
▸ redraw(): void
Returns: void
Abstract setContainer¶
▸ setContainer(container: IControl): any
Parameters:
| Name | Type |
|---|---|
container |
IControl |
Returns: any
setStyle¶
▸ setStyle(cssClassName?: string): void
Parameters:
| Name | Type |
|---|---|
cssClassName? |
string |
Returns: void
setValidationProperty¶
▸ setValidationProperty(key: string, value: any): void
Parameters:
| Name | Type | Description |
|---|---|---|
key |
string | The validation property's key |
value |
any | The value |
Returns: void
Abstract setValue¶
▸ setValue(value: any, notify: boolean, isTextValue?: boolean): Promise‹any›
Parameters:
| Name | Type |
|---|---|
value |
any |
notify |
boolean |
isTextValue? |
boolean |
Returns: Promise‹any›
viewIsNative¶
▸ viewIsNative(): boolean
Overrides IView.viewIsNative
Returns: boolean
- true if it is a custom native view, false if not.