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

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

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

A representation of the literals of the enumeration ' Units Of Measurement', and utility methods for working with them. This type represents the possible values of Units of Measurement.

See Also:
AttributePackage.getUnitsOfMeasurement(), Serialized Form

Field Summary
static int CENTIMETERS
          The 'Centimeters' literal value.
static UnitsOfMeasurement CENTIMETERS_LITERAL
          The 'Centimeters' literal object.
static int INCHES
          The 'Inches' literal value.
static UnitsOfMeasurement INCHES_LITERAL
          The 'Inches' literal object.
static int PIXELS
          The 'Pixels' literal value.
static UnitsOfMeasurement PIXELS_LITERAL
          The 'Pixels' literal object.
static int POINTS
          The 'Points' literal value.
static UnitsOfMeasurement POINTS_LITERAL
          The 'Points' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Units Of Measurement' enumerators.
 
Method Summary
static UnitsOfMeasurement get(int value)
          Returns the 'Units Of Measurement' literal with the specified integer value.
static UnitsOfMeasurement get(java.lang.String literal)
          Returns the 'Units Of Measurement' literal with the specified literal value.
static UnitsOfMeasurement getByName(java.lang.String name)
          Returns the 'Units Of Measurement' 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

PIXELS

public static final int PIXELS
The 'Pixels' literal value.

See Also:
PIXELS_LITERAL, Constant Field Values

POINTS

public static final int POINTS
The 'Points' literal value.

See Also:
POINTS_LITERAL, Constant Field Values

INCHES

public static final int INCHES
The 'Inches' literal value.

See Also:
INCHES_LITERAL, Constant Field Values

CENTIMETERS

public static final int CENTIMETERS
The 'Centimeters' literal value.

See Also:
CENTIMETERS_LITERAL, Constant Field Values

PIXELS_LITERAL

public static final UnitsOfMeasurement PIXELS_LITERAL
The 'Pixels' literal object.

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

See Also:
PIXELS

POINTS_LITERAL

public static final UnitsOfMeasurement POINTS_LITERAL
The 'Points' literal object.

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

See Also:
POINTS

INCHES_LITERAL

public static final UnitsOfMeasurement INCHES_LITERAL
The 'Inches' literal object.

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

See Also:
INCHES

CENTIMETERS_LITERAL

public static final UnitsOfMeasurement CENTIMETERS_LITERAL
The 'Centimeters' literal object.

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

See Also:
CENTIMETERS

VALUES

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

Method Detail

get

public static UnitsOfMeasurement get(java.lang.String literal)
Returns the 'Units Of Measurement' literal with the specified literal value.


getByName

public static UnitsOfMeasurement getByName(java.lang.String name)
Returns the 'Units Of Measurement' literal with the specified name.


get

public static UnitsOfMeasurement get(int value)
Returns the 'Units Of Measurement' literal with the specified integer value.



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