Enum Class ArrowAnnotation.AnchorType

java.lang.Object
java.lang.Enum<ArrowAnnotation.AnchorType>
org.cytoscape.view.presentation.annotations.ArrowAnnotation.AnchorType
All Implemented Interfaces:
Serializable, Comparable<ArrowAnnotation.AnchorType>, java.lang.constant.Constable
Enclosing interface:
ArrowAnnotation

public static enum ArrowAnnotation.AnchorType extends Enum<ArrowAnnotation.AnchorType>
This enum is used to indicate how the arrow is anchored to the source or target. CENTER anchors draw all the way to the center of the object, and ANCHOR anchors will anchor to the closest corner or midpoint on the bounding box of the object.
  • Enum Constant Details

  • Method Details

    • values

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

      public static ArrowAnnotation.AnchorType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null