com.stimulsoft.report.components.enums
Enum StiMaximumType

java.lang.Object
  extended by java.lang.Enum<StiMaximumType>
      extended by com.stimulsoft.report.components.enums.StiMaximumType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StiMaximumType>

public enum StiMaximumType
extends java.lang.Enum<StiMaximumType>

Types of maximal values in indicator classes.


Enum Constant Summary
Auto
          Maximal value will be calculated automatically based on values from data list.
Maximum
          Maximal value will be calculated automatically based on values from data list.
Percent
          Maximal value specified as percentage from all maximal values from data list.
Value
          Specified maximal value.
 
Method Summary
static StiMaximumType forValue(int value)
           
 int getValue()
           
static StiMaximumType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StiMaximumType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Auto

public static final StiMaximumType Auto
Maximal value will be calculated automatically based on values from data list. If calculated maximal value will be less than 0 then 0 will be used as maximum value.


Value

public static final StiMaximumType Value
Specified maximal value.


Percent

public static final StiMaximumType Percent
Maximal value specified as percentage from all maximal values from data list.


Maximum

public static final StiMaximumType Maximum
Maximal value will be calculated automatically based on values from data list. If calculated maximal value will be less than 0 then maximal value will be used as maximum value.

Method Detail

values

public static StiMaximumType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (StiMaximumType c : StiMaximumType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StiMaximumType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getValue

public int getValue()

forValue

public static StiMaximumType forValue(int value)


Copyright © 2018 Stimulsoft. All Rights Reserved.