001package com.github.gwtbootstrap.client.ui;
002
003import com.github.gwtbootstrap.client.ui.base.HtmlWidget;
004import com.github.gwtbootstrap.client.ui.constants.Constants;
005
006public class Caption extends HtmlWidget {
007
008    /**
009     * Creates an empty paragraph.
010     */
011    public Caption() {
012        this("");
013    }
014    
015    /**
016     * Creates a widget with  the html set..
017     * @param html content html
018     */
019    public Caption(String html) {
020        this("div", html);
021    }
022    
023    protected Caption(String tag,String html) {
024        super(tag , html);
025        setStyleName(Constants.CAPTION);
026    }
027
028}