com.aspose.omr

Class ChoiceBoxElement



  • public class ChoiceBoxElement
    extends OmrElement

    Represents ChoiceBox question

    • Field Detail

      • ElementType

        @SerializedName(value="Type")
        public String ElementType
    • Constructor Detail

      • ChoiceBoxElement

        public ChoiceBoxElement()

        Initializes a new instance of the ChoiceBoxElement class

    • Method Detail

      • getMultipleSelectionAllowed

        public final boolean getMultipleSelectionAllowed()

        Gets or sets a value indicating whether multiple selection is allowed

        Returns:
        value indicating whether multiple selection is allowed
      • setMultipleSelectionAllowed

        public final void setMultipleSelectionAllowed(boolean value)

        Gets or sets a value indicating whether multiple selection is allowed

        Parameters:
        value - a value indicating whether multiple selection is allowed
      • getBubbleWidth

        public final double getBubbleWidth()
      • setBubbleWidth

        public final void setBubbleWidth(double value)
      • getBubbleHeight

        public final double getBubbleHeight()
      • setBubbleHeight

        public final void setBubbleHeight(double value)
      • getOrientation

        public final int getOrientation()
      • setOrientation

        public final void setOrientation(int value)
      • getOrientationString

        public final String getOrientationString()

        Gets string representation of orientation property

        Returns:
        string representation of orientation property
      • isAlignedHorizontal

        public final boolean isAlignedHorizontal()

        Gets or sets a value indicating whether bubbles aligned horizontally

        Returns:
        value indicating whether bubbles aligned horizontally
      • setAlignedHorizontal

        public final void setAlignedHorizontal(boolean value)

        Gets or sets a value indicating whether bubbles aligned horizontally

        Parameters:
        value - a value indicating whether bubbles aligned horizontally
      • isAlignedVertical

        public final boolean isAlignedVertical()

        Gets or sets a value indicating whether bubbles aligned vertically

        Returns:
        a value indicating whether bubbles aligned vertically
      • setAlignedVertical

        public final void setAlignedVertical(boolean value)

        Gets or sets a value indicating whether bubbles aligned vertically

        Parameters:
        value - a value indicating whether bubbles aligned vertically
      • getBubbles

        public final com.aspose.ms.System.Collections.Generic.List<OmrBubble> getBubbles()

        Gets or sets bubbles collection

        Returns:
        bubbles collection
      • setBubbles

        public final void setBubbles(com.aspose.ms.System.Collections.Generic.List<OmrBubble> value)

        Gets or sets bubbles collection

        Parameters:
        value - bubbles collection
      • addBubble

        public final void addBubble(String name,
                                    int width,
                                    int height,
                                    int top,
                                    int left,
                                    boolean isValid)

        Adds bubble inside question

        Parameters:
        name - Bubble name
        width - Bubble width
        height - Bubble height
        top - Bubble top position
        left - Bubble left position
        isValid - Bubble valid flag