Package docking.widgets.textfield
Class HexIntegerFormatter
- java.lang.Object
- 
- javax.swing.JFormattedTextField.AbstractFormatter
- 
- javax.swing.text.DefaultFormatter
- 
- javax.swing.text.InternationalFormatter
- 
- javax.swing.text.NumberFormatter
- 
- docking.widgets.textfield.IntegerFormatter
- 
- docking.widgets.textfield.HexIntegerFormatter
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable
 
 public class HexIntegerFormatter extends IntegerFormatter - See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected static classHexIntegerFormatter.HexAllowedPositiveValueIntgerDocumentFilterWrapper- 
Nested classes/interfaces inherited from class docking.widgets.textfield.IntegerFormatterIntegerFormatter.PosiviteValueIntegerDocumentFilterWrapper
 
- 
 - 
Constructor SummaryConstructors Constructor Description HexIntegerFormatter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.swing.text.DocumentFiltercreateDocumentFilter()java.lang.ObjectstringToValue(java.lang.String text)java.lang.StringvalueToString(java.lang.Object value)Overridden to translate the internal value to a hex representation.- 
Methods inherited from class docking.widgets.textfield.IntegerFormattergetDocumentFilter, getOriginalDocumentFilter
 - 
Methods inherited from class javax.swing.text.InternationalFormatterclone, getActions, getFields, getFormat, getMaximum, getMinimum, install, setMaximum, setMinimum
 - 
Methods inherited from class javax.swing.text.DefaultFormattergetAllowsInvalid, getCommitsOnValidEdit, getNavigationFilter, getOverwriteMode, getValueClass, setAllowsInvalid, setCommitsOnValidEdit, setOverwriteMode, setValueClass
 
- 
 
- 
- 
- 
Method Detail- 
createDocumentFilterprotected javax.swing.text.DocumentFilter createDocumentFilter() - Overrides:
- createDocumentFilterin class- IntegerFormatter
 
 - 
stringToValuepublic java.lang.Object stringToValue(java.lang.String text) throws java.text.ParseException- Overrides:
- stringToValuein class- javax.swing.text.InternationalFormatter
- Throws:
- java.text.ParseException
 
 - 
valueToStringpublic java.lang.String valueToString(java.lang.Object value) throws java.text.ParseExceptionOverridden to translate the internal value to a hex representation.- Overrides:
- valueToStringin class- javax.swing.text.InternationalFormatter
- Throws:
- java.text.ParseException
 
 
- 
 
-