Package nl.gx.forms.wmpformapi.api
Interface BasicFormInputFragment
-
- All Superinterfaces:
BasicFormFragment
- All Known Subinterfaces:
BasicFormDateInputFragment
,BasicFormInputFragmentList
,BasicFormMultipleInputFragment
,BasicFormUploadFragment
,FormInputFragment
public interface BasicFormInputFragment extends BasicFormFragment
Basic interface for FormFragments that represent a value (as opposed to FormFragments that merely group other fragments or show static content.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<BasicFormLogicComponent>
getCustomValidators()
Returns the set of validator instances that were configured by the user.List<BasicFormLogicComponent>
getDefaultValidators()
Returns the set of validator instances that are always present for fields of the implemented type.String
getExtraText()
Returns the extra text associated with this BasicFormInputFragment.String
getHelpText()
Returns the help text associated with this BasicFormInputFragment.String
getPrefilling()
Returns the value that is to be prefilled in this BasicFormInputFragment.String
getPrefillingExpression()
Returns a JavaScript expression that is to be evaluated in order to determine the value that is to be prefilling in this BasicFormInputFragment.PrefillingMode
getPrefillingMode()
Returns the mode of prefilling for this form fragment.-
Methods inherited from interface nl.gx.forms.wmpformapi.api.BasicFormFragment
getFormFragmentContainer, getIdentifier, getName, getNestedPath, getParent, getPreconditionExpression
-
-
-
-
Method Detail
-
getDefaultValidators
List<BasicFormLogicComponent> getDefaultValidators()
Returns the set of validator instances that are always present for fields of the implemented type.- Returns:
- the list of default validator instances
-
getCustomValidators
List<BasicFormLogicComponent> getCustomValidators()
Returns the set of validator instances that were configured by the user.- Returns:
- the list of user configured validator instances
-
getPrefilling
String getPrefilling()
Returns the value that is to be prefilled in this BasicFormInputFragment.- Returns:
- the value that is to be prefilled
-
getPrefillingMode
PrefillingMode getPrefillingMode()
Returns the mode of prefilling for this form fragment.- Returns:
- the mode of prefilling for this form fragment
- See Also:
PrefillingMode
-
getPrefillingExpression
String getPrefillingExpression()
Returns a JavaScript expression that is to be evaluated in order to determine the value that is to be prefilling in this BasicFormInputFragment.- Returns:
- a JavaScript expression
-
getHelpText
String getHelpText()
Returns the help text associated with this BasicFormInputFragment.- Returns:
- the help text
-
getExtraText
String getExtraText()
Returns the extra text associated with this BasicFormInputFragment. How this text is used, depends on the presentation of the FormFragment.- Returns:
- the extra text
-
-