Class ATKStringField

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

public class ATKStringField extends ATKField
ATKStringField implements a stringfield which responds to enter keypresses.
Version:
1.0
Author:
Erik Assum
See Also:
  • Field Details

    • model

      protected fr.esrf.tangoatk.core.IString model
  • Constructor Details

    • ATKStringField

      public ATKStringField()
  • Method Details

    • setModel

      public void setModel(fr.esrf.tangoatk.core.IString m)
      setModel sets the model for this field.
      Parameters:
      m - an IString value
      See Also:
      • IString
    • setValue

      public void setValue(String d)
      setValue sets the value of this stringfield
      Parameters:
      d - a String value
    • getValue

      public String getValue()
      getValue returns the string value of this field
      Returns:
      a String value
    • enter

      protected void enter(ActionEvent e)
      Description copied from class: ATKField
      enter is called when a user presses enter.
      Overrides:
      enter in class ATKField
      Parameters:
      e - an ActionEvent value