Klasse FWTextField

Alle implementierten Schnittstellen:
FocusListener, MouseListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, DocumentListener, Scrollable, SwingConstants

public class FWTextField extends JTextField implements MouseListener, FocusListener, DocumentListener
This class add the possibility to JTextField to lock the number of character in field to a max length.
Autor:
Andreas Enders
Siehe auch:
  • Felddetails

    • LITTLE_TEXTSIZE

      public static final int LITTLE_TEXTSIZE
      This constant represents the size of a little text.
      Siehe auch:
    • NORMAL_TEXTSIZE

      public static final int NORMAL_TEXTSIZE
      This constant represents the size of a normal sized text.
      Siehe auch:
    • BIG_TEXTSIZE

      public static final int BIG_TEXTSIZE
      This constant represents the size of a big text.
      Siehe auch:
    • UNLIMITED_TEXTSIZE

      public static final int UNLIMITED_TEXTSIZE
      This constant represents the unlimited size.
      Siehe auch:
    • FILE_TEXTSIZE

      public static final int FILE_TEXTSIZE
      This size for filepaths.
      Siehe auch:
    • DEFAULT_TEXTSIZE

      public static final int DEFAULT_TEXTSIZE
      This constant represents the defaultvalue, that will be choosen when the developer has called the default constructor.
      Siehe auch:
  • Konstruktordetails

    • FWTextField

      public FWTextField(boolean aRequiredBorder)
      Default constructor. Sets the default-textsize to this field.
    • FWTextField

      public FWTextField(String aString, int aMaxSize, boolean aRequiredBorder)
      Default constructor. Sets the default-textsize to this field.
    • FWTextField

      public FWTextField(int aMaxSize, boolean aRequiredBorder)
      This construcotr has the maxsize as parameter. This allows the developer to choose a size different from the default.
    • FWTextField

      public FWTextField(int aMaxSize, int aMaxInput, boolean aRequiredBorder)
      This construcotr has the maxsize and the maxInput as parameter. This allows the developer separate the MaxSize and the max. input of letters
    • FWTextField

      public FWTextField(String aString, int aMaxSize, int aMaxInput, boolean aRequiredBorder)
      This construcotr has the maxsize and the maxInput as parameter. This allows the developer separate the MaxSize and the max. input of letters
    • FWTextField

      public FWTextField(String aString, int aMaxSize, int aMaxInput, boolean aRequiredBorder, String aRegularExpression)
      This construcotr has the maxsize and the maxInput as parameter. This allows the developer separate the MaxSize and the max. input of letters
  • Methodendetails