java.lang.Object
org.pushingpixels.radiance.theming.internal.utils.TraitInfoImpl
All Implemented Interfaces:
RadianceTraitInfo
Direct Known Subclasses:
SkinInfo

public class TraitInfoImpl extends Object implements RadianceTraitInfo
Basic class for trait info.
  • Field Details

    • displayName

      private String displayName
      The display name of the associated trait.
    • className

      private String className
      The class name of the associated trait.
    • isClassNameResolved

      private boolean isClassNameResolved
    • classNameResolver

      private TraitInfoImpl.LazyClassNameResolver classNameResolver
  • Constructor Details

    • TraitInfoImpl

      public TraitInfoImpl(String displayName, TraitInfoImpl.LazyClassNameResolver classNameResolver)
      Simple constructor.
      Parameters:
      displayName - Display name of the associated trait.
      classNameResolver - Class name resolver of the associated trait.
  • Method Details

    • getClassName

      public String getClassName()
      Description copied from interface: RadianceTraitInfo
      Returns the class name of the associated trait.
      Specified by:
      getClassName in interface RadianceTraitInfo
      Returns:
      The class name of the associated trait. This method is part of officially supported API.
    • getDisplayName

      public String 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 interface RadianceTraitInfo
      Returns:
      The display name of the associated trait.