org.odftoolkit.simple.style
Enum NumberFormat
java.lang.Object
java.lang.Enum<NumberFormat>
org.odftoolkit.simple.style.NumberFormat
- All Implemented Interfaces:
- Serializable, Comparable<NumberFormat>
public enum NumberFormat
- extends Enum<NumberFormat>
A NumberFormat specifies a numbering sequence.
- Since:
- 0.5
HINDU_ARABIC_NUMBER
public static final NumberFormat HINDU_ARABIC_NUMBER
LOWERCASE_LATIN_ALPHABET
public static final NumberFormat LOWERCASE_LATIN_ALPHABET
UPPERCASE_LATIN_ALPHABET
public static final NumberFormat UPPERCASE_LATIN_ALPHABET
LOWERCASE_ROMAN_NUMBER
public static final NumberFormat LOWERCASE_ROMAN_NUMBER
UPPERCASE_ROMAN_NUMBER
public static final NumberFormat UPPERCASE_ROMAN_NUMBER
values
public static NumberFormat[] 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 (NumberFormat c : NumberFormat.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static NumberFormat valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
toString
public String toString()
- Overrides:
toString
in class Enum<NumberFormat>
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.