Class IconAndSetClassNameInfo

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

public class IconAndSetClassNameInfo extends Object
Holds resolved icon metadata together with the Java class name of the icon set that defines it.
  • Constructor Details

    • IconAndSetClassNameInfo

      public IconAndSetClassNameInfo()
  • Method Details

    • getIconSetQualifiedJavaClassName

      public String getIconSetQualifiedJavaClassName()
      Gets the fully qualified Java class name of the icon set.
      Returns:
      the icon set class name
    • setIconSetQualifiedJavaClassName

      public void setIconSetQualifiedJavaClassName(String iconSetQualifiedJavaClassName)
      Sets the fully qualified Java class name of the icon set.
      Parameters:
      iconSetQualifiedJavaClassName - the icon set class name
    • getSvgSourceUrl

      public String getSvgSourceUrl()
      Gets the SVG source URL for the icon.
      Returns:
      the SVG source URL, or null if the icon is not resolved by URL
    • setSvgSourceUrl

      public void setSvgSourceUrl(String svgSourceUrl)
      Sets the SVG source URL for the icon.
      Parameters:
      svgSourceUrl - the SVG source URL
    • getName

      public String getName()
      Gets the icon name.
      Returns:
      the icon name
    • setName

      public void setName(String name)
      Sets the icon name.
      Parameters:
      name - the icon name
    • isSvg

      public boolean isSvg()
      Checks whether the icon was resolved from an SVG source URL.
      Returns:
      true if the icon was matched by SVG URL, false otherwise
    • setSvg

      public void setSvg(boolean svg)
      Sets whether the icon was resolved from an SVG source URL.
      Parameters:
      svg - true if the icon was matched by SVG URL
    • getIconAttr

      public String getIconAttr()
      Gets the icon attribute value.
      Returns:
      the icon attribute value, or null if not applicable
    • setIconAttr

      public void setIconAttr(String iconAttr)
      Sets the icon attribute value.
      Parameters:
      iconAttr - the icon attribute value