TextBoxActiveXControl

Inheritance: java.lang.Object, com.aspose.diagram.ActiveXControlBase, com.aspose.diagram.ActiveXControl

public class TextBoxActiveXControl extends ActiveXControl

Represents a text box ActiveX control.

Methods

Method Description
equals(Object arg0)
getBackOleColor() the ole color of the background.
getBorderOleColor() the ole color of the background.
getBorderStyle() the type of border used by the control.
getClass()
getData() the binary data of the control.
getDropButtonStyle() Specifies the symbol displayed on the drop button
getEnterFieldBehavior() Specifies selection behavior when entering the control.
getEnterKeyBehavior() Specifies the behavior of the ENTER key.
getForeOleColor() the ole color of the foreground.
getHeight() the height of the control in unit of points.
getHideSelection() Indicates whether selected text in the control appears highlighted when the control does not have focus.
getIMEMode() the default run-time mode of the Input Method Editor for the control as it receives focus.
getIntegralHeight() Indicates whether the control will only show complete lines of text without showing any partial lines.
getMaxLength() the maximum number of characters
getMouseIcon() a custom icon to display as the mouse pointer for the control.
getMousePointer() the type of icon displayed as the mouse pointer for the control.
getPasswordChar() a character to be displayed in place of the characters entered.
getScrollBars() Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither.
getShowDropButtonTypeWhen() Specifies the symbol displayed on the drop button
getSpecialEffect() the special effect of the control.
getTabKeyBehavior() Indicates whether tab characters are allowed in the text of the control.
getText() text of the control.
getType() Gets the type of the ActiveX control.
getWidth() the width of the control in unit of point.
hashCode()
isAutoSize() Indicates whether the control will automatically resize to display its entire contents.
isAutoTab() Indicates whether the focus will automatically move to the next control when the user enters the maximum number of characters.
isAutoWordSelected() Specifies the basic unit used to extend a selection.
isDragBehaviorEnabled() Indicates whether dragging and dropping is enabled for the control.
isEditable() Indicates whether the user can type into the control.
isEnabled() Indicates whether the control can receive the focus and respond to user-generated events.
isLocked() Indicates whether data in the control is locked for editing.
isMultiLine() Indicates whether the control can display more than one line of text.
isTransparent() Indicates whether the control is transparent.
isWordWrapped() Indicates whether the contents of the control automatically wrap at the end of a line.
notify()
notifyAll()
setAutoSize(boolean value) For the description of this property, please see isAutoSize()
setAutoTab(boolean value) For the description of this property, please see isAutoTab()
setAutoWordSelected(boolean value) For the description of this property, please see isAutoWordSelected()
setBackOleColor(int value) For the description of this property, please see getBackOleColor()
setBorderOleColor(int value) For the description of this property, please see getBorderOleColor()
setBorderStyle(int value) For the description of this property, please see getBorderStyle()
setDragBehaviorEnabled(boolean value) For the description of this property, please see isDragBehaviorEnabled()
setDropButtonStyle(int value) For the description of this property, please see getDropButtonStyle()
setEditable(boolean value) For the description of this property, please see isEditable()
setEnabled(boolean value) For the description of this property, please see isEnabled()
setEnterFieldBehavior(boolean value) For the description of this property, please see getEnterFieldBehavior()
setEnterKeyBehavior(boolean value) For the description of this property, please see getEnterKeyBehavior()
setForeOleColor(int value) For the description of this property, please see getForeOleColor()
setHeight(double value) For the description of this property, please see getHeight()
setHideSelection(boolean value) For the description of this property, please see getHideSelection()
setIMEMode(int value) For the description of this property, please see getIMEMode()
setIntegralHeight(boolean value) For the description of this property, please see getIntegralHeight()
setLocked(boolean value) For the description of this property, please see isLocked()
setMaxLength(int value) For the description of this property, please see getMaxLength()
setMouseIcon(byte[] value) For the description of this property, please see getMouseIcon()
setMousePointer(int value) For the description of this property, please see getMousePointer()
setMultiLine(boolean value) For the description of this property, please see isMultiLine()
setPasswordChar(char value) For the description of this property, please see getPasswordChar()
setScrollBars(int value) For the description of this property, please see getScrollBars()
setShowDropButtonTypeWhen(int value) For the description of this property, please see getShowDropButtonTypeWhen()
setSpecialEffect(int value) For the description of this property, please see getSpecialEffect()
setTabKeyBehavior(boolean value) For the description of this property, please see getTabKeyBehavior()
setText(String value) For the description of this property, please see getText()
setTransparent(boolean value) For the description of this property, please see isTransparent()
setWidth(double value) For the description of this property, please see getWidth()
setWordWrapped(boolean value) For the description of this property, please see isWordWrapped()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getBackOleColor()

