Class TraitInfoImpl
java.lang.Object
org.pushingpixels.radiance.theming.internal.utils.TraitInfoImpl
- All Implemented Interfaces:
RadianceTraitInfo
- Direct Known Subclasses:
SkinInfo
Basic class for trait info.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTraitInfoImpl
(String displayName, TraitInfoImpl.LazyClassNameResolver classNameResolver) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the class name of the associated trait.Returns the display name of the associated trait.
-
Field Details
-
displayName
The display name of the associated trait. -
className
The class name of the associated trait. -
isClassNameResolved
private boolean isClassNameResolved -
classNameResolver
-
-
Constructor Details
-
TraitInfoImpl
Simple constructor.- Parameters:
displayName
- Display name of the associated trait.classNameResolver
- Class name resolver of the associated trait.
-
-
Method Details
-
getClassName
Description copied from interface:RadianceTraitInfo
Returns the class name of the associated trait.- Specified by:
getClassName
in interfaceRadianceTraitInfo
- Returns:
- The class name of the associated trait. This method is part of officially supported API.
-
getDisplayName
Description copied from interface:RadianceTraitInfo
Returns the display name of the associated trait. This method is part of officially supported API.- Specified by:
getDisplayName
in interfaceRadianceTraitInfo
- Returns:
- The display name of the associated trait.
-