Module com.aoapps.hodgepodge
Package com.aoapps.hodgepodge.swing
package com.aoapps.hodgepodge.swing
-
ClassDescriptionAoTextField<T>Extends
JTextFieldwith the following features.Formats the type-specific value to text, only called for values that pass all registered validators.A text field containing anIntegervalue.Parses the non-null text into the type-specific value orOptional.empty()if field is empty or effectively empty (such as white-space only depending on parser).A text field containing aStringvalue without any trimming.A text field containing a trimmedString.Validates a non-null value.ImplementsDocumentListenersending all events to the givenRunnableon the swing event thread viaSwingUtilities.invokeLater(java.lang.Runnable).When requested, it will synchronize its list of elements to an externally- provided list.When requested, it will synchronize its list of elements to an externally- provided list.When requested, it will recursively synchronize its children to an externally- provided tree.
