public class ChoiceBoxElement extends OmrElement
Represents ChoiceBox question
Modifier and Type | Field and Description |
---|---|
String |
ElementType |
Constructor and Description |
---|
ChoiceBoxElement()
Initializes a new instance of the
ChoiceBoxElement class
|
Modifier and Type | Method and Description |
---|---|
void |
addBubble(String name,
int width,
int height,
int top,
int left,
boolean isValid)
Adds bubble inside question
|
double |
getBubbleHeight() |
com.aspose.ms.System.Collections.Generic.List<OmrBubble> |
getBubbles()
Gets or sets bubbles collection
|
double |
getBubbleWidth() |
boolean |
getMultipleSelectionAllowed()
Gets or sets a value indicating whether multiple selection is allowed
|
int |
getOrientation() |
String |
getOrientationString()
Gets string representation of orientation property
|
boolean |
isAlignedHorizontal()
Gets or sets a value indicating whether bubbles aligned horizontally
|
boolean |
isAlignedVertical()
Gets or sets a value indicating whether bubbles aligned vertically
|
void |
setAlignedHorizontal(boolean value)
Gets or sets a value indicating whether bubbles aligned horizontally
|
void |
setAlignedVertical(boolean value)
Gets or sets a value indicating whether bubbles aligned vertically
|
void |
setBubbleHeight(double value) |
void |
setBubbles(com.aspose.ms.System.Collections.Generic.List<OmrBubble> value)
Gets or sets bubbles collection
|
void |
setBubbleWidth(double value) |
void |
setMultipleSelectionAllowed(boolean value)
Gets or sets a value indicating whether multiple selection is allowed
|
void |
setOrientation(int value) |
@SerializedName(value="Type") public String ElementType
public ChoiceBoxElement()
Initializes a new instance of the ChoiceBoxElement
class
public final boolean getMultipleSelectionAllowed()
Gets or sets a value indicating whether multiple selection is allowed
public final void setMultipleSelectionAllowed(boolean value)
Gets or sets a value indicating whether multiple selection is allowed
value
- a value indicating whether multiple selection is allowedpublic final double getBubbleWidth()
public final void setBubbleWidth(double value)
public final double getBubbleHeight()
public final void setBubbleHeight(double value)
public final int getOrientation()
public final void setOrientation(int value)
public final String getOrientationString()
Gets string representation of orientation property
public final boolean isAlignedHorizontal()
Gets or sets a value indicating whether bubbles aligned horizontally
public final void setAlignedHorizontal(boolean value)
Gets or sets a value indicating whether bubbles aligned horizontally
value
- a value indicating whether bubbles aligned horizontallypublic final boolean isAlignedVertical()
Gets or sets a value indicating whether bubbles aligned vertically
public final void setAlignedVertical(boolean value)
Gets or sets a value indicating whether bubbles aligned vertically
value
- a value indicating whether bubbles aligned verticallypublic final com.aspose.ms.System.Collections.Generic.List<OmrBubble> getBubbles()
Gets or sets bubbles collection
public final void setBubbles(com.aspose.ms.System.Collections.Generic.List<OmrBubble> value)
Gets or sets bubbles collection
value
- bubbles collectionpublic final void addBubble(String name, int width, int height, int top, int left, boolean isValid)
Adds bubble inside question
name
- Bubble namewidth
- Bubble widthheight
- Bubble heighttop
- Bubble top positionleft
- Bubble left positionisValid
- Bubble valid flag