Package org.dellroad.stuff.vaadin7
Annotation Type FieldBuilder.DateField
-
@Retention(RUNTIME) @Target(METHOD) @Documented public static @interface FieldBuilder.DateField
Specifies how a Java property should be edited in Vaadin using anDateField.- See Also:
FieldBuilder.AbstractField,FieldBuilder
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringdateFormatGet the date format string.StringdateOutOfRangeMessageGet the date out of range error message.booleanlenientGet lenient mode.StringparseErrorMessageGet the date parse error message.ResolutionresolutionGet the date resolution.booleanshowISOWeekNumbersGet whether to show ISO week numbers.StringtimeZoneGet the time zone (in string form).Class<? extends DateField>typeGet theDateFieldtype that will edit the property.
-
-
-
-
dateFormat
String dateFormat
Get the date format string.- Returns:
- date format string
- See Also:
DateField.setDateFormat(java.lang.String)
- Default:
- ""
-
-
-
parseErrorMessage
String parseErrorMessage
Get the date parse error message.- Returns:
- date parse error message
- See Also:
DateField.setParseErrorMessage(java.lang.String)
- Default:
- ""
-
-
-
dateOutOfRangeMessage
String dateOutOfRangeMessage
Get the date out of range error message.- Returns:
- date out of range error message
- See Also:
DateField.setDateOutOfRangeMessage(java.lang.String)
- Default:
- ""
-
-
-
resolution
Resolution resolution
Get the date resolution.- Returns:
- date resolution
- See Also:
DateField.setResolution(com.vaadin.shared.ui.datefield.Resolution)
- Default:
- com.vaadin.shared.ui.datefield.Resolution.DAY
-
-
-
showISOWeekNumbers
boolean showISOWeekNumbers
Get whether to show ISO week numbers.- Returns:
- whether to show ISO week numbers
- See Also:
DateField.setShowISOWeekNumbers(boolean)
- Default:
- false
-
-
-
timeZone
String timeZone
Get the time zone (in string form).- Returns:
- time zone name
- See Also:
DateField.setTimeZone(java.util.TimeZone)
- Default:
- ""
-
-
-
lenient
boolean lenient
Get lenient mode.- Returns:
- true for lenient mode
- See Also:
DateField.setLenient(boolean)
- Default:
- false
-
-