All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sksamuel.jqm4gwt.html.Legend Maven / Gradle / Ivy

package com.sksamuel.jqm4gwt.html;

import com.google.gwt.dom.client.Document;
import com.google.gwt.user.client.ui.Widget;
import com.sksamuel.jqm4gwt.HasText;

/**
 * @author Stephen K Samuel [email protected] 11 Jul 2011 13:38:38
 *
 * 
An implemenation of a <legend> element * */ public class Legend extends Widget implements HasText { public Legend() { setElement(Document.get().createLegendElement()); } @Override public String getText() { return getElement().getInnerText(); } @Override public void setText(String text) { getElement().setInnerText(text); } @Override public Legend withText(String text) { setText(text); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy