Class TraitInfoImpl
- java.lang.Object
-
- org.pushingpixels.radiance.theming.internal.utils.TraitInfoImpl
-
- All Implemented Interfaces:
RadianceTraitInfo
- Direct Known Subclasses:
SkinInfo
public class TraitInfoImpl extends java.lang.Object implements RadianceTraitInfo
Basic class for trait info.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTraitInfoImpl.LazyClassNameResolver
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringclassNameThe class name of the associated trait.private TraitInfoImpl.LazyClassNameResolverclassNameResolverprivate java.lang.StringdisplayNameThe display name of the associated trait.private booleanisClassNameResolved
-
Constructor Summary
Constructors Constructor Description TraitInfoImpl(java.lang.String displayName, TraitInfoImpl.LazyClassNameResolver classNameResolver)Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()Returns the class name of the associated trait.java.lang.StringgetDisplayName()Returns the display name of the associated trait.
-
-
-
Field Detail
-
displayName
private java.lang.String displayName
The display name of the associated trait.
-
className
private java.lang.String className
The class name of the associated trait.
-
isClassNameResolved
private boolean isClassNameResolved
-
classNameResolver
private TraitInfoImpl.LazyClassNameResolver classNameResolver
-
-
Constructor Detail
-
TraitInfoImpl
public TraitInfoImpl(java.lang.String displayName, TraitInfoImpl.LazyClassNameResolver classNameResolver)Simple constructor.- Parameters:
displayName- Display name of the associated trait.classNameResolver- Class name resolver of the associated trait.
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
Description copied from interface:RadianceTraitInfoReturns the class name of the associated trait.- Specified by:
getClassNamein interfaceRadianceTraitInfo- Returns:
- The class name of the associated trait. This method is part of officially supported API.
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from interface:RadianceTraitInfoReturns the display name of the associated trait. This method is part of officially supported API.- Specified by:
getDisplayNamein interfaceRadianceTraitInfo- Returns:
- The display name of the associated trait.
-
-