com.aspose.diagram

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.
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.
booleanisChecked()
void
setChecked(booleanvalue)
           Indicates whether the box is checked.
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.
booleanisWordWrapped()
void
setWordWrapped(booleanvalue)
           Indicates whether the contents of the control automatically wrap at the end of a line.
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.
intgetSpecialEffect()
void
           Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType 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 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.
      • 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.
      • isChecked/setChecked

        public boolean isChecked() / public void setChecked(boolean value)
        
        Indicates whether the box is checked.
      • 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.