net.ogdf.ogml
Enum FontVariantType

java.lang.Object
  extended by java.lang.Enum<FontVariantType>
      extended by net.ogdf.ogml.FontVariantType
All Implemented Interfaces:
Comparable<FontVariantType>, Enumerator

public enum FontVariantType
extends Enum<FontVariantType>
implements Enumerator

A representation of the literals of the enumeration 'Font Variant Type', and utility methods for working with them.

See Also:
OgmlPackage.getFontVariantType()
Rating red
Generated:
This code was automatically generated.
Model element:
extendedMetaData=name='fontVariant.type'

Enum Constant Summary
NORMAL
          The 'Normal' literal object.
SMALL_CPAPS
          The 'Small Cpaps' literal object.
 
Field Summary
static int NORMAL_VALUE
          The 'Normal' literal value.
static int SMALL_CPAPS_VALUE
          The 'Small Cpaps' literal value.
static List<FontVariantType> VALUES
          A public read-only list of all the 'Font Variant Type' enumerators.
 
Method Summary
static FontVariantType get(int value)
          Returns the 'Font Variant Type' literal with the specified integer value.
static FontVariantType get(String literal)
          Returns the 'Font Variant Type' literal with the specified literal value.
static FontVariantType getByName(String name)
          Returns the 'Font Variant Type' literal with the specified name.
 String getLiteral()
           
 String getName()
           
 int getValue()
           
 String toString()
          Returns the literal value of the enumerator, which is its string representation.
static FontVariantType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FontVariantType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NORMAL

public static final FontVariantType NORMAL
The 'Normal' literal object.

See Also:
NORMAL_VALUE
Generated:
This code was automatically generated.
Ordered

SMALL_CPAPS

public static final FontVariantType SMALL_CPAPS
The 'Small Cpaps' literal object.

See Also:
SMALL_CPAPS_VALUE
Generated:
This code was automatically generated.
Ordered
Field Detail

NORMAL_VALUE

public static final int NORMAL_VALUE
The 'Normal' literal value.

If the meaning of 'Normal' literal object isn't clear, there really should be more of a description here...

See Also:
NORMAL, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=normal
Ordered

SMALL_CPAPS_VALUE

public static final int SMALL_CPAPS_VALUE
The 'Small Cpaps' literal value.

If the meaning of 'Small Cpaps' literal object isn't clear, there really should be more of a description here...

See Also:
SMALL_CPAPS, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=smallCpaps
literal=small-cpaps
Ordered

VALUES

public static final List<FontVariantType> VALUES
A public read-only list of all the 'Font Variant Type' enumerators.

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

public static FontVariantType 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

get

public static FontVariantType get(String literal)
Returns the 'Font Variant Type' literal with the specified literal value.

Generated:
This code was automatically generated.

getByName

public static FontVariantType getByName(String name)
Returns the 'Font Variant Type' literal with the specified name.

Generated:
This code was automatically generated.

get

public static FontVariantType get(int value)
Returns the 'Font Variant Type' literal with the specified integer value.

Generated:
This code was automatically generated.

getValue

public int getValue()

Specified by:
getValue in interface Enumerator
Generated:
This code was automatically generated.

getName

public String getName()

Specified by:
getName in interface Enumerator
Generated:
This code was automatically generated.

getLiteral

public String getLiteral()

Specified by:
getLiteral in interface Enumerator
Generated:
This code was automatically generated.

toString

public String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class Enum<FontVariantType>
Generated:
This code was automatically generated.