Annotation Type Width


Defines the desired width of the field used to edit the property. Note that width (generally equivalent to the size attribute of an HTML <input> element) is only used for presentation; validation must be used to actually enforce a maximum input length. May be placed on an getter or setter method, or on the matching field.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    The width used to display the field for the property (values less than one indicate unspecified).
  • Element Details

    • value

      int value
      The width used to display the field for the property (values less than one indicate unspecified).