com.partnersoft.formats.dxf
Enum DxfVerticalJustification

java.lang.Object
  extended by java.lang.Enum<DxfVerticalJustification>
      extended by com.partnersoft.formats.dxf.DxfVerticalJustification
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DxfVerticalJustification>

public enum DxfVerticalJustification
extends java.lang.Enum<DxfVerticalJustification>

Methods of justifying text horizontally (along X axis).

This appears as group code 72 in TEXT, ATTRIB, and other entities.

Copyright 2006 Partner Software, Inc.

Version:
$Id: DxfVerticalJustification.java 1012 2007-11-24 18:30:02Z paul $
Author:
Paul Reavis

Enum Constant Summary
BASELINE
           
BOTTOM
           
MIDDLE
           
TOP
           
 
Method Summary
 int getCode()
           
 java.lang.String getName()
           
 java.lang.String toString()
           
static DxfVerticalJustification valueForCode(int code)
           
static DxfVerticalJustification valueNamed(java.lang.String name)
           
static DxfVerticalJustification valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DxfVerticalJustification[] 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

BASELINE

public static final DxfVerticalJustification BASELINE

BOTTOM

public static final DxfVerticalJustification BOTTOM

MIDDLE

public static final DxfVerticalJustification MIDDLE

TOP

public static final DxfVerticalJustification TOP
Method Detail

values

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

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

valueOf

public static DxfVerticalJustification valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<DxfVerticalJustification>

getName

public java.lang.String getName()

getCode

public int getCode()

valueNamed

public static DxfVerticalJustification valueNamed(java.lang.String name)

valueForCode

public static DxfVerticalJustification valueForCode(int code)