com.ibm.mashups.enabler
Interface ThemeProvider


public ThemeProvider

An interface that allows the retrieval and setting of a Theme object that is associated with a resource.


Method Summary
 String getTheme()
          Deprecated.  use com.ibm.mashups.enabler.ThemeProvider.getThemeIdentifier instead
 void setTheme(String theme)
          Deprecated.  use com.ibm.mashups.enabler.ThemeProvider.setThemeIdentifier instead
 Identifiable getThemeIdentifier()
           Returns the theme identifier associated with this element.
 void setThemeIdentifier(Identifiable theme)
           Sets the theme by its identifier.
 

Method Detail

getTheme

String getTheme()
Deprecated.  use com.ibm.mashups.enabler.ThemeProvider.getThemeIdentifier instead

Returns the theme id associated with this element.

Returns:
the theme id for this element or null if none was set.

setTheme

void setTheme(String theme)
Deprecated.  use com.ibm.mashups.enabler.ThemeProvider.setThemeIdentifier instead

Sets the theme id.

Parameters:
theme - theme id to set, must not be null.

getThemeIdentifier

Identifiable getThemeIdentifier()
Returns the theme identifier associated with this element.

Returns:
theme identifier for this element or null if none was set.

setThemeIdentifier

void setThemeIdentifier(Identifiable theme)
Sets the theme by its identifier.

Parameters:
theme - identifier to set, must not be null.


Copyright IBM Corp. 2010 All Rights Reserved.