Package org.dellroad.stuff.vaadin8
Annotation Type FieldBuilder.DateTimeField
-
@Retention(RUNTIME) @Target(METHOD) @Documented public static @interface FieldBuilder.DateTimeField
Specifies how a Java property should be edited using anDateTimeField.- See Also:
FieldBuilder.AbstractDateField,FieldBuilder
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringassistiveTextGet the assistive text.StringplaceholderGet the placeholder.booleantextFieldEnabledGet whether text field is enabled.Class<? extends DateTimeField>typeGet theDateTimeFieldtype that will edit the property.
-
-
-
Element Detail
-
type
Class<? extends DateTimeField> type
Get theDateTimeFieldtype that will edit the property. Type must have a no-arg constructor.- Returns:
- field type
- Default:
- com.vaadin.ui.DateTimeField.class
-
-
-
textFieldEnabled
boolean textFieldEnabled
Get whether text field is enabled.- Returns:
- true for text field enabled
- See Also:
DateTimeField.setTextFieldEnabled(boolean)
- Default:
- true
-
-
-
placeholder
String placeholder
Get the placeholder.- Returns:
- placeholder
- See Also:
DateTimeField.setPlaceholder(java.lang.String)
- Default:
- ""
-
-
-
assistiveText
String assistiveText
Get the assistive text.- Returns:
- assistive text
- See Also:
DateTimeField.setAssistiveText(java.lang.String)
- Default:
- ""
-
-