IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.notation
Class Alignment

java.lang.Object
  extended byorg.eclipse.emf.common.util.AbstractEnumerator
      extended bycom.ibm.xtools.notation.Alignment
All Implemented Interfaces:
org.eclipse.emf.common.util.Enumerator

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

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

See Also:
NotationPackage.getAlignment()

Field Summary
static int BOTTOM
          The 'Bottom' literal value
static Alignment BOTTOM_LITERAL
          The 'Bottom' literal object
static int CENTER
          The 'Center' literal value
static Alignment CENTER_LITERAL
          The 'Center' literal object
static int LEFT
          The 'Left' literal value
static Alignment LEFT_LITERAL
          The 'Left' literal object
static int RIGHT
          The 'Right' literal value
static Alignment RIGHT_LITERAL
          The 'Right' literal object
static int TOP
          The 'Top' literal value
static Alignment TOP_LITERAL
          The 'Top' literal object
static List VALUES
          A public read-only list of all the 'Alignment' enumerators
 
Method Summary
static Alignment get(int value)
          Returns the 'Alignment' literal with the specified value
static Alignment get(String name)
          Returns the 'Alignment' literal with the specified name
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LEFT

public static final int LEFT
The 'Left' literal value.

See Also:
LEFT_LITERAL, Constant Field Values

RIGHT

public static final int RIGHT
The 'Right' literal value.

See Also:
RIGHT_LITERAL, Constant Field Values

CENTER

public static final int CENTER
The 'Center' literal value.

See Also:
CENTER_LITERAL, Constant Field Values

TOP

public static final int TOP
The 'Top' literal value.

See Also:
TOP_LITERAL, Constant Field Values

BOTTOM

public static final int BOTTOM
The 'Bottom' literal value.

See Also:
BOTTOM_LITERAL, Constant Field Values

LEFT_LITERAL

public static final Alignment LEFT_LITERAL
The 'Left' literal object.

See Also:
LEFT

RIGHT_LITERAL

public static final Alignment RIGHT_LITERAL
The 'Right' literal object.

See Also:
RIGHT

CENTER_LITERAL

public static final Alignment CENTER_LITERAL
The 'Center' literal object.

See Also:
CENTER

TOP_LITERAL

public static final Alignment TOP_LITERAL
The 'Top' literal object.

See Also:
TOP

BOTTOM_LITERAL

public static final Alignment BOTTOM_LITERAL
The 'Bottom' literal object.

See Also:
BOTTOM

VALUES

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

Method Detail

get

public static Alignment get(String name)
Returns the 'Alignment' literal with the specified name.


get

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


IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.