com.aspose.cells

Class CheckBoxActiveXControl

public class CheckBoxActiveXControl 
extends ActiveXControl

Represents a CheckBox ActiveX control.

Property Getters/Setters Summary
chargetAccelerator()
void
setAccelerator(charvalue)
           Gets and sets the accelerator key for the control.
intgetAlignment()
void
setAlignment(intvalue)
           Gets and set the position of the Caption relative to the control. The value of the property is ControlCaptionAlignmentType integer constant.
intgetBackOleColor()
void
setBackOleColor(intvalue)
           Gets and sets the ole color of the background.
java.lang.StringgetCaption()
void
setCaption(java.lang.Stringvalue)
           Gets and set the descriptive text that appears on a control.
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.
java.lang.StringgetGroupName()
void
setGroupName(java.lang.Stringvalue)
           Gets and sets the group's name.
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.
booleanisAutoSize()
void
setAutoSize(booleanvalue)
           Indicates whether the control will automatically resize to display its entire contents.
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.
booleanisTripleState()
void
setTripleState(booleanvalue)
           Indicates how the specified control will display Null values.
booleanisVisible()
void
setVisible(booleanvalue)
           Indicates whether this control is visible.
booleanisWordWrapped()
void
setWordWrapped(booleanvalue)
           Indicates whether the contents of the control automatically wrap at the end of a line.
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 range.
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.
byte[]getPicture()
void
setPicture(byte[]value)
           Gets and sets the data of the picture.
intgetPicturePosition()
void
           Gets and set the location of the control's picture relative to its caption. The value of the property is ControlPicturePositionType integer constant.
booleangetShadow()
void
setShadow(booleanvalue)
           Indicates whether to show a shadow.
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.
intgetType()
Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
intgetValue()
void
setValue(intvalue)
           Indicates if the control is checked or not. The value of the property is CheckValueType integer constant.
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.
      • getGroupName/setGroupName

        public java.lang.String getGroupName() / public void setGroupName(java.lang.String value)
        
        Gets and sets the group's name.
      • getAlignment/setAlignment

        public int getAlignment() / public void setAlignment(int value)
        
        Gets and set the position of the Caption relative to the control. The value of the property is ControlCaptionAlignmentType integer constant.
      • isWordWrapped/setWordWrapped

        public boolean isWordWrapped() / public void setWordWrapped(boolean value)
        
        Indicates whether the contents of the control automatically wrap at the end of a line.
      • getCaption/setCaption

        public java.lang.String getCaption() / public void setCaption(java.lang.String value)
        
        Gets and set the descriptive text that appears on a control.
      • getPicturePosition/setPicturePosition

        public int getPicturePosition() / public void setPicturePosition(int value)
        
        Gets and set the location of the control's picture relative to its caption. The value of the property is ControlPicturePositionType integer constant.
      • 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.
      • getPicture/setPicture

        public byte[] getPicture() / public void setPicture(byte[] value)
        
        Gets and sets the data of the picture.
      • getAccelerator/setAccelerator

        public char getAccelerator() / public void setAccelerator(char value)
        
        Gets and sets the accelerator key for the control.
      • getValue/setValue

        public int getValue() / public void setValue(int value)
        
        Indicates if the control is checked or not. The value of the property is CheckValueType integer constant.
      • isTripleState/setTripleState

        public boolean isTripleState() / public void setTripleState(boolean value)
        
        Indicates how the specified control will display Null values. ///
        Setting Description 
        TrueThe control will cycle through states for Yes, No, and Null values. The control appears dimmed (grayed) when its Value property is set to Null.
        False(Default) The control will cycle through states for Yes and No values. Null values display as if they were No values.
      • 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.
      • 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 range.

    setGroupName

    public voidsetGroupName(java.lang.Stringvalue)
    
    Gets and sets the group's name.

    setAlignment

    public voidsetAlignment(intvalue)
    
    Gets and set the position of the Caption relative to the control. The value of the property is ControlCaptionAlignmentType integer constant.

    setWordWrapped

    public voidsetWordWrapped(booleanvalue)
    
    Indicates whether the contents of the control automatically wrap at the end of a line.

    setCaption

    public voidsetCaption(java.lang.Stringvalue)
    
    Gets and set the descriptive text that appears on a control.

    setPicturePosition

    public voidsetPicturePosition(intvalue)
    
    Gets and set the location of the control's picture relative to its caption. The value of the property is ControlPicturePositionType integer constant.

    setSpecialEffect

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

    setPicture

    public voidsetPicture(byte[]value)
    
    Gets and sets the data of the picture.

    setAccelerator

    public voidsetAccelerator(charvalue)
    
    Gets and sets the accelerator key for the control.

    setValue

    public voidsetValue(intvalue)
    
    Indicates if the control is checked or not. The value of the property is CheckValueType integer constant.

    setTripleState

    public voidsetTripleState(booleanvalue)
    
    Indicates how the specified control will display Null values. ///
    Setting 
    Description 
    True
    The control will cycle through states for Yes, No, and Null values. The control appears dimmed (grayed) when its Value property is set to Null.
    False
    (Default) The control will cycle through states for Yes and No values. Null values display as if they were No values.

    setEnabled

    public voidsetEnabled(booleanvalue)
    
    Indicates 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 range.