static class OTSControlPanel.RegexFormatter extends DefaultFormatter
$LastChangedDate: 2017-04-29 12:51:08 +0200 (Sat, 29 Apr 2017) $, @version $Revision: 3570 $, by $Author: averbraeck $,
initial version 2 dec. 2014
| Constructor and Description |
|---|
RegexFormatter(String pattern)
Create a new RegexFormatter.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
stringToValue(String text) |
String |
toString() |
clone, getAllowsInvalid, getCommitsOnValidEdit, getDocumentFilter, getNavigationFilter, getOverwriteMode, getValueClass, install, setAllowsInvalid, setCommitsOnValidEdit, setOverwriteMode, setValueClass, valueToStringgetActions, getFormattedTextField, invalidEdit, setEditValid, uninstallRegexFormatter(String pattern)
pattern - String; regular expression pattern that defines what this RexexFormatter will acceptpublic Object stringToValue(String text) throws ParseException
stringToValue in class DefaultFormatterParseExceptionCopyright © 2014–2017 Delft University of Technology. All rights reserved.