Class FTextField

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, SwingConstants

public class FTextField extends JTextField
Standard TextField for Formiko.
Author:
Hydrolien
See Also:
  • Constructor Details

    • FTextField

      public FTextField(String s)
      1 main constructor with a string & default font.
    • FTextField

      public FTextField()
    • FTextField

      public FTextField(int columns)
      1 main constructor with a number of char to gess width & default font.
      Parameters:
      columns - the number of columns to use to calculate the preferred width; if columns is set to zero, the preferred width will be whatever naturally results from the component implementation
  • Method Details

    • ini

      public void ini()
      Initialize at the end of the constructor.
    • setBounds

      public void setBounds(int a, int b, int c)
    • setFontText

      public void setFontText(Font fon)
    • setFontText

      public void setFontText()
    • setFondTransparent

      public void setFondTransparent()
    • updateSize

      public void updateSize()
      Update the size of this depending of text.
    • addSizeUpdater

      public void addSizeUpdater()
      Add a listener to update this & parent size so that this can still fit in.
    • updateParentSize

      private void updateParentSize()
      Update parent size so that this can still fit in.