com.vaadin.server
Class Page.Styles

java.lang.Object
  extended by com.vaadin.server.Page.Styles
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Page

public static class Page.Styles
extends java.lang.Object
implements java.io.Serializable

Contains dynamically injected styles injected in the HTML document at runtime.

Since:
7.1
See Also:
Serialized Form

Method Summary
 void add(Resource resource)
          Injects a CSS resource into the page
 void add(java.lang.String css)
          Injects a raw CSS string into the page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public void add(java.lang.String css)
Injects a raw CSS string into the page.

Parameters:
css - The CSS to inject

add

public void add(Resource resource)
Injects a CSS resource into the page

Parameters:
resource - The resource to inject.


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.