Class HexIntegerFormatter
java.lang.Object
javax.swing.JFormattedTextField.AbstractFormatter
javax.swing.text.DefaultFormatter
javax.swing.text.InternationalFormatter
javax.swing.text.NumberFormatter
docking.widgets.numberformat.IntegerFormatter
docking.widgets.numberformat.HexIntegerFormatter
- All Implemented Interfaces:
Serializable, Cloneable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classNested classes/interfaces inherited from class IntegerFormatter
IntegerFormatter.PosiviteValueIntegerDocumentFilterWrapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DocumentFilterstringToValue(String text) valueToString(Object value) Overridden to translate the internal value to a hex representation.Methods inherited from class IntegerFormatter
getDocumentFilter, getOriginalDocumentFilterMethods inherited from class NumberFormatter
setFormatMethods inherited from class InternationalFormatter
clone, getActions, getFields, getFormat, getMaximum, getMinimum, install, setMaximum, setMinimumMethods inherited from class DefaultFormatter
getAllowsInvalid, getCommitsOnValidEdit, getNavigationFilter, getOverwriteMode, getValueClass, setAllowsInvalid, setCommitsOnValidEdit, setOverwriteMode, setValueClassMethods inherited from class JFormattedTextField.AbstractFormatter
getFormattedTextField, invalidEdit, setEditValid, uninstall
-
Constructor Details
-
HexIntegerFormatter
public HexIntegerFormatter()
-
-
Method Details
-
createDocumentFilter
- Overrides:
createDocumentFilterin classIntegerFormatter
-
stringToValue
- Overrides:
stringToValuein classInternationalFormatter- Throws:
ParseException
-
valueToString
Overridden to translate the internal value to a hex representation.- Overrides:
valueToStringin classInternationalFormatter- Throws:
ParseException
-