com.aspose.cells
Class ListBoxActiveXControl

java.lang.Object
  extended by ActiveXControlBase
      extended by ActiveXControl
          extended by com.aspose.cells.ListBoxActiveXControl

public class ListBoxActiveXControl 
extends ActiveXControl

Represents a ListBox ActiveX control.


Property Getters/Setters Summary
intgetBackOleColor()→ inherited from ActiveXControlBase
voidsetBackOleColor(int value)
           Gets and sets the ole color of the background.
intgetBorderOleColor()
voidsetBorderOleColor(int value)
           Gets and sets the ole color of the background.
intgetBorderStyle()
voidsetBorderStyle(int value)
           Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
intgetBoundColumn()
voidsetBoundColumn(int value)
           Repsents how the Value property is determined for a ComboBox or ListBox when the MultiSelect propertys value (fmMultiSelectSingle).
intgetColumnCount()
voidsetColumnCount(int value)
           Repsents the number of columns to display in a ComboBox or ListBox.
doublegetColumnWidths()
voidsetColumnWidths(double value)
           Gets and sets the width of the column.
byte[]getData()→ inherited from ActiveXControl
           Gets and sets the binary data of the control.
FontgetFont()→ inherited from ActiveXControl
           Represents the font of the control.
intgetForeOleColor()→ inherited from ActiveXControlBase
voidsetForeOleColor(int value)
           Gets and sets the ole color of the foreground.
doublegetHeight()→ inherited from ActiveXControlBase
voidsetHeight(double value)
           Gets and sets the height of the control in unit of points.
intgetIMEMode()→ inherited from ActiveXControl
voidsetIMEMode(int value)
           Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of the property is InputMethodEditorMode integer constant.
booleangetIntegralHeight()
voidsetIntegralHeight(boolean value)
           Indicates whether the control will only show complete lines of text without showing any partial lines.
booleanisAutoSize()→ inherited from ActiveXControl
voidsetAutoSize(boolean value)
           Indicates whether the control will automatically resize to display its entire contents.
booleanisEnabled()→ inherited from ActiveXControl
voidsetEnabled(boolean value)
           Indicates whether whether the control can receive the focus and respond to user-generated events.
booleanisLocked()→ inherited from ActiveXControl
voidsetLocked(boolean value)
           Indicates whether data in the control is locked for editing.
booleanisTransparent()→ inherited from ActiveXControl
voidsetTransparent(boolean value)
           Indicates whether the control is transparent.
booleanisVisible()→ inherited from ActiveXControlBase
voidsetVisible(boolean value)
           Indicates whether this control is visible.
java.lang.StringgetLinkedCell()→ inherited from ActiveXControlBase
voidsetLinkedCell(java.lang.String value)
           Gets and sets the linked cell.
java.lang.StringgetListFillRange()→ inherited from ActiveXControlBase
voidsetListFillRange(java.lang.String value)
           Gets and sets the list fill fange..
intgetListStyle()
voidsetListStyle(int value)
           Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant.
doublegetListWidth()
voidsetListWidth(double value)
           Gets and set the width in unit of points.
intgetMatchEntry()
voidsetMatchEntry(int value)
           Indicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryType integer constant.
byte[]getMouseIcon()→ inherited from ActiveXControlBase
voidsetMouseIcon(byte[] value)
           Gets and sets a custom icon to display as the mouse pointer for the control.
intgetMousePointer()→ inherited from ActiveXControlBase
voidsetMousePointer(int value)
           Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.
intgetScrollBars()
voidsetScrollBars(int value)
           Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of the property is ControlScrollBarType integer constant.
intgetSelectionType()
voidsetSelectionType(int value)
           Indicates whether the control permits multiple selections. The value of the property is SelectionType integer constant.
booleangetShadow()→ inherited from ActiveXControlBase
voidsetShadow(boolean value)
           Indicates whether to show a shadow.
booleangetShowColumnHeads()
voidsetShowColumnHeads(boolean value)
           Indicates whether column headings are displayed.
intgetSpecialEffect()
voidsetSpecialEffect(int value)
           Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
intgetTextAlign()→ inherited from ActiveXControl
voidsetTextAlign(int value)
           Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
intgetTextColumn()
voidsetTextColumn(int value)
           Repsents the column in a ComboBox or ListBox to display to the user.
intgetType()
           Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
java.lang.StringgetValue()
voidsetValue(java.lang.String value)
           Gets and sets the value of the control.
doublegetWidth()→ inherited from ActiveXControlBase
voidsetWidth(double value)
           Gets and sets the width of the control in unit of points.
WorkbookgetWorkbook()→ inherited from ActiveXControlBase
           Gets the Workbook object.
 

