Class IconSetInfo

java.lang.Object
com.vaadin.copilot.iconset.IconSetInfo

public class IconSetInfo extends Object
Describes a detected icon set and the icons available in it.
  • Constructor Details

    • IconSetInfo

      public IconSetInfo(String collectionName, String displayName, String className, List<IconInfo> icons)
      Creates icon set metadata with the default display order.
      Parameters:
      collectionName - the identifier used for the icon collection
      displayName - the human-readable name of the icon set
      className - the fully qualified Java class name that represents the icon set
      icons - the icons available in the icon set
    • IconSetInfo

      public IconSetInfo(String collectionName, String displayName, String className, int order, List<IconInfo> icons)
      Creates icon set metadata.
      Parameters:
      collectionName - the identifier used for the icon collection
      displayName - the human-readable name of the icon set
      className - the fully qualified Java class name that represents the icon set
      order - the sort order used when listing icon sets
      icons - the icons available in the icon set
  • Method Details

    • getCollectionName

      public String getCollectionName()
      Gets the collection identifier.
      Returns:
      the collection identifier
    • setCollectionName

      public void setCollectionName(String collectionName)
      Sets the collection identifier.
      Parameters:
      collectionName - the collection identifier
    • getDisplayName

      public String getDisplayName()
      Gets the human-readable display name.
      Returns:
      the display name
    • setDisplayName

      public void setDisplayName(String displayName)
      Sets the human-readable display name.
      Parameters:
      displayName - the display name
    • getClassName

      public String getClassName()
      Gets the fully qualified Java class name for the icon set.
      Returns:
      the icon set class name
    • setClassName

      public void setClassName(String className)
      Sets the fully qualified Java class name for the icon set.
      Parameters:
      className - the icon set class name
    • getOrder

      public int getOrder()
      Gets the display order used for the icon set.
      Returns:
      the display order
    • setOrder

      public void setOrder(int order)
      Sets the display order used for the icon set.
      Parameters:
      order - the display order
    • getIcons

      public List<IconInfo> getIcons()
      Gets the icons available in the icon set.
      Returns:
      the icons in the icon set
    • setIcons

      public void setIcons(List<IconInfo> icons)
      Sets the icons available in the icon set.
      Parameters:
      icons - the icons in the icon set