com.sksamuel.jqm4gwt.toolbar.JQMFooter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jqm4gwt Show documentation
Show all versions of jqm4gwt Show documentation
GWT Wrapper for the JQuery Mobile Framework
package com.sksamuel.jqm4gwt.toolbar;
import com.google.gwt.user.client.ui.Widget;
/**
* @author Stephen K Samuel [email protected] 4 May 2011 21:21:13
*
* This class models a JQM Footer element. It can contain an arbitary
* number of other widgets.
*
* @link
* http://jquerymobile.com/demos/1.2.0/docs/toolbars/docs-footers.html
*
*/
public class JQMFooter extends JQMToolbar {
/**
* Create a new empty {@link JQMFooter}. Use this when you want a blank
* footer that you will add widgets to later.
*/
public JQMFooter() {
this((String) null);
}
/**
* Creates a new footer with the given text as a h1 element
*
* @param text
* the text to use in the h1 element
*/
public JQMFooter(String text) {
super("footer", "jpm4gwt-footer", text);
}
/**
* Create a new footer containing the given array of widgets.
*
* @param widgets
* the array of widgets to add to the footer bar
*/
public JQMFooter(Widget... widgets) {
this((String) null);
for (Widget widget : widgets) {
add(widget);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy