java.lang.Object
com.tlcsdm.core.javafx.util.TextFormatterUtil
This class provides simple tools for setting up JavaFX UI control text formatter such as
TextInputControl.setTextFormatter(TextFormatter).- 作者:
- unknowIfGuestInDream
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static javafx.scene.control.TextFormatter<String> static javafx.scene.control.TextFormatter<String> ipAddressTextFormatter(String defaultValue) private static Stringstatic javafx.scene.control.TextFormatter<String> maxLengthTextFormatter(int maxCharacters)
-
字段详细资料
-
ipAddressRegex
-
-
构造器详细资料
-
TextFormatterUtil
public TextFormatterUtil()
-
-
方法详细资料
-
ipAddressTextFormatter
- 返回:
- a TextFormatter that ensures proper formatting of an IP address.
-
ipAddressTextFormatter
-
makePartialIPRegex
-
maxLengthTextFormatter
- 返回:
- a TextFormatter that ensures the amount of characters in a text is less or equal the specified amount.
-