public interface

HasName

com.google.gwt.user.client.ui.HasName
Known Indirect Subclasses

Class Overview

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.

Summary

Public Methods
abstract String getName()
Gets the widget's name.
abstract void setName(String name)
Sets the widget's name.

Public Methods

public abstract String getName ()

Gets the widget's name.

Returns
  • the widget's name

public abstract void setName (String name)

Sets the widget's name.

Parameters
name the widget's new name