org.eclipse.birt.chart.model.attribute
Class Stretch

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by org.eclipse.birt.chart.model.attribute.Stretch
All Implemented Interfaces:
java.io.Serializable, org.eclipse.emf.common.util.Enumerator

public final class Stretch
extends org.eclipse.emf.common.util.AbstractEnumerator

A representation of the literals of the enumeration ' Stretch', and utility methods for working with them. This type represents the options available for stretching (filling) block contents.

See Also:
AttributePackage.getStretch(), Serialized Form

Field Summary
static int BOTH
          The 'Both' literal value.
static Stretch BOTH_LITERAL
          The 'Both' literal object.
static int HORIZONTAL
          The 'Horizontal' literal value.
static Stretch HORIZONTAL_LITERAL
          The 'Horizontal' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Stretch' enumerators.
static int VERTICAL
          The 'Vertical' literal value.
static Stretch VERTICAL_LITERAL
          The 'Vertical' literal object.
 
Method Summary
static Stretch get(int value)
          Returns the 'Stretch' literal with the specified integer value.
static Stretch get(java.lang.String literal)
          Returns the 'Stretch' literal with the specified literal value.
static Stretch getByName(java.lang.String name)
          Returns the 'Stretch' literal with the specified name.
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HORIZONTAL

public static final int HORIZONTAL
The 'Horizontal' literal value.

See Also:
HORIZONTAL_LITERAL, Constant Field Values

VERTICAL

public static final int VERTICAL
The 'Vertical' literal value.

See Also:
VERTICAL_LITERAL, Constant Field Values

BOTH

public static final int BOTH
The 'Both' literal value.

See Also:
BOTH_LITERAL, Constant Field Values

HORIZONTAL_LITERAL

public static final Stretch HORIZONTAL_LITERAL
The 'Horizontal' literal object.

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

See Also:
HORIZONTAL

VERTICAL_LITERAL

public static final Stretch VERTICAL_LITERAL
The 'Vertical' literal object.

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

See Also:
VERTICAL

BOTH_LITERAL

public static final Stretch BOTH_LITERAL
The 'Both' literal object.

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

See Also:
BOTH

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Stretch' enumerators.

Method Detail

get

public static Stretch get(java.lang.String literal)
Returns the 'Stretch' literal with the specified literal value.


getByName

public static Stretch getByName(java.lang.String name)
Returns the 'Stretch' literal with the specified name.


get

public static Stretch get(int value)
Returns the 'Stretch' literal with the specified integer value.



Copyright © 2005-2008 Actuate Corp. All rights reserved.