net.ogdf.ogml
Enum DecorationType

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

public enum DecorationType
extends Enum<DecorationType>
implements Enumerator

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

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

Enum Constant Summary
BLINK
          The 'Blink' literal object.
LINE_THROUGH
          The 'Line Through' literal object.
NONE
          The 'None' literal object.
OVERLINE
          The 'Overline' literal object.
UNDERLINE
          The 'Underline' literal object.
 
Field Summary
static int BLINK_VALUE
          The 'Blink' literal value.
static int LINE_THROUGH_VALUE
          The 'Line Through' literal value.
static int NONE_VALUE
          The 'None' literal value.
static int OVERLINE_VALUE
          The 'Overline' literal value.
static int UNDERLINE_VALUE
          The 'Underline' literal value.
static List<DecorationType> VALUES
          A public read-only list of all the 'Decoration Type' enumerators.
 
Method Summary
static DecorationType get(int value)
          Returns the 'Decoration Type' literal with the specified integer value.
static DecorationType get(String literal)
          Returns the 'Decoration Type' literal with the specified literal value.
static DecorationType getByName(String name)
          Returns the 'Decoration 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 DecorationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DecorationType[] 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

UNDERLINE

public static final DecorationType UNDERLINE
The 'Underline' literal object.

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

OVERLINE

public static final DecorationType OVERLINE
The 'Overline' literal object.

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

BLINK

public static final DecorationType BLINK
The 'Blink' literal object.

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

LINE_THROUGH

public static final DecorationType LINE_THROUGH
The 'Line Through' literal object.

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

NONE

public static final DecorationType NONE
The 'None' literal object.

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

UNDERLINE_VALUE

public static final int UNDERLINE_VALUE
The 'Underline' literal value.

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

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

OVERLINE_VALUE

public static final int OVERLINE_VALUE
The 'Overline' literal value.

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

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

BLINK_VALUE

public static final int BLINK_VALUE
The 'Blink' literal value.

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

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

LINE_THROUGH_VALUE

public static final int LINE_THROUGH_VALUE
The 'Line Through' literal value.

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

See Also:
LINE_THROUGH, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=lineThrough
literal=line-through
Ordered

NONE_VALUE

public static final int NONE_VALUE
The 'None' literal value.

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

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

VALUES

public static final List<DecorationType> VALUES
A public read-only list of all the 'Decoration Type' enumerators.

Generated:
This code was automatically generated.
Method Detail

values

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

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

valueOf

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

Generated:
This code was automatically generated.

getByName

public static DecorationType getByName(String name)
Returns the 'Decoration Type' literal with the specified name.

Generated:
This code was automatically generated.

get

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