ChoiceBoxElement

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

public class ChoiceBoxElement extends OmrElement

表示 ChoiceBox 问题

构造函数

构造函数描述
ChoiceBoxElement()初始化一个新的 ChoiceBoxElement 类实例

字段

字段描述
ElementType

方法

方法描述
addBubble(String name, int width, int height, int top, int left, boolean isValid)在问题中添加气泡
equals(Object arg0)
getBubbleHeight()
getBubbleWidth()
getBubbles()获取或设置气泡集合
getClass()
getHeight()获取或设置问题高度
getLeft()获取或设置问题左侧位置
getMultipleSelectionAllowed()获取或设置指示是否允许多选的值
getName()获取问题名称
getOrientation()
getOrientationString()获取方向属性的字符串表示
getRect()
getTop()获取或设置问题顶部位置
getWidth()获取或设置问题宽度
hashCode()
isAlignedHorizontal()获取或设置一个值,指示气泡是否水平对齐
isAlignedVertical()获取或设置一个值,指示气泡是否垂直对齐
notify()
notifyAll()
setAlignedHorizontal(boolean value)获取或设置一个值,指示气泡是否水平对齐
setAlignedVertical(boolean value)获取或设置一个值,指示气泡是否垂直对齐
setBubbleHeight(double value)
setBubbleWidth(double value)
setBubbles(System.Collections.Generic.List value)获取或设置气泡集合
setHeight(double value)获取或设置问题高度
setLeft(double value)获取或设置问题左侧位置
setMultipleSelectionAllowed(boolean value)获取或设置指示是否允许多选的值
setName(String value)设置问题名称
setOrientation(int value)
setTop(double value)获取或设置问题顶部位置
setWidth(double value)获取或设置问题宽度
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ChoiceBoxElement()

public ChoiceBoxElement()

初始化一个新的 ChoiceBoxElement 类实例

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)

在问题中添加气泡

Parameters:

参数类型描述
名称java.lang.String气泡名称
宽度int气泡宽度
高度int气泡高度
顶部int气泡顶部位置
左侧int气泡左侧位置
isValidboolean气泡有效标志

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
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()

获取或设置气泡集合

Returns: com.aspose.ms.System.Collections.Generic.List<com.aspose.omr.OmrBubble> - 气泡集合

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getHeight()

public final double getHeight()

获取或设置问题高度

Returns: double - 高度

getLeft()

public final double getLeft()

获取或设置问题左侧位置

Returns: double - 左侧

getMultipleSelectionAllowed()

public final boolean getMultipleSelectionAllowed()

获取或设置指示是否允许多选的值

Returns: boolean - 指示是否允许多选的值

getName()

public final String getName()

获取问题名称

Returns: java.lang.String - 问题名称

getOrientation()

public final int getOrientation()

Returns: int

getOrientationString()

public final String getOrientationString()

获取方向属性的字符串表示

Returns: java.lang.String - 方向属性的字符串表示

getRect()

public System.Drawing.RectangleF getRect()

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

getTop()

public final double getTop()

获取或设置问题顶部位置

Returns: double - 顶部

getWidth()

public final double getWidth()

获取或设置问题宽度

Returns: double - 宽度

hashCode()

public native int hashCode()

Returns: int

isAlignedHorizontal()

public final boolean isAlignedHorizontal()

获取或设置一个值,指示气泡是否水平对齐

Returns: boolean - 指示气泡是否水平对齐的值

isAlignedVertical()

public final boolean isAlignedVertical()

获取或设置一个值,指示气泡是否垂直对齐

Returns: boolean - 指示气泡是否垂直对齐的值

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAlignedHorizontal(boolean value)

public final void setAlignedHorizontal(boolean value)

获取或设置一个值,指示气泡是否水平对齐

Parameters:

参数类型描述
boolean指示气泡是否水平对齐的值

setAlignedVertical(boolean value)

public final void setAlignedVertical(boolean value)

获取或设置一个值,指示气泡是否垂直对齐

Parameters:

参数类型描述
boolean指示气泡是否垂直对齐的值

setBubbleHeight(double value)

public final void setBubbleHeight(double value)

Parameters:

参数类型描述
double

setBubbleWidth(double value)

public final void setBubbleWidth(double value)

Parameters:

参数类型描述
double

setBubbles(System.Collections.Generic.List value)

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

获取或设置气泡集合

Parameters:

参数类型描述
com.aspose.ms.System.Collections.Generic.List<com.aspose.omr.OmrBubble>气泡集合

setHeight(double value)

public final void setHeight(double value)

获取或设置问题高度

Parameters:

参数类型描述
double高度

setLeft(double value)

public final void setLeft(double value)

获取或设置问题左侧位置

Parameters:

参数类型描述
double左侧

setMultipleSelectionAllowed(boolean value)

public final void setMultipleSelectionAllowed(boolean value)

获取或设置指示是否允许多选的值

Parameters:

参数类型描述
boolean指示是否允许多选的值

setName(String value)

public final void setName(String value)

设置问题名称

Parameters:

参数类型描述
java.lang.String问题名称

setOrientation(int value)

public final void setOrientation(int value)

Parameters:

参数类型描述
int

setTop(double value)

public final void setTop(double value)

获取或设置问题顶部位置

Parameters:

参数类型描述
double顶部

setWidth(double value)

public final void setWidth(double value)

获取或设置问题宽度

Parameters:

参数类型描述
double宽度

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int