The TextField
is the granddaddy in a very large family of specialized Field
classes. It's another one of those base classes and as a result, you cannot create an instance of it. Instead, the TextField
is there to provide some basic architecture that all of the specialized classes will use. It handles getting the keystrokes from the operating system and adding them to the field as well as providing the standard label functionality. All of the other specialized functionality is handled by the specialized classes and are added in layers of complexity. By taking this approach, it allows you to choose the right level of features based on your needs. So, without further delay, let's move on!
As the name implies, the BasicEditField
is the most basic of the TextField
classes and is a base class to any field that can be edited. You can create instances of this class, but most often you would favor the slightly more specialized EditField
or PasswordEditField
classes. We will...