Class AoTextField<T>

Type Parameters:
T - The type for parsing, validation, and re-formatting.
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, SwingConstants
Direct Known Subclasses:
AoTextField.Integer, AoTextField.String, AoTextField.TrimmedString

public class AoTextField<T> extends JTextField
Extends JTextField with the following features.
  1. Automatic selection when gains focus.
  2. Parsing to the given type.
  3. Registrable value validators once parsing completes.
  4. Re-formatting once parsing successful and all validators have passed.

TODO: Should we extend JFormattedTextField instead? Are we duplicating too much of what it already provides?

Author:
AO Industries, Inc.
See Also: