Enum VAlignType

java.lang.Object
java.lang.Enum<VAlignType>
org.pathvisio.libgpml.model.type.VAlignType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VAlignType>, java.lang.constant.Constable

public enum VAlignType
extends java.lang.Enum<VAlignType>
This enum class contains possible values for vertical text alignment property.
Author:
unknown, finterly
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant Description
    BOTTOM  
    MIDDLE  
    TOP  
  • Field Summary

    Fields
    Modifier and Type Field Description
    private java.lang.String name  
    private static java.util.Map<java.lang.String,​VAlignType> nameToVAlignType  
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    private VAlignType​(java.lang.String name)
    Constructor to initialize the state of enum types.
  • Method Summary

    Modifier and Type Method Description
    static VAlignType fromName​(java.lang.String value)
    Returns VAlignType enum constant from given string name.
    java.lang.String getName()
    Returns String.
    static java.lang.String[] getNames()
    Returns String values as an array.
    java.lang.String toString()
    Returns a string representation of this VAlignType.
    static VAlignType valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static VAlignType[] 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, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Field Details

    • name

      private final java.lang.String name
    • nameToVAlignType

      private static java.util.Map<java.lang.String,​VAlignType> nameToVAlignType
  • Constructor Details

    • VAlignType

      private VAlignType​(java.lang.String name)
      Constructor to initialize the state of enum types.
      Parameters:
      name - the string.
  • Method Details

    • values

      public static VAlignType[] 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 VAlignType 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
    • getName

      public java.lang.String getName()
      Returns String.
      Returns:
      gpmlName the string value.
    • fromName

      public static VAlignType fromName​(java.lang.String value)
      Returns VAlignType enum constant from given string name.
      Parameters:
      value - the string value.
      Returns:
      VAlignType enum constant.
    • getNames

      public static java.lang.String[] getNames()
      Returns String values as an array.
      Returns:
      result the string array.
    • toString

      public java.lang.String toString()
      Returns a string representation of this VAlignType.
      Overrides:
      toString in class java.lang.Enum<VAlignType>
      Returns:
      name the identifier of this VAlignType.