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

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

package com.sksamuel.jqm4gwt.html;

import com.sksamuel.jqm4gwt.HasHTML;
import com.sksamuel.jqm4gwt.HasText;

/**
 * An implementation of a <div> element exposed as a widget. Shorter equivalent of FlowPanel.
 * 
Cannot have child widgets, this class is supposed to work with text/html content only. **/ public class DivText extends Div implements HasText, HasHTML { @Override public DivText withText(String text) { setText(text); return this; } @Override public DivText withHTML(String html) { setHTML(html); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy