ComboBoxActiveXControl
Inheritance: java.lang.Object, com.aspose.cells.ActiveXControlBase, com.aspose.cells.ActiveXControl
public class ComboBoxActiveXControl extends ActiveXControl
Represents a ComboBox ActiveX control.
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getBackOleColor() | Gets the ole color of the background. |
getBorderOleColor() | Gets the ole color of the background. |
getBorderStyle() | Gets the type of border used by the control. |
getBoundColumn() | Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMultiSelectSingle). |
getClass() | |
getColumnCount() | Represents the number of columns to display in a ComboBox or ListBox. |
getColumnWidths() | Gets the width of the column. |
getData() | Gets the binary data of the control. |
getDropButtonStyle() | Specifies the symbol displayed on the drop button |
getEnterFieldBehavior() | Specifies selection behavior when entering the control. |
getFont() | Represents the font of the control. |
getForeOleColor() | Gets the ole color of the foreground. |
getHeight() | Gets the height of the control in unit of points. |
getHideSelection() | Indicates whether selected text in the control appears highlighted when the control does not have focus. |
getIMEMode() | Gets the default run-time mode of the Input Method Editor for the control as it receives focus. |
getLinkedCell() | Gets the linked cell. |
getListFillRange() | Gets the list fill range. |
getListRows() | Represents the maximum number of rows to display in the list. |
getListStyle() | Gets the visual appearance. |
getListWidth() | Gets the width in unit of points. |
getMatchEntry() | Indicates how a ListBox or ComboBox searches its list as the user types. |
getMaxLength() | Gets the maximum number of characters |
getMouseIcon() | Gets a custom icon to display as the mouse pointer for the control. |
getMousePointer() | Gets the type of icon displayed as the mouse pointer for the control. |
getSelectionMargin() | Indicates whether the user can select a line of text by clicking in the region to the left of the text. |
getShadow() | Indicates whether to show a shadow. |
getShowColumnHeads() | Indicates whether column headings are displayed. |
getShowDropButtonTypeWhen() | Specifies the symbol displayed on the drop button |
getSpecialEffect() | Gets the special effect of the control. |
getTextAlign() | Represents how to align the text used by the control. |
getTextColumn() | Represents the column in a ComboBox or ListBox to display to the user. |
getType() | Gets the type of the ActiveX control. |
getValue() | Gets the value of the control. |
getWidth() | Gets the width of the control in unit of points. |
getWorkbook() | Gets the Workbook object. |
hashCode() | |
isAutoSize() | Indicates whether the control will automatically resize to display its entire contents. |
isAutoWordSelected() | Specifies the basic unit used to extend a selection. |
isDragBehaviorEnabled() | Indicates whether dragging and dropping is enabled for the control. |
isEditable() | Indicates whether the user can type into the control. |
isEnabled() | Indicates whether the control can receive the focus and respond to user-generated events. |
isLocked() | Indicates whether data in the control is locked for editing. |
isTransparent() | Indicates whether the control is transparent. |
isVisible() | Indicates whether this control is visible. |
notify() | |
notifyAll() | |
setAutoSize(boolean value) | Indicates whether the control will automatically resize to display its entire contents. |
setAutoWordSelected(boolean value) | Specifies the basic unit used to extend a selection. |
setBackOleColor(int value) | Sets the ole color of the background. |
setBorderOleColor(int value) | Sets the ole color of the background. |
setBorderStyle(int value) | Sets the type of border used by the control. |
setBoundColumn(int value) | Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMultiSelectSingle). |
setColumnCount(int value) | Represents the number of columns to display in a ComboBox or ListBox. |
setColumnWidths(double value) | Sets the width of the column. |
setDragBehaviorEnabled(boolean value) | Indicates whether dragging and dropping is enabled for the control. |
setDropButtonStyle(int value) | Specifies the symbol displayed on the drop button |
setEditable(boolean value) | Indicates whether the user can type into the control. |
setEnabled(boolean value) | Indicates whether the control can receive the focus and respond to user-generated events. |
setEnterFieldBehavior(boolean value) | Specifies selection behavior when entering the control. |
setForeOleColor(int value) | Sets the ole color of the foreground. |
setHeight(double value) | Sets the height of the control in unit of points. |
setHideSelection(boolean value) | Indicates whether selected text in the control appears highlighted when the control does not have focus. |
setIMEMode(int value) | Sets the default run-time mode of the Input Method Editor for the control as it receives focus. |
setLinkedCell(String value) | Sets the linked cell. |
setListFillRange(String value) | Sets the list fill range. |
setListRows(int value) | Represents the maximum number of rows to display in the list. |
setListStyle(int value) | Sets the visual appearance. |
setListWidth(double value) | Sets the width in unit of points. |
setLocked(boolean value) | Indicates whether data in the control is locked for editing. |
setMatchEntry(int value) | Indicates how a ListBox or ComboBox searches its list as the user types. |
setMaxLength(int value) | Sets the maximum number of characters |
setMouseIcon(byte[] value) | Sets a custom icon to display as the mouse pointer for the control. |
setMousePointer(int value) | Sets the type of icon displayed as the mouse pointer for the control. |
setSelectionMargin(boolean value) | Indicates whether the user can select a line of text by clicking in the region to the left of the text. |
setShadow(boolean value) | Indicates whether to show a shadow. |
setShowColumnHeads(boolean value) | Indicates whether column headings are displayed. |
setShowDropButtonTypeWhen(int value) | Specifies the symbol displayed on the drop button |
setSpecialEffect(int value) | Sets the special effect of the control. |
setTextAlign(int value) | Represents how to align the text used by the control. |
setTextColumn(int value) | Represents the column in a ComboBox or ListBox to display to the user. |
setTransparent(boolean value) | Indicates whether the control is transparent. |
setValue(String value) | Sets the value of the control. |
setVisible(boolean value) | Indicates whether this control is visible. |
setWidth(double value) | Sets the width of the control in unit of points. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getBackOleColor()
public int getBackOleColor()
Gets the ole color of the background.
Returns: int
getBorderOleColor()
public int getBorderOleColor()
Gets the ole color of the background.
Returns: int
getBorderStyle()
public int getBorderStyle()
Gets the type of border used by the control.
See ControlBorderType.
Returns: int
getBoundColumn()
public int getBoundColumn()
Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMultiSelectSingle).
Returns: int
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getColumnCount()
public int getColumnCount()
Represents the number of columns to display in a ComboBox or ListBox.
Returns: int
getColumnWidths()
public double getColumnWidths()
Gets the width of the column.
Returns: double
getData()
public byte[] getData()
Gets the binary data of the control.
Returns: byte[]
getDropButtonStyle()
public int getDropButtonStyle()
Specifies the symbol displayed on the drop button
See DropButtonStyle.
Returns: int
getEnterFieldBehavior()
public boolean getEnterFieldBehavior()
Specifies selection behavior when entering the control. True specifies that the selection remains unchanged from last time the control was active. False specifies that all the text in the control will be selected when entering the control.
Returns: boolean
getFont()
public Font getFont()
Represents the font of the control.
Returns: Font
getForeOleColor()
public int getForeOleColor()
Gets the ole color of the foreground.
Remarks
Not applies to Image control.
Returns: int
getHeight()
public double getHeight()
Gets the height of the control in unit of points.
Returns: double
getHideSelection()
public boolean getHideSelection()
Indicates whether selected text in the control appears highlighted when the control does not have focus.
Returns: boolean
getIMEMode()
public int getIMEMode()
Gets the default run-time mode of the Input Method Editor for the control as it receives focus.
Returns: int
getLinkedCell()
public String getLinkedCell()
Gets the linked cell.
Returns: java.lang.String
getListFillRange()
public String getListFillRange()
Gets the list fill range.
Returns: java.lang.String
getListRows()
public int getListRows()
Represents the maximum number of rows to display in the list.
Returns: int
getListStyle()
public int getListStyle()
Gets the visual appearance.
See ControlListStyle.
Returns: int
getListWidth()
public double getListWidth()
Gets the width in unit of points.
Returns: double
getMatchEntry()
public int getMatchEntry()
Indicates how a ListBox or ComboBox searches its list as the user types.
Returns: int
getMaxLength()
public int getMaxLength()
Gets the maximum number of characters
Returns: int
getMouseIcon()
public byte[] getMouseIcon()
Gets a custom icon to display as the mouse pointer for the control.
Returns: byte[]
getMousePointer()
public int getMousePointer()
Gets the type of icon displayed as the mouse pointer for the control.
Returns: int
getSelectionMargin()
public boolean getSelectionMargin()
Indicates whether the user can select a line of text by clicking in the region to the left of the text.
Returns: boolean
getShadow()
public boolean getShadow()
Indicates whether to show a shadow.
Returns: boolean
getShowColumnHeads()
public boolean getShowColumnHeads()
Indicates whether column headings are displayed.
Returns: boolean
getShowDropButtonTypeWhen()
public int getShowDropButtonTypeWhen()
Specifies the symbol displayed on the drop button
See ShowDropButtonType.
Returns: int
getSpecialEffect()
public int getSpecialEffect()
Gets the special effect of the control.
Returns: int
getTextAlign()
public int getTextAlign()
Represents how to align the text used by the control.
See TextAlignmentType.
Returns: int
getTextColumn()
public int getTextColumn()
Represents the column in a ComboBox or ListBox to display to the user.
Returns: int
getType()
public int getType()
Gets the type of the ActiveX control.
See ControlType.
Returns: int
getValue()
public String getValue()
Gets the value of the control.
Returns: java.lang.String
getWidth()
public double getWidth()
Gets the width of the control in unit of points.
Returns: double
getWorkbook()
public Workbook getWorkbook()
Gets the Workbook object.
Returns: Workbook
hashCode()
public native int hashCode()
Returns: int
isAutoSize()
public boolean isAutoSize()
Indicates whether the control will automatically resize to display its entire contents.
Returns: boolean
isAutoWordSelected()
public boolean isAutoWordSelected()
Specifies the basic unit used to extend a selection. True specifies that the basic unit is a single character. false specifies that the basic unit is a whole word.
Returns: boolean
isDragBehaviorEnabled()
public boolean isDragBehaviorEnabled()
Indicates whether dragging and dropping is enabled for the control.
Returns: boolean
isEditable()
public boolean isEditable()
Indicates whether the user can type into the control.
Returns: boolean
isEnabled()
public boolean isEnabled()
Indicates whether the control can receive the focus and respond to user-generated events.
Returns: boolean
isLocked()
public boolean isLocked()
Indicates whether data in the control is locked for editing.
Returns: boolean
isTransparent()
public boolean isTransparent()
Indicates whether the control is transparent.
Returns: boolean
isVisible()
public boolean isVisible()
Indicates whether this control is visible.
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAutoSize(boolean value)
public void setAutoSize(boolean value)
Indicates whether the control will automatically resize to display its entire contents.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setAutoWordSelected(boolean value)
public void setAutoWordSelected(boolean value)
Specifies the basic unit used to extend a selection. True specifies that the basic unit is a single character. false specifies that the basic unit is a whole word.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setBackOleColor(int value)
public void setBackOleColor(int value)
Sets the ole color of the background.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setBorderOleColor(int value)
public void setBorderOleColor(int value)
Sets the ole color of the background.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setBorderStyle(int value)
public void setBorderStyle(int value)
Sets the type of border used by the control.
See ControlBorderType.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setBoundColumn(int value)
public void setBoundColumn(int value)
Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMultiSelectSingle).
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setColumnCount(int value)
public void setColumnCount(int value)
Represents the number of columns to display in a ComboBox or ListBox.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setColumnWidths(double value)
public void setColumnWidths(double value)
Sets the width of the column.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setDragBehaviorEnabled(boolean value)
public void setDragBehaviorEnabled(boolean value)
Indicates whether dragging and dropping is enabled for the control.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setDropButtonStyle(int value)
public void setDropButtonStyle(int value)
Specifies the symbol displayed on the drop button
See DropButtonStyle.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setEditable(boolean value)
public void setEditable(boolean value)
Indicates whether the user can type into the control.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setEnabled(boolean value)
public void setEnabled(boolean value)
Indicates whether the control can receive the focus and respond to user-generated events.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setEnterFieldBehavior(boolean value)
public void setEnterFieldBehavior(boolean value)
Specifies selection behavior when entering the control. True specifies that the selection remains unchanged from last time the control was active. False specifies that all the text in the control will be selected when entering the control.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setForeOleColor(int value)
public void setForeOleColor(int value)
Sets the ole color of the foreground.
Remarks
Not applies to Image control.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setHeight(double value)
public void setHeight(double value)
Sets the height of the control in unit of points.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setHideSelection(boolean value)
public void setHideSelection(boolean value)
Indicates whether selected text in the control appears highlighted when the control does not have focus.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setIMEMode(int value)
public void setIMEMode(int value)
Sets the default run-time mode of the Input Method Editor for the control as it receives focus.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setLinkedCell(String value)
public void setLinkedCell(String value)
Sets the linked cell.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setListFillRange(String value)
public void setListFillRange(String value)
Sets the list fill range.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setListRows(int value)
public void setListRows(int value)
Represents the maximum number of rows to display in the list.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setListStyle(int value)
public void setListStyle(int value)
Sets the visual appearance.
See ControlListStyle.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setListWidth(double value)
public void setListWidth(double value)
Sets the width in unit of points.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setLocked(boolean value)
public void setLocked(boolean value)
Indicates whether data in the control is locked for editing.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setMatchEntry(int value)
public void setMatchEntry(int value)
Indicates how a ListBox or ComboBox searches its list as the user types.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setMaxLength(int value)
public void setMaxLength(int value)
Sets the maximum number of characters
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setMouseIcon(byte[] value)
public void setMouseIcon(byte[] value)
Sets a custom icon to display as the mouse pointer for the control.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte[] |
setMousePointer(int value)
public void setMousePointer(int value)
Sets the type of icon displayed as the mouse pointer for the control.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setSelectionMargin(boolean value)
public void setSelectionMargin(boolean value)
Indicates whether the user can select a line of text by clicking in the region to the left of the text.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setShadow(boolean value)
public void setShadow(boolean value)
Indicates whether to show a shadow.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setShowColumnHeads(boolean value)
public void setShowColumnHeads(boolean value)
Indicates whether column headings are displayed.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setShowDropButtonTypeWhen(int value)
public void setShowDropButtonTypeWhen(int value)
Specifies the symbol displayed on the drop button
See ShowDropButtonType.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setSpecialEffect(int value)
public void setSpecialEffect(int value)
Sets the special effect of the control.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setTextAlign(int value)
public void setTextAlign(int value)
Represents how to align the text used by the control.
See TextAlignmentType.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setTextColumn(int value)
public void setTextColumn(int value)
Represents the column in a ComboBox or ListBox to display to the user.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setTransparent(boolean value)
public void setTransparent(boolean value)
Indicates whether the control is transparent.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setValue(String value)
public void setValue(String value)
Sets the value of the control.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setVisible(boolean value)
public void setVisible(boolean value)
Indicates whether this control is visible.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setWidth(double value)
public void setWidth(double value)
Sets the width of the control in unit of points.
Parameters:
Parameter | Type | Description |
---|---|---|
value | 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:
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 |