Class OrientationOptions

java.lang.Object
com.nomagic.magicdraw.core.options.OrientationOptions

@OpenApiAll public class OrientationOptions extends Object
Orientation options for layouter option groups
  • Field Details

  • Constructor Details

    • OrientationOptions

      public OrientationOptions()
  • Method Details

    • getOrientation

      public static byte getOrientation(String orientation)
      Translates layouter option group orientation to core layouter byte orientation representation. Only needed for custom layouter implementations.
      Parameters:
      orientation - layout options group orientation
      Returns:
      core layouter mechanism orientation
    • isVertical

      public static boolean isVertical(String orientation)
    • isHorizontal

      public static boolean isHorizontal(String orientation)
    • getReversed

      public static String getReversed(String orientation)
    • getClockwiseOrientation

      public static String getClockwiseOrientation(String orientation)
      Parameters:
      orientation - orientation
      Returns:
      clockwise orientation of given one, throws an exception if argument is not valid
    • getCounterClockwiseOrientation

      public static String getCounterClockwiseOrientation(String orientation)
      Parameters:
      orientation - orientation
      Returns:
      clockwise orientation of given one, throws an exception if argument is not valid