org.jvnet.substance.theme
Class ThemeInfo

java.lang.Object
  extended by org.jvnet.substance.utils.AbstractTraitInfo
      extended by org.jvnet.substance.theme.ThemeInfo
All Implemented Interfaces:
SubstanceTraitInfo
Direct Known Subclasses:
MixedThemeInfo

public class ThemeInfo
extends AbstractTraitInfo

Information on a single theme. This class is part of officially supported API.

Author:
Kirill Grouchnikov

Constructor Summary
ThemeInfo(java.lang.String themeDisplayName, java.lang.String themeClassName, SubstanceTheme.ThemeKind themeKind)
          Simple constructor.
 
Method Summary
 java.lang.String getThemeClassName()
          Deprecated. Use AbstractTraitInfo.getClassName().
 java.lang.String getThemeDisplayName()
          Deprecated. Use AbstractTraitInfo.getDisplayName().
 SubstanceTheme.ThemeKind getThemeKind()
          Returns the kind of this theme.
 
Methods inherited from class org.jvnet.substance.utils.AbstractTraitInfo
getClassName, getDisplayName, isDefault, setDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeInfo

public ThemeInfo(java.lang.String themeDisplayName,
                 java.lang.String themeClassName,
                 SubstanceTheme.ThemeKind themeKind)
Simple constructor.

Parameters:
themeDisplayName - Display name of this theme.
themeClassName - Class name of this theme.
themeKind - Kind of this theme.
Method Detail

getThemeClassName

public java.lang.String getThemeClassName()
Deprecated. Use AbstractTraitInfo.getClassName().

Returns the class name of this theme.

Returns:
The class name of this theme.

getThemeDisplayName

public java.lang.String getThemeDisplayName()
Deprecated. Use AbstractTraitInfo.getDisplayName().

Returns the display name of this theme.

Returns:
The display name of this theme.

getThemeKind

public SubstanceTheme.ThemeKind getThemeKind()
Returns the kind of this theme.

Returns:
The kind of this theme.