com.aspose.cells

Class ActiveXControlBase

  • java.lang.Object
    • com.aspose.cells.ActiveXControlBase
  • Direct Known Subclasses:
    ActiveXControl
    public abstract class ActiveXControlBase 
    extends java.lang.Object

Represents the ActiveX control.

Property Getters/Setters Summary
intgetBackOleColor()
void
setBackOleColor(intvalue)
           Gets and sets the ole color of the background.
byte[]getData()
Gets and sets the binary data 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.
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..
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.
booleangetShadow()
void
setShadow(booleanvalue)
           Indicates whether to show a shadow.
abstract intgetType()
Gets the type of the ActiveX control. The value of the property is ControlType 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

      • getWorkbook

        public Workbook getWorkbook()
        
        Gets the Workbook object.
      • getType

        public abstract int getType()
        
        Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
      • 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..
      • getData

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

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