com.aspose.cells

Class ScrollBarActiveXControl

public class ScrollBarActiveXControl 
extends SpinButtonActiveXControl

Represents the ScrollBar control.

Property Getters/Setters Summary
intgetBackOleColor()
void
           Gets and sets the ole color of the background.
byte[]getData()
Gets and sets the binary data of the control.
FontgetFont()
Represents the font of the control.
intgetForeOleColor()
void
           Gets and sets the ole color of the foreground.
doublegetHeight()
void
setHeight(double)
           Gets and sets the height of the control in unit of points.
intgetIMEMode()
void
           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(boolean)
           Indicates whether the control will automatically resize to display its entire contents.
booleanisEnabled()
void
setEnabled(boolean)
           Indicates whether the control can receive the focus and respond to user-generated events.
booleanisLocked()
void
setLocked(boolean)
           Indicates whether data in the control is locked for editing.
booleanisTransparent()
void
           Indicates whether the control is transparent.
booleanisVisible()
void
setVisible(boolean)
           Indicates whether this control is visible.
intgetLargeChange()
void
           Gets and sets the amount by which the Position property changes
java.lang.StringgetLinkedCell()
void
setLinkedCell(java.lang.String)
           Gets and sets the linked cell.
java.lang.StringgetListFillRange()
void
setListFillRange(java.lang.String)
           Gets and sets the list fill range.
intgetMax()
void
setMax(int)
           Gets and sets the maximum acceptable value.
intgetMin()
void
setMin(int)
           Gets and sets the minimum acceptable value.
byte[]getMouseIcon()
void
setMouseIcon(byte[])
           Gets and sets a custom icon to display as the mouse pointer for the control.
intgetMousePointer()
void
           Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.
intgetOrientation()
void
           Gets and sets whether the SpinButton or ScrollBar is oriented vertically or horizontally. The value of the property is ControlScrollOrientation integer constant.
intgetPosition()
void
           Gets and sets the value.
booleangetShadow()
void
setShadow(boolean)
           Indicates whether to show a shadow.
intgetSmallChange()
void
           Gets and sets the amount by which the Position property changes
intgetTextAlign()
void
           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.
doublegetWidth()
void
setWidth(double)
           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.
      • getLargeChange/setLargeChange

        public int getLargeChange() / public void setLargeChange(int value)
        
        Gets and sets the amount by which the Position property changes
      • getMin/setMin

        public int getMin() / public void setMin(int value)
        
        Gets and sets the minimum acceptable value.
      • getMax/setMax

        public int getMax() / public void setMax(int value)
        
        Gets and sets the maximum acceptable value.
      • getPosition/setPosition

        public int getPosition() / public void setPosition(int value)
        
        Gets and sets the value.
      • getSmallChange/setSmallChange

        public int getSmallChange() / public void setSmallChange(int value)
        
        Gets and sets the amount by which the Position property changes
      • getOrientation/setOrientation

        public int getOrientation() / public void setOrientation(int value)
        
        Gets and sets whether the SpinButton or ScrollBar is oriented vertically or horizontally. The value of the property is ControlScrollOrientation integer constant.
      • 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.

    setLargeChange

    public voidsetLargeChange(intvalue)
    
    Gets and sets the amount by which the Position property changes

    setMin

    public voidsetMin(intvalue)
    
    Gets and sets the minimum acceptable value.

    setMax

    public voidsetMax(intvalue)
    
    Gets and sets the maximum acceptable value.

    setPosition

    public voidsetPosition(intvalue)
    
    Gets and sets the value.

    setSmallChange

    public voidsetSmallChange(intvalue)
    
    Gets and sets the amount by which the Position property changes

    setOrientation

    public voidsetOrientation(intvalue)
    
    Gets and sets whether the SpinButton or ScrollBar is oriented vertically or horizontally. The value of the property is ControlScrollOrientation integer constant.

    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.