ChoiceBoxElement
Inheritance: java.lang.Object, com.aspose.omr.OmrElement
public class ChoiceBoxElement extends OmrElement
Represents ChoiceBox question
Constructors
Constructor | Description |
---|---|
ChoiceBoxElement() | Initializes a new instance of the ChoiceBoxElement class |
Fields
Field | Description |
---|---|
ElementType |
Methods
Method | Description |
---|---|
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 | 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:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | Bubble name |
width | int | Bubble width |
height | int | Bubble height |
top | int | Bubble top position |
left | int | Bubble left position |
isValid | boolean | Bubble valid flag |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
value | boolean | a 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:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether bubbles aligned vertically |
setBubbleHeight(double value)
public final void setBubbleHeight(double value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setBubbleWidth(double value)
public final void setBubbleWidth(double value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setBubbles(System.Collections.Generic.List value)
public final void setBubbles(System.Collections.Generic.List<OmrBubble> value)
Gets or sets bubbles collection
Parameters:
Parameter | Type | Description |
---|---|---|
value | com.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:
Parameter | Type | Description |
---|---|---|
value | double | The height |
setLeft(double value)
public final void setLeft(double value)
Gets or sets question left position
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | The left |
setMultipleSelectionAllowed(boolean value)
public final void setMultipleSelectionAllowed(boolean value)
Gets or sets a value indicating whether multiple selection is allowed
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether multiple selection is allowed |
setName(String value)
public final void setName(String value)
Sets question name
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The question name |
setOrientation(int value)
public final void setOrientation(int value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setTop(double value)
public final void setTop(double value)
Gets or sets question top position
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | The top |
setWidth(double value)
public final void setWidth(double value)
Gets or sets question width
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | The 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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |