com.sksamuel.jqm4gwt.HasTheme Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jqm4gwt-standalone Show documentation
Show all versions of jqm4gwt-standalone Show documentation
jqm4gwt bundled with all of its dependencies
The newest version!
package com.sksamuel.jqm4gwt;
/**
* @author Stephen K Samuel [email protected] 5 May 2011 10:36:07
*
* Interface for elements that are themeable.
*
See http://jquerymobile.com/demos/1.0b1/#/demos/1.0b1/docs/api/themes.html
*/
public interface HasTheme {
/**
* Returns the value of the data-theme attribute
*/
String getTheme();
/**
* Sets the value of the data-theme attribute. Should be a value definined
* by the accompanying CSS stylesheet.
*
* JQM by default defines styles A-E. User styles will typically be
* defined as F onwards.
*/
void setTheme(String themeName);
/**
* Sets the value of the data-theme attribute. Should be a value definined
* by the accompanying CSS stylesheet.
*
* JQM by default defines styles A-E. User styles will typically be
* defined as F onwards.
*/
T withTheme(String themeName);
}