com.stimulsoft.report.infographics.gauge
Enum StiLabelRotationMode

java.lang.Object
  extended by java.lang.Enum<StiLabelRotationMode>
      extended by com.stimulsoft.report.infographics.gauge.StiLabelRotationMode
All Implemented Interfaces:
IStiEnum, java.io.Serializable, java.lang.Comparable<StiLabelRotationMode>

public enum StiLabelRotationMode
extends java.lang.Enum<StiLabelRotationMode>
implements IStiEnum

Copyright Stimulsoft


Enum Constant Summary
Automatic
          Labels are rotated.
None
          No label rotation.
SurroundIn
          Labels surround radial scale with character’s base line is directed towards the center of the scale.
SurroundOut
          Labels surround radial scale with character’s base line is directed backwards the center of the scale.
 
Field Summary
 int intValue
           
 
Method Summary
static StiLabelRotationMode forValue(int value)
           
 int getValue()
           
static StiLabelRotationMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StiLabelRotationMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

None

public static final StiLabelRotationMode None
No label rotation.


Automatic

public static final StiLabelRotationMode Automatic
Labels are rotated.


SurroundIn

public static final StiLabelRotationMode SurroundIn
Labels surround radial scale with character’s base line is directed towards the center of the scale.


SurroundOut

public static final StiLabelRotationMode SurroundOut
Labels surround radial scale with character’s base line is directed backwards the center of the scale.

Field Detail

intValue

public final int intValue
Method Detail

values

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

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

valueOf

public static StiLabelRotationMode 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()
Specified by:
getValue in interface IStiEnum

forValue

public static StiLabelRotationMode forValue(int value)