Enum Class ExcelConfig.CalculationMode
java.lang.Object
java.lang.Enum<ExcelConfig.CalculationMode>
es.urjc.etsii.grafo.io.serializers.excel.ExcelConfig.CalculationMode
- All Implemented Interfaces:
Serializable
,Comparable<ExcelConfig.CalculationMode>
,Constable
- Enclosing class:
ExcelConfig
Defines how to handle calculated values when serializing to Excel 2007+
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDecide strategy at runtime depending on the number of rows to serialize.Calculate data when user opens Excel file for the first time.Calculate data before serializing to Excel, extremely fast but extending Excel files will not update calculated data such as best value per instance or %Dev. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExcelConfig.CalculationMode
Returns the enum constant of this class with the specified name.static ExcelConfig.CalculationMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JAVA
Calculate data before serializing to Excel, extremely fast but extending Excel files will not update calculated data such as best value per instance or %Dev. -
EXCEL
Calculate data when user opens Excel file for the first time. Much slower, but allows users to extend and easily modify Excel files. -
AUTO
Decide strategy at runtime depending on the number of rows to serialize.
-
-
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
-