Property Getters/Setters Detail

getType

public int getType()
Gets the type of the ActiveX control. The value of the property is ControlType integer constant.

getScrollBars/setScrollBars

public int getScrollBars() / public void setScrollBars(int value)
Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of the property is ControlScrollBarType integer constant.

setScrollBars

public void setScrollBars(int value)
Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of the property is ControlScrollBarType integer constant.

getListWidth/setListWidth

public double getListWidth() / public void setListWidth(double value)
Gets and set the width in unit of points.

setListWidth

public void setListWidth(double value)
Gets and set the width in unit of points.

getBoundColumn/setBoundColumn

public int getBoundColumn() / public void setBoundColumn(int value)
Repsents how the Value property is determined for a ComboBox or ListBox when the MultiSelect propertys value (fmMultiSelectSingle).

setBoundColumn

public void setBoundColumn(int value)
Repsents how the Value property is determined for a ComboBox or ListBox when the MultiSelect propertys value (fmMultiSelectSingle).

getTextColumn/setTextColumn

public int getTextColumn() / public void setTextColumn(int value)
Repsents the column in a ComboBox or ListBox to display to the user.

setTextColumn

public void setTextColumn(int value)
Repsents the column in a ComboBox or ListBox to display to the user.

getColumnCount/setColumnCount

public int getColumnCount() / public void setColumnCount(int value)
Repsents the number of columns to display in a ComboBox or ListBox.

setColumnCount

public void setColumnCount(int value)
Repsents the number of columns to display in a ComboBox or ListBox.

getMatchEntry/setMatchEntry

public int getMatchEntry() / public void setMatchEntry(int value)
Indicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryType integer constant.

setMatchEntry

public void setMatchEntry(int value)
Indicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryType integer constant.

getListStyle/setListStyle

public int getListStyle() / public void setListStyle(int value)
Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant.

setListStyle

public void setListStyle(int value)
Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant.

getSelectionType/setSelectionType

public int getSelectionType() / public void setSelectionType(int value)
Indicates whether the control permits multiple selections. The value of the property is SelectionType integer constant.

setSelectionType

public void setSelectionType(int value)
Indicates whether the control permits multiple selections. The value of the property is SelectionType integer constant.

getValue/setValue

public java.lang.String getValue() / public void setValue(java.lang.String value)
Gets and sets the value of the control. Only effects when SelectionType is SelectionType.Single;

setValue

public void setValue(java.lang.String value)
Gets and sets the value of the control. Only effects when SelectionType is SelectionType.Single;

getBorderStyle/setBorderStyle

public int getBorderStyle() / public void setBorderStyle(int value)
Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.

setBorderStyle

public void setBorderStyle(int value)
Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.

getBorderOleColor/setBorderOleColor

public int getBorderOleColor() / public void setBorderOleColor(int value)
Gets and sets the ole color of the background.

setBorderOleColor

public void setBorderOleColor(int value)
Gets and sets the ole color of the background.

getSpecialEffect/setSpecialEffect

public int getSpecialEffect() / public void setSpecialEffect(int value)
Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.

setSpecialEffect

public void setSpecialEffect(int value)
Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.

getShowColumnHeads/setShowColumnHeads

public boolean getShowColumnHeads() / public void setShowColumnHeads(boolean value)
Indicates whether column headings are displayed.

setShowColumnHeads

public void setShowColumnHeads(boolean value)
Indicates whether column headings are displayed.

getIntegralHeight/setIntegralHeight

public boolean getIntegralHeight() / public void setIntegralHeight(boolean value)
Indicates whether the control will only show complete lines of text without showing any partial lines.

setIntegralHeight

public void setIntegralHeight(boolean value)
Indicates whether the control will only show complete lines of text without showing any partial lines.

getColumnWidths/setColumnWidths

public double getColumnWidths() / public void setColumnWidths(double value)
Gets and sets the width of the column.

setColumnWidths

public void setColumnWidths(double value)
Gets and sets the width of the column.

isEnabled/setEnabled

→ inherited from ActiveXControl
public boolean isEnabled() / public void setEnabled(boolean value)
Indicates whether whether the control can receive the focus and respond to user-generated events.

setEnabled

→ inherited from ActiveXControl
public void setEnabled(boolean value)
Indicates whether whether the control can receive the focus and respond to user-generated events.

isLocked/setLocked

→ inherited from ActiveXControl
public boolean isLocked() / public void setLocked(boolean value)
Indicates whether data in the control is locked for editing.

setLocked

→ inherited from ActiveXControl
public void setLocked(boolean value)
Indicates whether data in the control is locked for editing.

