CommandButtonActiveXControl

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

public class CommandButtonActiveXControl extends ActiveXControl

Represents a command button.

Methods

Method Description
equals(Object arg0)
getAccelerator() the accelerator key for the control.
getBackOleColor() the ole color of the background.
getCaption() the descriptive text that appears on a control.
getClass()
getData() the binary data of the control.
getForeOleColor() the ole color of the foreground.
getHeight() the height of the control in unit of points.
getIMEMode() the default run-time mode of the Input Method Editor for the control as it receives focus.
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.
getPicture() the data of the picture.
getPicturePosition() the location of the control’s picture relative to its caption.
getTakeFocusOnClick() Inidcates whether the control takes the focus when clicked.
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.
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.
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()
setAccelerator(char value) For the description of this property, please see getAccelerator()
setAutoSize(boolean value) For the description of this property, please see isAutoSize()
setBackOleColor(int value) For the description of this property, please see getBackOleColor()
setCaption(String value) For the description of this property, please see getCaption()
setEnabled(boolean value) For the description of this property, please see isEnabled()
setForeOleColor(int value) For the description of this property, please see getForeOleColor()
setHeight(double value) For the description of this property, please see getHeight()
setIMEMode(int value) For the description of this property, please see getIMEMode()
setLocked(boolean value) For the description of this property, please see isLocked()
setMouseIcon(byte[] value) For the description of this property, please see getMouseIcon()
setMousePointer(int value) For the description of this property, please see getMousePointer()
setPicture(byte[] value) For the description of this property, please see getPicture()
setPicturePosition(int value) For the description of this property, please see getPicturePosition()
setTakeFocusOnClick(boolean value) For the description of this property, please see getTakeFocusOnClick()
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

getAccelerator()

public char getAccelerator()

the accelerator key for the control.

Returns: char

getBackOleColor()

public int getBackOleColor()

the ole color of the background.

Returns: int

getCaption()

public String getCaption()

the descriptive text that appears on a control.

Returns: java.lang.String

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getData()

public byte[] getData()

the binary data of the control.

Returns: byte[]

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

getIMEMode()

public int getIMEMode()

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

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

getPicture()

public byte[] getPicture()

the data of the picture.

Returns: byte[]

getPicturePosition()

public int getPicturePosition()

the location of the control’s picture relative to its caption.

Returns: int

getTakeFocusOnClick()

public boolean getTakeFocusOnClick()

Inidcates whether the control takes the focus when clicked.

Returns: boolean

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

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

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()

setAccelerator(char value)

public void setAccelerator(char value)

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

Parameters:

Parameter Type Description
value char

setAutoSize(boolean value)

public void setAutoSize(boolean value)

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

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

setCaption(String value)

public void setCaption(String value)

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

Parameters:

Parameter Type Description
value java.lang.String

setEnabled(boolean value)

public void setEnabled(boolean value)

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

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

setIMEMode(int value)

public void setIMEMode(int value)

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

Parameters:

Parameter Type Description
value int

setLocked(boolean value)

public void setLocked(boolean value)

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

Parameters:

Parameter Type Description
value boolean

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

setPicture(byte[] value)

public void setPicture(byte[] value)

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

Parameters:

Parameter Type Description
value byte[]

setPicturePosition(int value)

public void setPicturePosition(int value)

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

Parameters:

Parameter Type Description
value int

setTakeFocusOnClick(boolean value)

public void setTakeFocusOnClick(boolean value)

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

Parameters:

Parameter Type Description
value boolean

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