public int getBackOleColor()

the ole color of the background.

Returns: int

getBorderOleColor()

public int getBorderOleColor()

the ole color of the background.

Returns: int

getBorderStyle()

public int getBorderStyle()

the type of border used by the control.

Returns: int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getData()

public byte[] getData()

the binary data of the control.

Returns: byte[]

getDropButtonStyle()

public int getDropButtonStyle()

Specifies the symbol displayed on the drop button

Returns: int

getEnterFieldBehavior()

public boolean getEnterFieldBehavior()

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.

Returns: boolean

getEnterKeyBehavior()

public boolean getEnterKeyBehavior()

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.

Returns: boolean

getForeOleColor()

public int getForeOleColor()

the ole color of the foreground. Not applies to Image control.

Returns: int

getHeight()

public double getHeight()

the height of the control in unit of points.

Returns: double

getHideSelection()

public boolean getHideSelection()

Indicates whether selected text in the control appears highlighted when the control does not have focus.

Returns: boolean

getIMEMode()

public int getIMEMode()

the default run-time mode of the Input Method Editor for the control as it receives focus.

Returns: int

getIntegralHeight()

public boolean getIntegralHeight()

Indicates whether the control will only show complete lines of text without showing any partial lines.

Returns: boolean

getMaxLength()

public int getMaxLength()

the maximum number of characters

Returns: int

getMouseIcon()

public byte[] getMouseIcon()

a custom icon to display as the mouse pointer for the control.

Returns: byte[]

getMousePointer()

public int getMousePointer()

the type of icon displayed as the mouse pointer for the control.

Returns: int

getPasswordChar()

public char getPasswordChar()

a character to be displayed in place of the characters entered.

Returns: char

getScrollBars()

public int getScrollBars()

Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither.

Returns: int

getShowDropButtonTypeWhen()

public int getShowDropButtonTypeWhen()

Specifies the symbol displayed on the drop button

Returns: int

getSpecialEffect()

public int getSpecialEffect()

the special effect of the control.

Returns: int

getTabKeyBehavior()

public boolean getTabKeyBehavior()

Indicates whether tab characters are allowed in the text of the control.

Returns: boolean

getText()

public String getText()

text of the control.

Returns: java.lang.String

getType()

public int getType()

Gets the type of the ActiveX control.

Returns: int

getWidth()

public double getWidth()

the width of the control in unit of point.

Returns: double

hashCode()

public native int hashCode()

Returns: int

isAutoSize()

public boolean isAutoSize()

Indicates whether the control will automatically resize to display its entire contents.

Returns: boolean

isAutoTab()

public boolean isAutoTab()

Indicates whether the focus will automatically move to the next control when the user enters the maximum number of characters.

Returns: boolean

isAutoWordSelected()

public boolean isAutoWordSelected()

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.

Returns: boolean

isDragBehaviorEnabled()

public boolean isDragBehaviorEnabled()

Indicates whether dragging and dropping is enabled for the control.

Returns: boolean

isEditable()

public boolean isEditable()

Indicates whether the user can type into the control.

Returns: boolean

isEnabled()

public boolean isEnabled()

Indicates whether the control can receive the focus and respond to user-generated events.

Returns: boolean

isLocked()

public boolean isLocked()

Indicates whether data in the control is locked for editing.

Returns: boolean

isMultiLine()

public boolean isMultiLine()

Indicates whether the control can display more than one line of text.

Returns: boolean

isTransparent()

public boolean isTransparent()

Indicates whether the control is transparent.

Returns: boolean

isWordWrapped()

public boolean isWordWrapped()

Indicates whether the contents of the control automatically wrap at the end of a line.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAutoSize(boolean value)

public void setAutoSize(boolean value)

For the description of this property, please see isAutoSize()

Parameters:

Parameter Type Description
value boolean

setAutoTab(boolean value)

public void setAutoTab(boolean value)

For the description of this property, please see isAutoTab()

Parameters:

Parameter Type Description
value boolean

setAutoWordSelected(boolean value)

public void setAutoWordSelected(boolean value)

For the description of this property, please see isAutoWordSelected()

Parameters:

Parameter Type Description
value boolean

setBackOleColor(int value)

public void setBackOleColor(int value)

