net.ogdf.ogml
Enum FontStretchType

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

public enum FontStretchType
extends Enum<FontStretchType>
implements Enumerator

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

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

Enum Constant Summary
CONDENSED
          The 'Condensed' literal object.
EXPANDED
          The 'Expanded' literal object.
EXTRA_CONDENSED
          The 'Extra Condensed' literal object.
EXTRA_EXPANDED
          The 'Extra Expanded' literal object.
NARROWER
          The 'Narrower' literal object.
NORMAL
          The 'Normal' literal object.
SEMI_CONDENSED
          The 'Semi Condensed' literal object.
SEMI_EXPANDED
          The 'Semi Expanded' literal object.
ULTRA_CONDENSED
          The 'Ultra Condensed' literal object.
ULTRA_EXPANDED
          The 'Ultra Expanded' literal object.
WIDER
          The 'Wider' literal object.
 
Field Summary
static int CONDENSED_VALUE
          The 'Condensed' literal value.
static int EXPANDED_VALUE
          The 'Expanded' literal value.
static int EXTRA_CONDENSED_VALUE
          The 'Extra Condensed' literal value.
static int EXTRA_EXPANDED_VALUE
          The 'Extra Expanded' literal value.
static int NARROWER_VALUE
          The 'Narrower' literal value.
static int NORMAL_VALUE
          The 'Normal' literal value.
static int SEMI_CONDENSED_VALUE
          The 'Semi Condensed' literal value.
static int SEMI_EXPANDED_VALUE
          The 'Semi Expanded' literal value.
static int ULTRA_CONDENSED_VALUE
          The 'Ultra Condensed' literal value.
static int ULTRA_EXPANDED_VALUE
          The 'Ultra Expanded' literal value.
static List<FontStretchType> VALUES
          A public read-only list of all the 'Font Stretch Type' enumerators.
static int WIDER_VALUE
          The 'Wider' literal value.
 
Method Summary
static FontStretchType get(int value)
          Returns the 'Font Stretch Type' literal with the specified integer value.
static FontStretchType get(String literal)
          Returns the 'Font Stretch Type' literal with the specified literal value.
static FontStretchType getByName(String name)
          Returns the 'Font Stretch 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 FontStretchType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FontStretchType[] 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 FontStretchType NORMAL
The 'Normal' literal object.

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

WIDER

public static final FontStretchType WIDER
The 'Wider' literal object.

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

NARROWER

public static final FontStretchType NARROWER
The 'Narrower' literal object.

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

ULTRA_CONDENSED

public static final FontStretchType ULTRA_CONDENSED
The 'Ultra Condensed' literal object.

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

EXTRA_CONDENSED

public static final FontStretchType EXTRA_CONDENSED
The 'Extra Condensed' literal object.

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

CONDENSED

public static final FontStretchType CONDENSED
The 'Condensed' literal object.

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

SEMI_CONDENSED

public static final FontStretchType SEMI_CONDENSED
The 'Semi Condensed' literal object.

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

SEMI_EXPANDED

public static final FontStretchType SEMI_EXPANDED
The 'Semi Expanded' literal object.

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

EXPANDED

public static final FontStretchType EXPANDED
The 'Expanded' literal object.

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

EXTRA_EXPANDED

public static final FontStretchType EXTRA_EXPANDED
The 'Extra Expanded' literal object.

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

ULTRA_EXPANDED

public static final FontStretchType ULTRA_EXPANDED
The 'Ultra Expanded' literal object.

See Also:
ULTRA_EXPANDED_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

WIDER_VALUE

public static final int WIDER_VALUE
The 'Wider' literal value.

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

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

NARROWER_VALUE

public static final int NARROWER_VALUE
The 'Narrower' literal value.

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

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

ULTRA_CONDENSED_VALUE

public static final int ULTRA_CONDENSED_VALUE
The 'Ultra Condensed' literal value.

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

See Also:
ULTRA_CONDENSED, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=ultraCondensed
literal=ultra-condensed
Ordered

EXTRA_CONDENSED_VALUE

public static final int EXTRA_CONDENSED_VALUE
The 'Extra Condensed' literal value.

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

See Also:
EXTRA_CONDENSED, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=extraCondensed
literal=extra-condensed
Ordered

CONDENSED_VALUE

public static final int CONDENSED_VALUE
The 'Condensed' literal value.

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

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

SEMI_CONDENSED_VALUE

public static final int SEMI_CONDENSED_VALUE
The 'Semi Condensed' literal value.

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

See Also:
SEMI_CONDENSED, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=semiCondensed
literal=semi-condensed
Ordered

SEMI_EXPANDED_VALUE

public static final int SEMI_EXPANDED_VALUE
The 'Semi Expanded' literal value.

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

See Also:
SEMI_EXPANDED, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=semiExpanded
literal=semi-expanded
Ordered

EXPANDED_VALUE

public static final int EXPANDED_VALUE
The 'Expanded' literal value.

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

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

EXTRA_EXPANDED_VALUE

public static final int EXTRA_EXPANDED_VALUE
The 'Extra Expanded' literal value.

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

See Also:
EXTRA_EXPANDED, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=extraExpanded
literal=extra-expanded
Ordered

ULTRA_EXPANDED_VALUE

public static final int ULTRA_EXPANDED_VALUE
The 'Ultra Expanded' literal value.

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

See Also:
ULTRA_EXPANDED, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=ultraExpanded
literal=ultra-expanded
Ordered

VALUES

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

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

public static FontStretchType 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 FontStretchType get(String literal)
Returns the 'Font Stretch Type' literal with the specified literal value.

Generated:
This code was automatically generated.

getByName

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

Generated:
This code was automatically generated.

get

public static FontStretchType get(int value)
Returns the 'Font Stretch 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<FontStretchType>
Generated:
This code was automatically generated.