Enum Class ENUMTextAnchor

java.lang.Object
java.lang.Enum<ENUMTextAnchor>
org.eclnt.ccaddons.diagram.ENUMTextAnchor
All Implemented Interfaces:
Serializable, Comparable<ENUMTextAnchor>, Constable

public enum ENUMTextAnchor extends Enum<ENUMTextAnchor>
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static ENUMTextAnchor[] 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 ENUMTextAnchor 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
    • getLineTextAnchors

      public static final ENUMTextAnchor[] getLineTextAnchors()
    • getShapeTextAnchors

      public static final ENUMTextAnchor[] getShapeTextAnchors()
    • getTextboundsanchorPropertyValue

      public String getTextboundsanchorPropertyValue()
    • getAlign

      public String getAlign()
    • getValign

      public String getValign()
    • getTextRelXDefault

      public int getTextRelXDefault()
    • getTextRelYDefault

      public int getTextRelYDefault()
    • getBoundsForEdit

      public String getBoundsForEdit(ChartShapeInstance csi, int z)
    • getBoundsForExternText

      public String getBoundsForExternText(ChartShapeInstance csi, int z)
    • getBoundsForText

      public String getBoundsForText(ChartShapeInstance csi, int z)
    • getExternTextHeight

      public int getExternTextHeight(ChartShapeInstance csi)
    • getBoundsForExternText

      public String getBoundsForExternText(ChartLineInstance cli, ChartShapeInstance shapeFrom, ChartShapeInstance shapeTo, ShapeType shapeFromType, ShapeType shapeToType, Chart chart)
    • getTextCoords

      public int[] getTextCoords(ChartShapeInstance csi)
    • getTextCoords

      public int[] getTextCoords(ChartShapeInstance csi, int fontSize)
    • getBounds

      public String getBounds(int[] coords, int textWidth, int textHeight, int z)
    • getBounds

      public String getBounds(int x, int y, int textWidth, int textHeight, int shapeWidth, int shapeHeight, int x_rel, int y_rel, int z)
    • isTextIntern

      public boolean isTextIntern()
    • isTextExtern

      public boolean isTextExtern()