public interface

HasCaption

com.google.gwt.user.client.ui.HasCaption

Class Overview

A widget that implements this interface has a caption which can be set and retrieved using these methods.

Summary

Public Methods
abstract String getCaption()
Gets this widget's caption.
abstract void setCaption(String caption)
Sets this widget's caption.

Public Methods

public abstract String getCaption ()

Gets this widget's caption.

Returns
  • the caption.

public abstract void setCaption (String caption)

Sets this widget's caption.

Parameters
caption the new caption.