For the description of this property, please see getBackOleColor()

Parameters:

Parameter Type Description
value int

setBorderOleColor(int value)

public void setBorderOleColor(int value)

For the description of this property, please see getBorderOleColor()

Parameters:

Parameter Type Description
value int

setBorderStyle(int value)

public void setBorderStyle(int value)

For the description of this property, please see getBorderStyle()

Parameters:

Parameter Type Description
value int

setDragBehaviorEnabled(boolean value)

public void setDragBehaviorEnabled(boolean value)

For the description of this property, please see isDragBehaviorEnabled()

Parameters:

Parameter Type Description
value boolean

setDropButtonStyle(int value)

public void setDropButtonStyle(int value)

For the description of this property, please see getDropButtonStyle()

Parameters:

Parameter Type Description
value int

setEditable(boolean value)

public void setEditable(boolean value)

For the description of this property, please see isEditable()

Parameters:

Parameter Type Description
value boolean

setEnabled(boolean value)

public void setEnabled(boolean value)

For the description of this property, please see isEnabled()

Parameters:

Parameter Type Description
value boolean

setEnterFieldBehavior(boolean value)

public void setEnterFieldBehavior(boolean value)

For the description of this property, please see getEnterFieldBehavior()

Parameters:

Parameter Type Description
value boolean

setEnterKeyBehavior(boolean value)

public void setEnterKeyBehavior(boolean value)

For the description of this property, please see getEnterKeyBehavior()

Parameters:

Parameter Type Description
value boolean

setForeOleColor(int value)

public void setForeOleColor(int value)

For the description of this property, please see getForeOleColor()

Parameters:

Parameter Type Description
value int

setHeight(double value)

public void setHeight(double value)

For the description of this property, please see getHeight()

Parameters:

Parameter Type Description
value double

setHideSelection(boolean value)

public void setHideSelection(boolean value)

For the description of this property, please see getHideSelection()

Parameters:

Parameter Type Description
value boolean

setIMEMode(int value)

public void setIMEMode(int value)

For the description of this property, please see getIMEMode()

Parameters:

Parameter Type Description
value int

setIntegralHeight(boolean value)

public void setIntegralHeight(boolean value)

For the description of this property, please see getIntegralHeight()

Parameters:

Parameter Type Description
value boolean

setLocked(boolean value)

public void setLocked(boolean value)

For the description of this property, please see isLocked()

Parameters:

Parameter Type Description
value boolean

setMaxLength(int value)

public void setMaxLength(int value)

For the description of this property, please see getMaxLength()

Parameters:

Parameter Type Description
value int

setMouseIcon(byte[] value)

public void setMouseIcon(byte[] value)

For the description of this property, please see getMouseIcon()

Parameters:

Parameter Type Description
value byte[]

setMousePointer(int value)

public void setMousePointer(int value)

For the description of this property, please see getMousePointer()

Parameters:

Parameter Type Description
value int

setMultiLine(boolean value)

public void setMultiLine(boolean value)

For the description of this property, please see isMultiLine()

Parameters:

Parameter Type Description
value boolean

setPasswordChar(char value)

public void setPasswordChar(char value)

For the description of this property, please see getPasswordChar()

Parameters:

Parameter Type Description
value char

setScrollBars(int value)

public void setScrollBars(int value)

For the description of this property, please see getScrollBars()

Parameters:

Parameter Type Description
value int

setShowDropButtonTypeWhen(int value)

public void setShowDropButtonTypeWhen(int value)

For the description of this property, please see getShowDropButtonTypeWhen()

Parameters:

Parameter Type Description
value int

setSpecialEffect(int value)

public void setSpecialEffect(int value)

For the description of this property, please see getSpecialEffect()

Parameters:

Parameter Type Description
value int

setTabKeyBehavior(boolean value)

public void setTabKeyBehavior(boolean value)

For the description of this property, please see getTabKeyBehavior()

Parameters:

Parameter Type Description
value boolean

setText(String value)

public void setText(String value)

For the description of this property, please see getText()

Parameters:

Parameter Type Description
value java.lang.String

setTransparent(boolean value)

public void setTransparent(boolean value)

For the description of this property, please see isTransparent()

Parameters:

Parameter Type Description
value boolean

setWidth(double value)

public void setWidth(double value)

For the description of this property, please see getWidth()

Parameters:

Parameter Type Description
value double

setWordWrapped(boolean value)

public void setWordWrapped(boolean value)

For the description of this property, please see isWordWrapped()

Parameters:

Parameter Type Description
value boolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int