org.jvnet.substance.utils
Interface SubstanceTraitInfo

All Known Implementing Classes:
AbstractTraitInfo, BorderPainterInfo, ButtonShaperInfo, GradientPainterInfo, MixedThemeInfo, SkinInfo, ThemeInfo, TitlePainterInfo, WatermarkInfo

public interface SubstanceTraitInfo

Base interface for Substance traits info, like ThemeInfo, WatermarkInfo etc.

Author:
Kirill Grouchnikov

Method Summary
 java.lang.String getClassName()
          Returns the class name of the associated trait.
 java.lang.String getDisplayName()
          Returns the display name of the associated trait.
 boolean isDefault()
          Returns indication whether the associated trait is default.
 void setDefault(boolean isDefault)
          Sets indication whether the associated trait is default.
 

Method Detail

getDisplayName

java.lang.String getDisplayName()
Returns the display name of the associated trait. This method is part of officially supported API.

Returns:
The display name of the associated trait.

getClassName

java.lang.String getClassName()
Returns the class name of the associated trait.

Returns:
The class name of the associated trait. This method is part of officially supported API.

isDefault

boolean isDefault()
Returns indication whether the associated trait is default.

Returns:
true if the associated trait is default, false otherwise.

setDefault

void setDefault(boolean isDefault)
Sets indication whether the associated trait is default.

Parameters:
isDefault - New indication whether the associated trait is default.