|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.util.AbstractEnumerator
org.eclipse.gmf.runtime.notation.MeasurementUnit
public final class MeasurementUnit
A representation of the literals of the enumeration 'Measurement Unit', and utility methods for working with them.
NotationPackage.getMeasurementUnit(),
Serialized Form| Field Summary | |
|---|---|
static int |
HIMETRIC
The 'Himetric' literal value |
static MeasurementUnit |
HIMETRIC_LITERAL
The 'Himetric' literal object |
static int |
PIXEL
The 'Pixel' literal value |
static MeasurementUnit |
PIXEL_LITERAL
The 'Pixel' literal object |
static java.util.List |
VALUES
A public read-only list of all the 'Measurement Unit' enumerators |
| Method Summary | |
|---|---|
static MeasurementUnit |
get(int value)
Returns the 'Measurement Unit' literal with the specified integer value |
static MeasurementUnit |
get(java.lang.String literal)
Returns the 'Measurement Unit' literal with the specified literal value |
static MeasurementUnit |
getByName(java.lang.String name)
Returns the 'Measurement Unit' literal with the specified name |
| Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator |
|---|
getLiteral, getName, getValue, toString, writeReplace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int HIMETRIC
If the meaning of 'Himetric' literal object isn't clear, there really should be more of a description here...
HIMETRIC_LITERAL,
Constant Field Valuespublic static final int PIXEL
If the meaning of 'Pixel' literal object isn't clear, there really should be more of a description here...
PIXEL_LITERAL,
Constant Field Valuespublic static final MeasurementUnit HIMETRIC_LITERAL
HIMETRICpublic static final MeasurementUnit PIXEL_LITERAL
PIXELpublic static final java.util.List VALUES
| Method Detail |
|---|
public static MeasurementUnit get(java.lang.String literal)
public static MeasurementUnit getByName(java.lang.String name)
public static MeasurementUnit get(int value)
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.