com.aspose.cells

Class ListBoxActiveXControl

public class ListBoxActiveXControl 
extends ActiveXControl

Represents a ListBox ActiveX control.

Property Getters/Setters Summary
intgetBackOleColor()
void
setBackOleColor(intvalue)
           Gets and sets the ole color of the background.
intgetBorderOleColor()
void
           Gets and sets the ole color of the background.
intgetBorderStyle()
void
setBorderStyle(intvalue)
           Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
intgetBoundColumn()
void
setBoundColumn(intvalue)
           Repsents how the Value property is determined for a ComboBox or ListBox when the MultiSelect propertys value (fmMultiSelectSingle).
intgetColumnCount()
void
setColumnCount(intvalue)
           Repsents the number of columns to display in a ComboBox or ListBox.
doublegetColumnWidths()
void
setColumnWidths(doublevalue)
           Gets and sets the width of the column.
byte[]getData()
Gets and sets the binary data of the control.
FontgetFont()
Represents the font of the control.
intgetForeOleColor()
void
setForeOleColor(intvalue)
           Gets and sets the ole color of the foreground.
doublegetHeight()
void
setHeight(doublevalue)
           Gets and sets the height of the control in unit of points.
intgetIMEMode()
void
setIMEMode(intvalue)
           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()
void
setIntegralHeight(booleanvalue)
           Indicates whether the control will only show complete lines of text without showing any partial lines.
booleanisAutoSize()
void
setAutoSize(booleanvalue)
           Indicates whether the control will automatically resize to display its entire contents.
booleanisEnabled()
void
setEnabled(booleanvalue)
           Indicates whether whether the control can receive the focus and respond to user-generated events.
booleanisLocked()
void
setLocked(booleanvalue)
           Indicates whether data in the control is locked for editing.
booleanisTransparent()
void
setTransparent(booleanvalue)
           Indicates whether the control is transparent.
booleanisVisible()
void
setVisible(booleanvalue)
           Indicates whether this control is visible.
java.lang.StringgetLinkedCell()
void
setLinkedCell(java.lang.Stringvalue)
           Gets and sets the linked cell.
java.lang.StringgetListFillRange()
void
setListFillRange(java.lang.Stringvalue)
           Gets and sets the list fill fange..
intgetListStyle()
void
setListStyle(intvalue)
           Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant.
doublegetListWidth()
void
setListWidth(doublevalue)
           Gets and set the width in unit of points.
intgetMatchEntry()
void
setMatchEntry(intvalue)
           Indicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryType integer constant.
byte[]getMouseIcon()
void
setMouseIcon(byte[]value)
           Gets and sets a custom icon to display as the mouse pointer for the control.
intgetMousePointer()
void
setMousePointer(intvalue)
           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()
void
setScrollBars(intvalue)
           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()
void
           Indicates whether the control permits multiple selections. The value of the property is SelectionType integer constant.
booleangetShadow()
void
setShadow(booleanvalue)
           Indicates whether to show a shadow.
booleangetShowColumnHeads()
void
setShowColumnHeads(booleanvalue)
           Indicates whether column headings are displayed.
intgetSpecialEffect()
void
           Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
intgetTextAlign()
void
setTextAlign(intvalue)
           Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
intgetTextColumn()
void
setTextColumn(intvalue)
           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()
void
setValue(java.lang.Stringvalue)
           Gets and sets the value of the control.
doublegetWidth()
void
setWidth(doublevalue)
           Gets and sets the width of the control in unit of points.
