Enum ELabelLocation

java.lang.Object
java.lang.Enum<ELabelLocation>
de.xima.fc.common.graphdot.ELabelLocation
All Implemented Interfaces:
Serializable, CharSequence, Comparable<ELabelLocation>

public enum ELabelLocation extends Enum<ELabelLocation>
Enumeration of the values for the label location attribute.
Since:
8.2.0
Author:
XIMA MEDIA GmbH
  • Enum Constant Details

    • BOTTOM

      public static final ELabelLocation BOTTOM
      Place label at bottom.
    • CENTER

      public static final ELabelLocation CENTER
      Place label at center.
    • TOP

      public static final ELabelLocation TOP
      Place label at top.
  • Method Details

    • values

      public static ELabelLocation[] 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 ELabelLocation 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
    • getLabelLocationName

      public String getLabelLocationName()
      Returns:
      The value that needs to be used in the graph dot language for an edge statement.
    • toString

      public String toString()
      Specified by:
      toString in interface CharSequence
      Overrides:
      toString in class Enum<ELabelLocation>
    • charAt

      default char charAt(int index)
      Specified by:
      charAt in interface CharSequence
    • chars

      default IntStream chars()
      Specified by:
      chars in interface CharSequence
    • codePoints

      default IntStream codePoints()
      Specified by:
      codePoints in interface CharSequence
    • equals

      boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object
    • length

      default int length()
      Specified by:
      length in interface CharSequence
    • subSequence

      default CharSequence subSequence(int start, int end)
      Specified by:
      subSequence in interface CharSequence