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
    Gets the widget's name.
    Sets the widget's name.
  • Method Details

    • setName

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

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