Interface ThemeSource

Interface implemented by theme sources.

Synopsis

Since

3.0

Inheritance Path.  com.itmill.toolkit.terminal.web.ThemeSource

getModificationTime()

Parameters

return

Last modification time of the theme source.

Get the last modification time, used to reload theme on changes.

getName()

Parameters

return

Name of the theme source.

Get the name of the ThemeSource.

getResource(String)

Parameters

return

Stream where the resource can be read.

Exceptions

ThemeException

If the resource is not found or there was some problem finding the resource.

Get input stream for the resource with the specified resource id.

getThemeByName(String)

Parameters

name

Theme name.

return

Theme instance matching the name, or null if not found.

Return Theme instance by name.

getThemes()

Parameters

return

List of themes included in the theme source.

Get list of themes in the theme source.

getXSLStreams(Theme, WebBrowser)

Parameters

theme

Theme, which XSL should be returned

type

The type of the current client.

return

Collection of ThemeSource.XSLStream objects.

Get XSL stream for the specified theme and web-browser type. Returns the XSL templates, which are used to process the UIDL data. The type parameter is used to limit the templates, which are returned based on the theme fileset requirements. This implicitly operates in xslt mode.