Package org.dellroad.stuff.vaadin8
Annotation Type FieldBuilder.AbstractTextField
-
@Retention(RUNTIME) @Target(METHOD) @Documented public static @interface FieldBuilder.AbstractTextField
Specifies how a Java property should be edited using aAbstractTextField.- See Also:
FieldBuilder.AbstractField,FieldBuilder
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description intmaxLengthGet the maximum length.StringplaceholderGet the placeholder.Class<? extends AbstractTextField>typeGet theAbstractTextFieldtype that will edit the property.ValueChangeModevalueChangeModeGet text change event mode.intvalueChangeTimeoutGet text change event timeout.
-
-
-
Element Detail
-
type
Class<? extends AbstractTextField> type
Get theAbstractTextFieldtype that will edit the property.- Returns:
- field type
- Default:
- com.vaadin.ui.AbstractTextField.class
-
-
-
placeholder
String placeholder
Get the placeholder.- Returns:
- placeholder
- See Also:
AbstractTextField.setPlaceholder(java.lang.String)
- Default:
- ""
-
-
-
valueChangeMode
ValueChangeMode valueChangeMode
Get text change event mode.- Returns:
- text change event mode
- See Also:
AbstractTextField.setValueChangeMode(com.vaadin.shared.ui.ValueChangeMode)
- Default:
- com.vaadin.shared.ui.ValueChangeMode.LAZY
-
-
-
valueChangeTimeout
int valueChangeTimeout
Get text change event timeout.- Returns:
- text change event timeout in seconds, or -1 to not override
- See Also:
AbstractTextField.setValueChangeTimeout(int)
- Default:
- -1
-
-
-
maxLength
int maxLength
Get the maximum length.- Returns:
- maximum length, or -1 to not override
- See Also:
AbstractTextField.setMaxLength(int)
- Default:
- -1
-
-