Package com.vaadin.copilot.iconset
Class IconSetInfo
java.lang.Object
com.vaadin.copilot.iconset.IconSetInfo
Describes a detected icon set and the icons available in it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the fully qualified Java class name for the icon set.Gets the collection identifier.Gets the human-readable display name.getIcons()Gets the icons available in the icon set.intgetOrder()Gets the display order used for the icon set.booleanisSvgSet()booleanvoidsetClassName(String className) Sets the fully qualified Java class name for the icon set.voidsetCollectionName(String collectionName) Sets the collection identifier.voidsetDisplayName(String displayName) Sets the human-readable display name.voidSets the icons available in the icon set.voidsetOrder(int order) Sets the display order used for the icon set.voidsetSvgSet(boolean svgSet) voidsetVaadinSet(boolean vaadinSet)
-
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 collectiondisplayName- the human-readable name of the icon setclassName- the fully qualified Java class name that represents the icon seticons- 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 collectiondisplayName- the human-readable name of the icon setclassName- the fully qualified Java class name that represents the icon setorder- the sort order used when listing icon setsicons- the icons available in the icon set
-
-
Method Details
-
getCollectionName
Gets the collection identifier.- Returns:
- the collection identifier
-
setCollectionName
Sets the collection identifier.- Parameters:
collectionName- the collection identifier
-
getDisplayName
Gets the human-readable display name.- Returns:
- the display name
-
setDisplayName
Sets the human-readable display name.- Parameters:
displayName- the display name
-
getClassName
Gets the fully qualified Java class name for the icon set.- Returns:
- the icon set class name
-
setClassName
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
Gets the icons available in the icon set.- Returns:
- the icons in the icon set
-
setIcons
Sets the icons available in the icon set.- Parameters:
icons- the icons in the icon set
-
isSvgSet
public boolean isSvgSet() -
setSvgSet
public void setSvgSet(boolean svgSet) -
isVaadinSet
public boolean isVaadinSet() -
setVaadinSet
public void setVaadinSet(boolean vaadinSet)
-