Class X14IconSet
java.lang.Object
com.independentsoft.office.spreadsheet.extensions.X14IconSet
Represents an icon set rule definition (x14:iconSet element).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets whether the icon set uses custom icons (x14:cfIcon children).getIcons()Gets the custom icons.Gets the icon set type (iconSet attribute), e.g.Gets whether thresholds are percents.Gets whether the icon order is reversed.Gets whether cell values are shown next to the icons.Gets the value objects defining the thresholds.voidSets whether the icon set uses custom icons (x14:cfIcon children).voidsetIconSetType(String iconSetType)Sets the icon set type (iconSet attribute), e.g.voidsetPercent(Boolean percent)Sets whether thresholds are percents.voidsetReverse(Boolean reverse)Sets whether the icon order is reversed.voidsetShowValue(Boolean showValue)Sets whether cell values are shown next to the icons.toString()
-
Constructor Details
-
X14IconSet
public X14IconSet()Instantiates a new x14 icon set.
-
-
Method Details
-
clone
-
toString
-
getIconSetType
Gets the icon set type (iconSet attribute), e.g. "3TrafficLights1" or "5Boxes".- Returns:
- the icon set type
-
setIconSetType
Sets the icon set type (iconSet attribute), e.g. "3TrafficLights1" or "5Boxes".- Parameters:
iconSetType- the new icon set type
-
getShowValue
Gets whether cell values are shown next to the icons.- Returns:
- whether cell values are shown next to the icons
-
setShowValue
Sets whether cell values are shown next to the icons.- Parameters:
showValue- the new show value flag
-
getPercent
Gets whether thresholds are percents.- Returns:
- whether thresholds are percents
-
setPercent
Sets whether thresholds are percents.- Parameters:
percent- the new percent flag
-
getReverse
Gets whether the icon order is reversed.- Returns:
- whether the icon order is reversed
-
setReverse
Sets whether the icon order is reversed.- Parameters:
reverse- the new reverse flag
-
getCustom
Gets whether the icon set uses custom icons (x14:cfIcon children).- Returns:
- whether the icon set uses custom icons
-
setCustom
Sets whether the icon set uses custom icons (x14:cfIcon children).- Parameters:
custom- the new custom flag
-
getValueObjects
Gets the value objects defining the thresholds.- Returns:
- the value objects defining the thresholds
-
getIcons
Gets the custom icons.- Returns:
- the custom icons
-