Enum Align

java.lang.Object
java.lang.Enum<Align>
gdv.xport.feld.Align
All Implemented Interfaces:
Serializable, Comparable<Align>, Constable

public enum Align extends Enum<Align>
Ausrichtung: rechts- oder linksbuendig (left, right).
Since:
12.10.2009
Version:
$Revision$
Author:
oliver
  • Enum Constant Details

    • UNKNOWN

      public static final Align UNKNOWN
      unbekannt.
    • LEFT

      public static final Align LEFT
      linksbuendig.
  • Method Details

    • values

      public static Align[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

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

      public byte getCode()
      Liefert den Code zurueck.
      Returns:
      1 oder 2
    • of

      public static Align of(byte b)
      Wandelt das uebergebene Byte in ein Aling-Objekt um.
      Parameters:
      b - 1 oder 2
      Returns:
      LEFT oder RIGHT