com.vaadin.server.

Class ThemeResource

  • All Implemented Interfaces:

    Resource, Serializable

    public class ThemeResource
    extends Object
    implements Resource

    ThemeResource is a named theme dependant resource provided and managed by a theme. The actual resource contents are dynamically resolved to comply with the used theme by the terminal adapter. This is commonly used to provide static images, flash, java-applets, etc for the terminals.

    Since:

    3.0

    Author:

    Vaadin Ltd.

    See Also:

    Serialized Form

    • Constructor Detail

      • ThemeResource

        public ThemeResource​(String resourceId)

        Creates a resource.

        Parameters:

        resourceId - the Id of the resource.