com.stimulsoft.report.components.enums
Enum StiMidType

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

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

Types of mid values in indicator classes.


Enum Constant Summary
Auto
          Mid value will be calculated as mid value between minimal and maximal values from data list.
Percent
          Mid value specified as percentage from all minimal and maximal values from data list.
Value
          Specified mid value.
 
Method Summary
static StiMidType forValue(int value)
           
 int getValue()
           
static StiMidType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StiMidType[] 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 StiMidType Auto
Mid value will be calculated as mid value between minimal and maximal values from data list.


Value

public static final StiMidType Value
Specified mid value.


Percent

public static final StiMidType Percent
Mid value specified as percentage from all minimal and maximal values from data list.

Method Detail

values

public static StiMidType[] 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 (StiMidType c : StiMidType.values())
    System.out.println(c);

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

valueOf

public static StiMidType 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 StiMidType forValue(int value)


Copyright © 2018 Stimulsoft. All Rights Reserved.