首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 对于Vaadin数字文本字段添加

对于Vaadin数字文本字段添加

  • 资源大小:25.39 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: addon Vaadin numberfield numericfield

资 源 简 介

NumberField Vaadin add-on What it is NumberField provides a numeric text field with automatic keystroke filtering and validation for integer (123) and decimal numbers (12.3). The minus sign and user-definable grouping and decimal separators are supported. Inputs are validated on client- and server-side. The client-side validator gets active on every keypress in the field. If the keypress would lead to an invalid value, it is suppressed and the value remains unchanged. The server-side validation is triggered when the field loses focus. An user-entered value is formatted automatically when the field"s focus is lost. NumberField uses DecimalFormat for formatting and send the formatted value of the input back to client. There"s a number of setters to define the format, see the code example below for a general view.

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP