Class InputStringFormBuilder<T extends InputStringFormElement,SELF extends InputStringFormBuilder<T,SELF>>  
java.lang.Object
io.micronaut.views.fields.elements.InputStringFormBuilder<T,SELF> 
- Type Parameters:
- T- The type of the InputStringFormElement
- SELF- The type of the subclassed builder
- Direct Known Subclasses:
- InputEmailFormElement.Builder,- InputPasswordFormElement.Builder,- InputTelFormElement.Builder,- InputTextFormElement.Builder,- InputUrlFormElement.Builder
public abstract class InputStringFormBuilder<T extends InputStringFormElement,SELF extends InputStringFormBuilder<T,SELF>>  
extends Object
Base builder class for all InputStringFormElement builders.
- Since:
- 4.1.0
- Author:
- Tim Yates
- 
Field SummaryFieldsModifier and TypeFieldDescriptionInput Errors.protected StringIt defines an identifier (ID) which must be unique in the whole document.protected Messagemessage for an HTML Label element.protected NumberThe maximum string length that the user can enter into the text input.protected NumberThe minimum string length that the user can enter into the text input.protected StringName of the form control.protected StringThe pattern attribute, when specified, is a regular expression that the input's value must match for the value to pass constraint validation.protected StringThe placeholder attribute is a string that provides a brief hint to the user as to what kind of information is expected in the field.protected booleanA Boolean attribute which, if present, means this field cannot be edited by the user.protected booleanIf true indicates that the user must specify a value for the input before the owning form can be submitted.protected IntegerThe size attribute is a numeric value indicating how many characters wide the input field should be.protected Stringthe input value.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
nameName of the form control. Submitted with the form as part of a name/value pair.
- 
idIt defines an identifier (ID) which must be unique in the whole document.
- 
placeholderThe placeholder attribute is a string that provides a brief hint to the user as to what kind of information is expected in the field.
- 
requiredprotected boolean requiredIf true indicates that the user must specify a value for the input before the owning form can be submitted.
- 
readOnlyprotected boolean readOnlyA Boolean attribute which, if present, means this field cannot be edited by the user.
- 
maxLengthThe maximum string length that the user can enter into the text input.
- 
minLengthThe minimum string length that the user can enter into the text input.
- 
sizeThe size attribute is a numeric value indicating how many characters wide the input field should be.
- 
patternThe pattern attribute, when specified, is a regular expression that the input's value must match for the value to pass constraint validation.
- 
valuethe input value.
- 
errorsInput Errors.
- 
labelmessage for an HTML Label element.
 
- 
- 
Constructor Details- 
InputStringFormBuilderpublic InputStringFormBuilder()
 
- 
- 
Method Details- 
pattern- Parameters:
- pattern- The pattern attribute, when specified, is a regular expression that the input's value must match for the value to pass constraint validation.
- Returns:
- The Builder
 
- 
required- Parameters:
- required- If true indicates that the user must specify a value for the input before the owning form can be submitted.
- Returns:
- the Builder
 
- 
readOnly- Parameters:
- readOnly- A Boolean attribute which, if present, means this field cannot be edited by the user.
- Returns:
- the Builder
 
- 
size- Parameters:
- size- The size attribute is a numeric value indicating how many characters wide the input field should be.
- Returns:
- The Builder
 
- 
maxLength- Parameters:
- maxLength- The maximum string length that the user can enter into the text input.
- Returns:
- The Builder
 
- 
minLength- Parameters:
- minLength- The minimum string length that the user can enter into the text input.
- Returns:
- The Builder
 
- 
name- Parameters:
- name- Name of the form control. Submitted with the form as part of a name/value pair
- Returns:
- the Builder
 
- 
id- Parameters:
- id- It defines an identifier (ID) which must be unique in the whole document
- Returns:
- The Builder
 
- 
placeholder- Parameters:
- placeholder- The placeholder attribute is a string that provides a brief hint to the user as to what kind of information is expected in the field.
- Returns:
- the Builder
 
- 
value- Parameters:
- value- The value attribute of the input element
- Returns:
- the Builder
 
- 
label- Parameters:
- label- represents a caption for an item in a user interface
- Returns:
- the Builder
 
- 
errors- Parameters:
- errors- Form element validation Errors.
- Returns:
- The builder
 
- 
build- Returns:
- Creates a InputTelFormElement.
 
 
-