org.pentaho.platform.api.ui
Class Theme

java.lang.Object
  extended by org.pentaho.platform.api.ui.Theme

public class Theme
extends Object

Theme encapsulates a collection of ThemeResources and a root directory to access them from. User: nbaker Date: 5/15/11


Constructor Summary
Theme(String id, String name, String rootDir)
           
 
Method Summary
 void addResource(ThemeResource themeResource)
           
 boolean equals(Object o)
           
 String getId()
           
 String getName()
           
 Set<ThemeResource> getResources()
           
 String getThemeRootDir()
           
 int hashCode()
           
 boolean isHidden()
           
 void setHidden(boolean hidden)
           
 void setId(String id)
           
 void setName(String name)
           
 void setResources(Set<ThemeResource> resources)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Theme

public Theme(String id,
             String name,
             String rootDir)
Method Detail

getName

public String getName()

setName

public void setName(String name)

getResources

public Set<ThemeResource> getResources()

setResources

public void setResources(Set<ThemeResource> resources)

addResource

public void addResource(ThemeResource themeResource)

getThemeRootDir

public String getThemeRootDir()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isHidden

public boolean isHidden()

setHidden

public void setHidden(boolean hidden)

getId

public String getId()

setId

public void setId(String id)