com.vaadin.polymer.paper.widget.PaperStyles Maven / Gradle / Ivy
The newest version!
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from paper-styles project by The Polymer Authors
* that is licensed with http://polymer.github.io/LICENSE.txt license.
*/
package com.vaadin.polymer.paper.widget;
import com.vaadin.polymer.paper.*;
import com.vaadin.polymer.*;
import com.vaadin.polymer.elemental.*;
import com.vaadin.polymer.PolymerWidget;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.core.client.JavaScriptObject;
/**
* The <paper-styles>
component provides simple ways to use Material Design CSS styles
in your application. The following imports are available:
*
* color.html:
a complete list of the colors defined in the Material Design palette
*
* default-theme.html: text,
background and accent colors that match the default Material Design theme
*
* shadow.html: Material Design
elevation and shadow styles
*
* typography.html:
Material Design font styles and sizes
*
* demo-pages.html: generic styles
used in the PolymerElements demo pages
*
*
* We recommend importing each of these individual files, and using the style mixins
available in each ones, rather than the aggregated paper-styles.html
as a whole.
*/
public class PaperStyles extends PolymerWidget {
/**
* Default Constructor.
*/
public PaperStyles() {
this("");
}
/**
* Constructor used by UIBinder to create widgets with content.
*/
public PaperStyles(String html) {
super(PaperStylesElement.TAG, PaperStylesElement.SRC, html);
}
/**
* Gets a handle to the Polymer object's underlying DOM element.
*/
public PaperStylesElement getPolymerElement() {
return (PaperStylesElement) getElement();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy