Interface HasName

All Known Implementing Classes:
Anchor, CheckBox, DoubleBox, FileUpload, Hidden, IntegerBox, ListBox, LongBox, PasswordTextBox, RadioButton, SimpleCheckBox, SimpleRadioButton, TextArea, TextBox, TextBoxBase, ValueBox, ValueBoxBase

public interface HasName
A widget that implements this interface has a 'name' associated with it, allowing it to be used with FormPanel. This property is the name that will be associated with the widget when its form is submitted.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the widget's name.
    void
    Sets the widget's name.
  • Method Details

    • setName

      void setName(String name)
      Sets the widget's name.
      Parameters:
      name - the widget's new name
    • getName

      String getName()
      Gets the widget's name.
      Returns:
      the widget's name