isTransparent/setTransparent

→ inherited from ActiveXControl
public boolean isTransparent() / public void setTransparent(boolean value)
Indicates whether the control is transparent.

setTransparent

→ inherited from ActiveXControl
public void setTransparent(boolean value)
Indicates whether the control is transparent.

isAutoSize/setAutoSize

→ inherited from ActiveXControl
public boolean isAutoSize() / public void setAutoSize(boolean value)
Indicates whether the control will automatically resize to display its entire contents.

setAutoSize

→ inherited from ActiveXControl
public void setAutoSize(boolean value)
Indicates whether the control will automatically resize to display its entire contents.

getIMEMode/setIMEMode

→ inherited from ActiveXControl
public int getIMEMode() / public void setIMEMode(int value)
Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of the property is InputMethodEditorMode integer constant.

setIMEMode

→ inherited from ActiveXControl
public void setIMEMode(int value)
Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of the property is InputMethodEditorMode integer constant.

getFont

→ inherited from ActiveXControl
public Font getFont()
Represents the font of the control.

getTextAlign/setTextAlign

→ inherited from ActiveXControl
public int getTextAlign() / public void setTextAlign(int value)
Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.

setTextAlign

→ inherited from ActiveXControl
public void setTextAlign(int value)
Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.

getData

→ inherited from ActiveXControl
public byte[] getData()
Gets and sets the binary data of the control.

getWorkbook

→ inherited from ActiveXControlBase
public Workbook getWorkbook()
Gets the Workbook object.

getWidth/setWidth

→ inherited from ActiveXControlBase
public double getWidth() / public void setWidth(double value)
Gets and sets the width of the control in unit of points.

setWidth

→ inherited from ActiveXControlBase
public void setWidth(double value)
Gets and sets the width of the control in unit of points.

getHeight/setHeight

→ inherited from ActiveXControlBase
public double getHeight() / public void setHeight(double value)
Gets and sets the height of the control in unit of points.

setHeight

→ inherited from ActiveXControlBase
public void setHeight(double value)
Gets and sets the height of the control in unit of points.

getMouseIcon/setMouseIcon

→ inherited from ActiveXControlBase
public byte[] getMouseIcon() / public void setMouseIcon(byte[] value)
Gets and sets a custom icon to display as the mouse pointer for the control.

setMouseIcon

→ inherited from ActiveXControlBase
public void setMouseIcon(byte[] value)
Gets and sets a custom icon to display as the mouse pointer for the control.

getMousePointer/setMousePointer

→ inherited from ActiveXControlBase
public int getMousePointer() / public void setMousePointer(int value)
Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.

setMousePointer

→ inherited from ActiveXControlBase
public void setMousePointer(int value)
Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.

getForeOleColor/setForeOleColor

→ inherited from ActiveXControlBase
public int getForeOleColor() / public void setForeOleColor(int value)
Gets and sets the ole color of the foreground. Not applies to Image control.

setForeOleColor

→ inherited from ActiveXControlBase
public void setForeOleColor(int value)
Gets and sets the ole color of the foreground. Not applies to Image control.

getBackOleColor/setBackOleColor

→ inherited from ActiveXControlBase
public int getBackOleColor() / public void setBackOleColor(int value)
Gets and sets the ole color of the background.

setBackOleColor

→ inherited from ActiveXControlBase
public void setBackOleColor(int value)
Gets and sets the ole color of the background.

isVisible/setVisible

→ inherited from ActiveXControlBase
public boolean isVisible() / public void setVisible(boolean value)
Indicates whether this control is visible.

setVisible

→ inherited from ActiveXControlBase
public void setVisible(boolean value)
Indicates whether this control is visible.

getShadow/setShadow

→ inherited from ActiveXControlBase
public boolean getShadow() / public void setShadow(boolean value)
Indicates whether to show a shadow.

setShadow

→ inherited from ActiveXControlBase
public void setShadow(boolean value)
Indicates whether to show a shadow.

getLinkedCell/setLinkedCell

→ inherited from ActiveXControlBase
public java.lang.String getLinkedCell() / public void setLinkedCell(java.lang.String value)
Gets and sets the linked cell.

setLinkedCell

→ inherited from ActiveXControlBase
public void setLinkedCell(java.lang.String value)
Gets and sets the linked cell.

getListFillRange/setListFillRange

→ inherited from ActiveXControlBase
public java.lang.String getListFillRange() / public void setListFillRange(java.lang.String value)
Gets and sets the list fill fange..

setListFillRange

→ inherited from ActiveXControlBase
public void setListFillRange(java.lang.String value)
Gets and sets the list fill fange..

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.