com.aspose.diagram

Class ComboBoxActiveXControl

public class ComboBoxActiveXControl 
extends ActiveXControl

Represents a ComboBox 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)
           Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect propertys value (fmMultiSelectSingle).
intgetColumnCount()
void
setColumnCount(intvalue)
           Represents 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.
intgetDropButtonStyle()
void
           Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant.
booleangetEnterFieldBehavior()
void
setEnterFieldBehavior(booleanvalue)
           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.
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.
booleangetHideSelection()
void
setHideSelection(booleanvalue)
           Indicates whether selected text in the control appears highlighted when the control does not have focus.
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.
booleanisAutoSize()
void
setAutoSize(booleanvalue)
           Indicates whether the control will automatically resize to display its entire contents.
booleanisAutoWordSelected()
void
setAutoWordSelected(booleanvalue)
           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.
booleanisDragBehaviorEnabled()
void
           Indicates whether dragging and dropping is enabled for the control.
booleanisEditable()
void
setEditable(booleanvalue)
           Indicates whether the user can type into the control.
booleanisEnabled()
void
setEnabled(booleanvalue)
           Indicates 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.
intgetListRows()
void
setListRows(intvalue)
           Represents the maximum number of rows to display in the list.
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.
intgetMaxLength()
void
setMaxLength(intvalue)
           Gets and sets the maximum number of characters
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.
booleangetSelectionMargin()
void
setSelectionMargin(booleanvalue)
           Indicates whether the user can select a line of text by clicking in the region to the left of the text.
booleangetShowColumnHeads()
void
setShowColumnHeads(booleanvalue)
           Indicates whether column headings are displayed.
intgetShowDropButtonTypeWhen()
void
           Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant.
intgetSpecialEffect()
void
           Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
intgetTextColumn()
void
setTextColumn(intvalue)
           Represents 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 point.
 

    • Property Getters/Setters Detail

      • getType

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

        public int getMaxLength() / public void setMaxLength(int value)
        
        Gets and sets the maximum number of characters
      • 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)
        
        Represents 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)
        
        Represents the column in a ComboBox or ListBox to display to the user.
      • getColumnCount/setColumnCount

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

        public int getListRows() / public void setListRows(int value)
        
        Represents the maximum number of rows to display in the list.
      • 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.
      • getDropButtonStyle/setDropButtonStyle

        public int getDropButtonStyle() / public void setDropButtonStyle(int value)
        
        Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant.
      • getShowDropButtonTypeWhen/setShowDropButtonTypeWhen

        public int getShowDropButtonTypeWhen() / public void setShowDropButtonTypeWhen(int value)
        
        Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType 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.
      • 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.
      • isEditable/setEditable

        public boolean isEditable() / public void setEditable(boolean value)
        
        Indicates whether the user can type into the control.
      • getShowColumnHeads/setShowColumnHeads

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

        public boolean isDragBehaviorEnabled() / public void setDragBehaviorEnabled(boolean value)
        
        Indicates whether dragging and dropping is enabled for the control.
      • getEnterFieldBehavior/setEnterFieldBehavior

        public boolean getEnterFieldBehavior() / 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.
      • isAutoWordSelected/setAutoWordSelected

        public boolean isAutoWordSelected() / 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.
      • getSelectionMargin/setSelectionMargin

        public boolean getSelectionMargin() / 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.
      • getValue/setValue

        public java.lang.String getValue() / public void setValue(java.lang.String value)
        
        Gets and sets the value of the control.
      • getHideSelection/setHideSelection

        public boolean getHideSelection() / public void setHideSelection(boolean value)
        
        Indicates whether selected text in the control appears highlighted when the control does not have focus.
      • 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 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.
      • 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 point.
      • 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.