org.csstudio.data.values
Enum IValue.Format

java.lang.Object
  extended by java.lang.Enum<IValue.Format>
      extended by org.csstudio.data.values.IValue.Format
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IValue.Format>
Enclosing interface:
IValue

public static enum IValue.Format
extends java.lang.Enum<IValue.Format>

See Also:
IValue.format(Format, int)

Enum Constant Summary
Decimal
          If possible, use decimal representation.
Default
          Use all the MetaData information.
Exponential
          If possible, use exponential notation.
String
          If possible, convert to String
 
Method Summary
static IValue.Format valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IValue.Format[] 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

Default

public static final IValue.Format Default
Use all the MetaData information.


Decimal

public static final IValue.Format Decimal
If possible, use decimal representation.


Exponential

public static final IValue.Format Exponential
If possible, use exponential notation.


String

public static final IValue.Format String
If possible, convert to String

Method Detail

values

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

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

valueOf

public static IValue.Format 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