com.aspose.cells
Class TextBoxActiveXControl

java.lang.Object
  extended by ActiveXControlBase
      extended by ActiveXControl
          extended by com.aspose.cells.TextBoxActiveXControl

public class TextBoxActiveXControl 
extends ActiveXControl

Represents a text box ActiveX control.


Property Getters/Setters Summary
intgetBackOleColor()→ inherited from ActiveXControlBase
voidsetBackOleColor(int value)
           Gets and sets the ole color of the background.
intgetBorderOleColor()
voidsetBorderOleColor(int value)
           Gets and sets the ole color of the background.
intgetBorderStyle()
voidsetBorderStyle(int value)
           Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
byte[]getData()→ inherited from ActiveXControl
           Gets and sets the binary data of the control.
intgetDropButtonStyle()
voidsetDropButtonStyle(int value)
           Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant.
booleangetEnterFieldBehavior()
voidsetEnterFieldBehavior(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.
booleangetEnterKeyBehavior()
voidsetEnterKeyBehavior(boolean value)
           Specifies the behavior of the ENTER key. True specifies that pressing ENTER will create a new line. False specifies that pressing ENTER will move the focus to the next object in the tab order.
FontgetFont()→ inherited from ActiveXControl
           Represents the font of the control.
intgetForeOleColor()→ inherited from ActiveXControlBase
voidsetForeOleColor(int value)
           Gets and sets the ole color of the foreground.
doublegetHeight()→ inherited from ActiveXControlBase
voidsetHeight(double value)
           Gets and sets the height of the control in unit of points.
booleangetHideSelection()
voidsetHideSelection(boolean value)
           Indicates whether selected text in the control appears highlighted when the control does not have focus.
intgetIMEMode()→ inherited from ActiveXControl
voidsetIMEMode(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.
booleangetIntegralHeight()
voidsetIntegralHeight(boolean value)
           Indicates whether the control will only show complete lines of text without showing any partial lines.
booleanisAutoSize()→ inherited from ActiveXControl
voidsetAutoSize(boolean value)
           Indicates whether the control will automatically resize to display its entire contents.
booleanisAutoTab()
voidsetAutoTab(boolean value)
           Indicates whether the focus will automatically move to the next control when the user enters the maximum number of characters.
booleanisAutoWordSelected()
voidsetAutoWordSelected(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.
booleanisDragBehaviorEnabled()
voidsetDragBehaviorEnabled(boolean value)
           Indicates whether dragging and dropping is enabled for the control.
booleanisEditable()
voidsetEditable(boolean value)
           Indicates whether the user can type into the control.
booleanisEnabled()→ inherited from ActiveXControl
voidsetEnabled(boolean value)
           Indicates whether whether the control can receive the focus and respond to user-generated events.
booleanisLocked()→ inherited from ActiveXControl
voidsetLocked(boolean value)
           Indicates whether data in the control is locked for editing.
booleanisMultiLine()
voidsetMultiLine(boolean value)
           Indicates whether the control can display more than one line of text.
booleanisTransparent()→ inherited from ActiveXControl
voidsetTransparent(boolean value)
           Indicates whether the control is transparent.
booleanisVisible()→ inherited from ActiveXControlBase
voidsetVisible(boolean value)
           Indicates whether this control is visible.
booleanisWordWrapped()
voidsetWordWrapped(boolean value)
           Indicates whether the contents of the control automatically wrap at the end of a line.
java.lang.StringgetLinkedCell()→ inherited from ActiveXControlBase
voidsetLinkedCell(java.lang.String value)
           Gets and sets the linked cell.
java.lang.StringgetListFillRange()→ inherited from ActiveXControlBase
voidsetListFillRange(java.lang.String value)
           Gets and sets the list fill fange..
intgetMaxLength()
voidsetMaxLength(int value)
           Gets and sets the maximum number of characters
byte[]getMouseIcon()→ inherited from ActiveXControlBase
voidsetMouseIcon(byte[] value)
           Gets and sets a custom icon to display as the mouse pointer for the control.
intgetMousePointer()→ inherited from ActiveXControlBase
voidsetMousePointer(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.
chargetPasswordChar()
voidsetPasswordChar(char value)
           Gets and sets a character to be displayed in place of the characters entered.
intgetScrollBars()
voidsetScrollBars(int value)
           Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of the property is ControlScrollBarType integer constant.
booleangetShadow()→ inherited from ActiveXControlBase
voidsetShadow(boolean value)
           Indicates whether to show a shadow.
intgetShowDropButtonTypeWhen()
voidsetShowDropButtonTypeWhen(int value)
           Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant.
intgetSpecialEffect()
voidsetSpecialEffect(int value)
           Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
booleangetTabKeyBehavior()
voidsetTabKeyBehavior(boolean value)
           Indicates whether tab characters are allowed in the text of the control.
java.lang.StringgetText()
voidsetText(java.lang.String value)
           Gets and set text of the control.
intgetTextAlign()→ inherited from ActiveXControl
voidsetTextAlign(int value)
           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()→ inherited from ActiveXControlBase
voidsetWidth(double value)
           Gets and sets the width of the control in unit of points.
WorkbookgetWorkbook()→ inherited from ActiveXControlBase
           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.

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.

setBorderStyle

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.

setBorderOleColor

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.

setSpecialEffect

public void setSpecialEffect(int value)
Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.

getMaxLength/setMaxLength

public int getMaxLength() / public void setMaxLength(int value)
Gets and sets the maximum number of characters

setMaxLength

public void setMaxLength(int value)
Gets and sets the maximum number of characters

getScrollBars/setScrollBars

public int getScrollBars() / public void setScrollBars(int value)
Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of the property is ControlScrollBarType integer constant.

setScrollBars

public void setScrollBars(int value)
Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of the property is ControlScrollBarType integer constant.

getPasswordChar/setPasswordChar

public char getPasswordChar() / public void setPasswordChar(char value)
Gets and sets a character to be displayed in place of the characters entered.

setPasswordChar

public void setPasswordChar(char value)
Gets and sets a character to be displayed in place of the characters entered.

isEditable/setEditable

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

setEditable

public void setEditable(boolean value)
Indicates whether the user can type into the control.

getIntegralHeight/setIntegralHeight

public boolean getIntegralHeight() / public void setIntegralHeight(boolean value)
Indicates whether the control will only show complete lines of text without showing any partial lines.

setIntegralHeight

public void setIntegralHeight(boolean value)
Indicates whether the control will only show complete lines of text without showing any partial lines.

isDragBehaviorEnabled/setDragBehaviorEnabled

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

setDragBehaviorEnabled

public void setDragBehaviorEnabled(boolean value)
Indicates whether dragging and dropping is enabled for the control.

getEnterKeyBehavior/setEnterKeyBehavior

public boolean getEnterKeyBehavior() / public void setEnterKeyBehavior(boolean value)
Specifies the behavior of the ENTER key. True specifies that pressing ENTER will create a new line. False specifies that pressing ENTER will move the focus to the next object in the tab order.

setEnterKeyBehavior

public void setEnterKeyBehavior(boolean value)
Specifies the behavior of the ENTER key. True specifies that pressing ENTER will create a new line. False specifies that pressing ENTER will move the focus to the next object in the tab order.

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.

setEnterFieldBehavior

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.

getTabKeyBehavior/setTabKeyBehavior

public boolean getTabKeyBehavior() / public void setTabKeyBehavior(boolean value)
Indicates whether tab characters are allowed in the text of the control.

setTabKeyBehavior

public void setTabKeyBehavior(boolean value)
Indicates whether tab characters are allowed in the text 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.

setHideSelection

public void setHideSelection(boolean value)
Indicates whether selected text in the control appears highlighted when the control does not have focus.

isAutoTab/setAutoTab

public boolean isAutoTab() / public void setAutoTab(boolean value)
Indicates whether the focus will automatically move to the next control when the user enters the maximum number of characters.

setAutoTab

public void setAutoTab(boolean value)
Indicates whether the focus will automatically move to the next control when the user enters the maximum number of characters.

isMultiLine/setMultiLine

public boolean isMultiLine() / public void setMultiLine(boolean value)
Indicates whether the control can display more than one line of text.

setMultiLine

public void setMultiLine(boolean value)
Indicates whether the control can display more than one line of text.

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.

setAutoWordSelected

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.

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.

setWordWrapped

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

getText/setText

public java.lang.String getText() / public void setText(java.lang.String value)
Gets and set text of the control.

setText

public void setText(java.lang.String value)
Gets and set text of the control.

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.

setDropButtonStyle

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.

setShowDropButtonTypeWhen

public void setShowDropButtonTypeWhen(int value)
Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant.

isEnabled/setEnabled

→ inherited from ActiveXControl
public boolean isEnabled() / public void setEnabled(boolean value)
Indicates whether whether the control can receive the focus and respond to user-generated events.

setEnabled

→ inherited from ActiveXControl
public void setEnabled(boolean value)
Indicates whether whether the control can receive the focus and respond to user-generated events.

isLocked/setLocked

→ inherited from ActiveXControl
public boolean isLocked() / public void setLocked(boolean value)
Indicates whether data in the control is locked for editing.

setLocked

→ inherited from ActiveXControl
public void setLocked(boolean value)
Indicates whether data in the control is locked for editing.

isTransparent/setTransparent

→ inherited from ActiveXControl
public boolean isTransparent() / public void setTransparent(boolean value)
Indicates whether the control is transparent.

setTransparent

→ inherited from ActiveXControl
public void setTransparent(boolean value)
Indicates whether the control is transparent.

isAutoSize/setAutoSize

→ inherited from ActiveXControl
public boolean isAutoSize() / public void setAutoSize(boolean value)
Indicates whether the control will automatically resize to display its entire contents.

setAutoSize

→ inherited from ActiveXControl
public void setAutoSize(boolean value)
Indicates whether the control will automatically resize to display its entire contents.

getIMEMode/setIMEMode

→ inherited from ActiveXControl
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.

setIMEMode

→ inherited from ActiveXControl
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

→ inherited from ActiveXControl
public Font getFont()
Represents the font of the control.

getTextAlign/setTextAlign

→ inherited from ActiveXControl
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.

setTextAlign

→ inherited from ActiveXControl
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

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

getWorkbook

→ inherited from ActiveXControlBase
public Workbook getWorkbook()
Gets the Workbook object.

getWidth/setWidth

→ inherited from ActiveXControlBase
public double getWidth() / public void setWidth(double value)
Gets and sets the width of the control in unit of points.

setWidth

→ inherited from ActiveXControlBase
public void setWidth(double value)
Gets and sets the width of the control in unit of points.

getHeight/setHeight

→ inherited from ActiveXControlBase
public double getHeight() / public void setHeight(double value)
Gets and sets the height of the control in unit of points.

setHeight

→ inherited from ActiveXControlBase
public void setHeight(double value)
Gets and sets the height of the control in unit of points.

getMouseIcon/setMouseIcon

→ inherited from ActiveXControlBase
public byte[] getMouseIcon() / public void setMouseIcon(byte[] value)
Gets and sets a custom icon to display as the mouse pointer for the control.

setMouseIcon

→ inherited from ActiveXControlBase
public void setMouseIcon(byte[] value)
Gets and sets a custom icon to display as the mouse pointer for the control.

getMousePointer/setMousePointer

→ inherited from ActiveXControlBase
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.

setMousePointer

→ inherited from ActiveXControlBase
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

→ inherited from ActiveXControlBase
public int getForeOleColor() / public void setForeOleColor(int value)
Gets and sets the ole color of the foreground. Not applies to Image control.

setForeOleColor

→ inherited from ActiveXControlBase
public void setForeOleColor(int value)
Gets and sets the ole color of the foreground. Not applies to Image control.

getBackOleColor/setBackOleColor

→ inherited from ActiveXControlBase
public int getBackOleColor() / public void setBackOleColor(int value)
Gets and sets the ole color of the background.

setBackOleColor

→ inherited from ActiveXControlBase
public void setBackOleColor(int value)
Gets and sets the ole color of the background.

isVisible/setVisible

→ inherited from ActiveXControlBase
public boolean isVisible() / public void setVisible(boolean value)
Indicates whether this control is visible.

setVisible

→ inherited from ActiveXControlBase
public void setVisible(boolean value)
Indicates whether this control is visible.

getShadow/setShadow

→ inherited from ActiveXControlBase
public boolean getShadow() / public void setShadow(boolean value)
Indicates whether to show a shadow.

setShadow

→ inherited from ActiveXControlBase
public void setShadow(boolean value)
Indicates whether to show a shadow.

getLinkedCell/setLinkedCell

→ inherited from ActiveXControlBase
public java.lang.String getLinkedCell() / public void setLinkedCell(java.lang.String value)
Gets and sets the linked cell.

setLinkedCell

→ inherited from ActiveXControlBase
public void setLinkedCell(java.lang.String value)
Gets and sets the linked cell.

getListFillRange/setListFillRange

→ inherited from ActiveXControlBase
public java.lang.String getListFillRange() / public void setListFillRange(java.lang.String value)
Gets and sets the list fill fange..

setListFillRange

→ inherited from ActiveXControlBase
public void setListFillRange(java.lang.String value)
Gets and sets the list fill fange..

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.