WorkbookgetWorkbook()
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.
      • getListWidth/setListWidth

        public double getListWidth() / 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).
      • getTextColumn/setTextColumn

        public int getTextColumn() / 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.
      • 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.
      • 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.
      • 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.
      • 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;
      • 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.
      • getBorderOleColor/setBorderOleColor

        public int getBorderOleColor() / 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.
      • getShowColumnHeads/setShowColumnHeads

        public boolean getShowColumnHeads() / 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.
      • getColumnWidths/setColumnWidths

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

        public boolean isEnabled() / public void setEnabled(boolean value)
        
        Indicates whether whether the control can receive the focus and respond to user-generated events.
      • isLocked/setLocked

        public boolean isLocked() / public void setLocked(boolean value)
        
        Indicates whether data in the control is locked for editing.
      • isTransparent/setTransparent

        public boolean isTransparent() / public void setTransparent(boolean value)
        
        Indicates whether the control is transparent.
      • isAutoSize/setAutoSize

        public boolean isAutoSize() / public void setAutoSize(boolean value)
        
        Indicates whether the control will automatically resize to display its entire contents.
      • getIMEMode/setIMEMode

        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.
      • getFont

        public Font getFont()
        
        Represents the font of the control.
      • getTextAlign/setTextAlign

        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.
      • getData

        public byte[] getData()
        
        Gets and sets the binary data of the control.
      • getWidth/setWidth

        public double getWidth() / public void setWidth(double value)
        
        Gets and sets the width of the control in unit of points.
      • getHeight/setHeight

        public double getHeight() / public void setHeight(double value)
        
        Gets and sets the height of the control in unit of points.
      • getMouseIcon/setMouseIcon

        public byte[] getMouseIcon() / public void setMouseIcon(byte[] value)
        
        Gets and sets a custom icon to display as the mouse pointer for the control.
      • getMousePointer/setMousePointer

        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.
      • getForeOleColor/setForeOleColor

        public int getForeOleColor() / public void setForeOleColor(int value)
        
        Gets and sets the ole color of the foreground. Not applies to Image control.
      • getBackOleColor/setBackOleColor

        public int getBackOleColor() / public void setBackOleColor(int value)
        
        Gets and sets the ole color of the background.
      • isVisible/setVisible

        public boolean isVisible() / public void setVisible(boolean value)
        
        Indicates whether this control is visible.
      • getShadow/setShadow

        public boolean getShadow() / public void setShadow(boolean value)
        
        Indicates whether to show a shadow.
      • getLinkedCell/setLinkedCell

        public java.lang.String getLinkedCell() / public void setLinkedCell(java.lang.String value)
        
        Gets and sets the linked cell.
      • getListFillRange/setListFillRange

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

    setScrollBars

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

    setListWidth

    public voidsetListWidth(doublevalue)
    
    Gets and set the width in unit of points.

    setBoundColumn

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

    setTextColumn

    public voidsetTextColumn(intvalue)
    
    Repsents the column in a ComboBox or ListBox to display to the user.

    setColumnCount

    public voidsetColumnCount(intvalue)
    
    Repsents the number of columns to display in a ComboBox or ListBox.

    setMatchEntry

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

    setListStyle

    public voidsetListStyle(intvalue)
    
    Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant.

    setSelectionType

    public voidsetSelectionType(intvalue)
    
    Indicates whether the control permits multiple selections. The value of the property is SelectionType integer constant.

    setValue

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

    setBorderStyle

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

    setBorderOleColor

    public voidsetBorderOleColor(intvalue)
    
    Gets and sets the ole color of the background.

    setSpecialEffect

    public voidsetSpecialEffect(intvalue)
    
    Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.

    setShowColumnHeads

    public voidsetShowColumnHeads(booleanvalue)
    
    Indicates whether column headings are displayed.

    setIntegralHeight

    public voidsetIntegralHeight(booleanvalue)
    
    Indicates whether the control will only show complete lines of text without showing any partial lines.

    setColumnWidths

    public voidsetColumnWidths(doublevalue)
    
    Gets and sets the width of the column.

    setEnabled

    public voidsetEnabled(booleanvalue)
    
    Indicates whether whether the control can receive the focus and respond to user-generated events.

    setLocked

    public voidsetLocked(booleanvalue)
    
    Indicates whether data in the control is locked for editing.

    setTransparent

    public voidsetTransparent(booleanvalue)
    
    Indicates whether the control is transparent.

    setAutoSize

    public voidsetAutoSize(booleanvalue)
    
    Indicates whether the control will automatically resize to display its entire contents.

    setIMEMode

    public voidsetIMEMode(intvalue)
    
    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.

    setTextAlign

    public voidsetTextAlign(intvalue)
    
    Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.

    setWidth

    public voidsetWidth(doublevalue)
    
    Gets and sets the width of the control in unit of points.

    setHeight

    public voidsetHeight(doublevalue)
    
    Gets and sets the height of the control in unit of points.

    setMouseIcon

    public voidsetMouseIcon(byte[]value)
    
    Gets and sets a custom icon to display as the mouse pointer for the control.

    setMousePointer

    public voidsetMousePointer(intvalue)
    
    Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.

    setForeOleColor

    public voidsetForeOleColor(intvalue)
    
    Gets and sets the ole color of the foreground. Not applies to Image control.

    setBackOleColor

    public voidsetBackOleColor(intvalue)
    
    Gets and sets the ole color of the background.

    setVisible

    public voidsetVisible(booleanvalue)
    
    Indicates whether this control is visible.

    setShadow

    public voidsetShadow(booleanvalue)
    
    Indicates whether to show a shadow.

    setLinkedCell

    public voidsetLinkedCell(java.lang.Stringvalue)
    
    Gets and sets the linked cell.

    setListFillRange

    public voidsetListFillRange(java.lang.Stringvalue)
    
    Gets and sets the list fill fange..