Package com.deltaxml.dita.config
Enum Class SVGGranularity
- All Implemented Interfaces:
com.deltaxml.dita.DitaCompareDisplayable,Serializable,Comparable<SVGGranularity>,Constable
public enum SVGGranularity
extends Enum<SVGGranularity>
implements com.deltaxml.dita.DitaCompareDisplayable
Specifies the granularity at which the differences between two SVG images will be represented.
- Since:
- 12.2
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReports the differences to the SVG by repeating A and B SVG inputs adjacent to each other.Reports SVG differences by animating them by changing the opacity from 1 to 0 for delete and 0 to 1 for add.Reports the differences to the SVG by repeating the A and B SVG inputs adjacent to each other, with individual changes highlighted with bounding boxes. -
Method Summary
Modifier and TypeMethodDescriptionReturns the user friendly String description of an Enum parameter value.Returns the user friendly String name of an Enum parameter value.toString()static SVGGranularityReturns the enum constant of this class with the specified name.static SVGGranularity[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
ADJACENT
Reports the differences to the SVG by repeating A and B SVG inputs adjacent to each other. Respective A and B SVGs will be highlighted with red and green bounding boxes .
-
DETAILED_ADJACENT
Reports the differences to the SVG by repeating the A and B SVG inputs adjacent to each other, with individual changes highlighted with bounding boxes.
-
ANIMATE_INLINE
Reports SVG differences by animating them by changing the opacity from 1 to 0 for delete and 0 to 1 for add. This setting will override any other SVG configuration.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getDisplayName
Returns the user friendly String name of an Enum parameter value.
- Specified by:
getDisplayNamein interfacecom.deltaxml.dita.DitaCompareDisplayable- Returns:
- a user friendly String representing an Enum parameter object
-
getDisplayDescription
Returns the user friendly String description of an Enum parameter value.
- Specified by:
getDisplayDescriptionin interfacecom.deltaxml.dita.DitaCompareDisplayable- Returns:
- a user friendly String description representing an Enum parameter object
-
toString
- Overrides:
toStringin classEnum<SVGGranularity>
-