ChoiceBoxElement

Inheritance: java.lang.Object, com.aspose.omr.OmrElement

public class ChoiceBoxElement extends OmrElement

Represents ChoiceBox question

Constructors

ConstructorDescription
ChoiceBoxElement()Initializes a new instance of the ChoiceBoxElement class

Fields

FieldDescription
ElementType

Methods

MethodDescription
addBubble(String name, int width, int height, int top, int left, boolean isValid)Adds bubble inside question
equals(Object arg0)
getBubbleHeight()
getBubbleWidth()
getBubbles()Gets or sets bubbles collection
getClass()
getHeight()Gets or sets question height
getLeft()Gets or sets question left position
getMultipleSelectionAllowed()Gets or sets a value indicating whether multiple selection is allowed
getName()Gets question name
getOrientation()
getOrientationString()Gets string representation of orientation property
getRect()
getTop()Gets or sets question top position
getWidth()Gets or sets question width
hashCode()
isAlignedHorizontal()Gets or sets a value indicating whether bubbles aligned horizontally
isAlignedVertical()Gets or sets a value indicating whether bubbles aligned vertically
notify()
notifyAll()
setAlignedHorizontal(boolean value)Gets or sets a value indicating whether bubbles aligned horizontally
setAlignedVertical(boolean value)Gets or sets a value indicating whether bubbles aligned vertically
setBubbleHeight(double value)
setBubbleWidth(double value)
setBubbles(System.Collections.Generic.List value)Gets or sets bubbles collection
setHeight(double value)Gets or sets question height
setLeft(double value)Gets or sets question left position
setMultipleSelectionAllowed(boolean value)Gets or sets a value indicating whether multiple selection is allowed
setName(String value)Sets question name
setOrientation(int value)
setTop(double value)Gets or sets question top position
setWidth(double value)Gets or sets question width
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ChoiceBoxElement()

public ChoiceBoxElement()

Initializes a new instance of the ChoiceBoxElement class

ElementType

public String ElementType

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

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

Adds bubble inside question

Parameters:

ParameterTypeDescription
namejava.lang.StringBubble name
widthintBubble width
heightintBubble height
topintBubble top position
leftintBubble left position
isValidbooleanBubble valid flag

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBubbleHeight()

public final double getBubbleHeight()

Returns: double

getBubbleWidth()

public final double getBubbleWidth()

Returns: double

getBubbles()

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

Gets or sets bubbles collection

Returns: com.aspose.ms.System.Collections.Generic.List<com.aspose.omr.OmrBubble> - bubbles collection

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getHeight()

public final double getHeight()

Gets or sets question height

Returns: double - The height

getLeft()

public final double getLeft()

Gets or sets question left position

Returns: double - The left

getMultipleSelectionAllowed()

public final boolean getMultipleSelectionAllowed()

Gets or sets a value indicating whether multiple selection is allowed

Returns: boolean - value indicating whether multiple selection is allowed

getName()

public final String getName()

Gets question name

Returns: java.lang.String - The question name

getOrientation()

public final int getOrientation()

Returns: int

getOrientationString()

public final String getOrientationString()

Gets string representation of orientation property

Returns: java.lang.String - string representation of orientation property

getRect()

public System.Drawing.RectangleF getRect()

Returns: com.aspose.ms.System.Drawing.RectangleF

getTop()

public final double getTop()

Gets or sets question top position

Returns: double - The top

getWidth()

public final double getWidth()

Gets or sets question width

Returns: double - The width

hashCode()

public native int hashCode()

Returns: int

isAlignedHorizontal()

public final boolean isAlignedHorizontal()

Gets or sets a value indicating whether bubbles aligned horizontally

Returns: boolean - value indicating whether bubbles aligned horizontally

isAlignedVertical()

public final boolean isAlignedVertical()

Gets or sets a value indicating whether bubbles aligned vertically

Returns: boolean - a value indicating whether bubbles aligned vertically

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAlignedHorizontal(boolean value)

public final void setAlignedHorizontal(boolean value)

Gets or sets a value indicating whether bubbles aligned horizontally

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether bubbles aligned horizontally

setAlignedVertical(boolean value)

public final void setAlignedVertical(boolean value)

Gets or sets a value indicating whether bubbles aligned vertically

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether bubbles aligned vertically

setBubbleHeight(double value)

public final void setBubbleHeight(double value)

Parameters:

ParameterTypeDescription
valuedouble

setBubbleWidth(double value)

public final void setBubbleWidth(double value)

Parameters:

ParameterTypeDescription
valuedouble

setBubbles(System.Collections.Generic.List value)

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

Gets or sets bubbles collection

Parameters:

ParameterTypeDescription
valuecom.aspose.ms.System.Collections.Generic.List<com.aspose.omr.OmrBubble>bubbles collection

setHeight(double value)

public final void setHeight(double value)

Gets or sets question height

Parameters:

ParameterTypeDescription
valuedoubleThe height

setLeft(double value)

public final void setLeft(double value)

Gets or sets question left position

Parameters:

ParameterTypeDescription
valuedoubleThe left

setMultipleSelectionAllowed(boolean value)

public final void setMultipleSelectionAllowed(boolean value)

Gets or sets a value indicating whether multiple selection is allowed

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether multiple selection is allowed

setName(String value)

public final void setName(String value)

Sets question name

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe question name

setOrientation(int value)

public final void setOrientation(int value)

Parameters:

ParameterTypeDescription
valueint

setTop(double value)

public final void setTop(double value)

Gets or sets question top position

Parameters:

ParameterTypeDescription
valuedoubleThe top

setWidth(double value)

public final void setWidth(double value)

Gets or sets question width

Parameters:

ParameterTypeDescription
valuedoubleThe width

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int