Class OrientationOptions


  • @OpenApiAll
    public class OrientationOptions
    extends java.lang.Object
    Orientation options for layouter option groups
    • Field Detail

      • SPECIFIED_BY_DIAGRAM

        public static final java.lang.String SPECIFIED_BY_DIAGRAM
        See Also:
        Constant Field Values
      • ORIENTATIONS

        public static final java.util.List ORIENTATIONS
    • Constructor Detail

      • OrientationOptions

        public OrientationOptions()
    • Method Detail

      • getOrientation

        public static byte getOrientation​(java.lang.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​(java.lang.String orientation)
      • isHorizontal

        public static boolean isHorizontal​(java.lang.String orientation)
      • getReversed

        public static java.lang.String getReversed​(java.lang.String orientation)
      • getClockwiseOrientation

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

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