Definition and construction of form elements determined by JSON Schemas.
- Source:
Classes
Methods
(inner) buildArray(fe) → {module:childApplicators~ArrayHandler}
Builds the form element content of an array
-typed JSON Schema.
Parameters:
Name | Type | Description |
---|---|---|
fe |
module:formElement~FormElement | The form element which the content component will be built for. |
- Source:
Returns:
The component handling the
array
-typed JSON Schema.
(inner) buildBoolean(fe) → {module:components~InputComponent}
Builds the form element content of a boolean
-typed JSON Schema.
Parameters:
Name | Type | Description |
---|---|---|
fe |
module:formElement~FormElement | The form element which the content component will be built for. |
- Source:
Returns:
The component presenting an input
control for the boolean
-typed JSON Schema.
(inner) buildContent(fe) → {module:components~Component}
Builds the form element content based on its associated JSON Schema.
Parameters:
Name | Type | Description |
---|---|---|
fe |
module:formElement~FormElement | The form element which the content component will be built for. |
- Source:
Returns:
The content component.
(inner) buildEnum(fe) → {module:components~InputComponent}
Builds the form element content of an enum
JSON Schema.
Parameters:
Name | Type | Description |
---|---|---|
fe |
module:formElement~FormElement | The form element which the content component will be built for. |
- Source:
Returns:
The component presenting an input
control for the enum
JSON Schema.
(inner) buildNull() → {module:components~Component}
Builds the form element content of a null
-typed JSON Schema.
- Source:
Returns:
The component presenting the null
-typed JSON Schema.
(inner) buildNumber(fe) → {module:components~InputComponent}
Builds the form element content of a number
-typed JSON Schema.
Parameters:
Name | Type | Description |
---|---|---|
fe |
module:formElement~FormElement | The form element which the content component will be built for. |
- Source:
Returns:
The component presenting an input
control for the number
-typed JSON Schema.
(inner) buildObject(fe) → {module:childApplicators~ObjectHandler}
Builds the form element content of an object
-typed JSON Schema.
Parameters:
Name | Type | Description |
---|---|---|
fe |
module:formElement~FormElement | The form element which the content component will be built for. |
- Source:
Returns:
The component handling the
object
-typed JSON Schema.
(inner) buildSelectors(fe) → {module:selectors~SelectorsContainer}
Builds the selector toolbars that allow to choose among the possible JSON Schema materializations regarding its in-place applicators.
Parameters:
Name | Type | Description |
---|---|---|
fe |
module:formElement~FormElement | The form element which the selector toolbar will be built for. |
- Source:
Modifies:
Returns:
The container handling the selector toolbars.
(inner) buildString(fe) → {module:components~InputComponent}
Builds the form element content of a string
-typed JSON Schema.
Parameters:
Name | Type | Description |
---|---|---|
fe |
module:formElement~FormElement | The form element which the content component will be built for. |
- Source:
Returns:
The component presenting an input
control for the string
-typed JSON Schema.
(inner) buildTitle(fe) → {module:components~Component}
Builds a title component.
Parameters:
Name | Type | Description |
---|---|---|
fe |
module:formElement~FormElement | The form element which the title will be built for. |
- Source:
Returns:
The title component.
(inner) buildTitleIcon(fe) → {module:components~Component}
Builds a title icon component.
Parameters:
Name | Type | Description |
---|---|---|
fe |
module:formElement~FormElement | The form element which the title icon will be built for. |
- Source:
Returns:
The title icon component.
(inner) setLabelReference(fe)
Sets the title label of a form element to point to its referred input control.
Parameters:
Name | Type | Description |
---|---|---|
fe |
module:formElement~FormElement | The form element which the content component will be built for. |
- Source: