Class X14Icon
java.lang.Object
com.independentsoft.office.spreadsheet.extensions.X14Icon
Represents a custom icon reference (
x14:cfIcon element) in an x14 icon set.-
Constructor Summary
ConstructorsConstructorDescriptionX14Icon()Instantiates a new x14 icon.X14Icon(InternalXMLStreamReader reader)Instantiates a new x14 icon. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the zero-based index of the icon inside its icon set, or null when it is not set.Gets the icon set the icon is taken from.voidSets the zero-based index of the icon inside its icon set.voidsetIconSet(String iconSet)Sets the icon set the icon is taken from.toString()
-
Constructor Details
-
X14Icon
public X14Icon()Instantiates a new x14 icon. -
X14Icon
Instantiates a new x14 icon.Reads the attributes only and leaves the reader ON the start element, so the caller's loop advances past it.
- Parameters:
reader- the reader
-
-
Method Details
-
clone
-
toString
-
getIconSet
Gets the icon set the icon is taken from.- Returns:
- the icon set
-
setIconSet
Sets the icon set the icon is taken from.- Parameters:
iconSet- the new icon set
-
getIconId
Gets the zero-based index of the icon inside its icon set, or null when it is not set.- Returns:
- the icon id
-
setIconId
Sets the zero-based index of the icon inside its icon set. A null value removes the attribute.- Parameters:
iconId- the new icon id
-