ToggleButtonActiveXControl

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

public class ToggleButtonActiveXControl extends ActiveXControl

Represents a ToggleButton ActiveX control.

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.
getSpecialEffect() the special effect of the control.
getType() Gets the type of the ActiveX control.
getValue() Indicates if the control is checked or not.
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.
isTripleState() Indicates how the specified control will display Null values.
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()
setSpecialEffect(int value) For the description of this property, please see getSpecialEffect()
setTransparent(boolean value) For the description of this property, please see isTransparent()
setTripleState(boolean value) For the description of this property, please see isTripleState()
setValue(int value) For the description of this property, please see getValue()
setWidth(double value) For the description of this property, please see getWidth()
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

getSpecialEffect()

public int getSpecialEffect()

the special effect of the control.

Returns: int

getType()

public int getType()

Gets the type of the ActiveX control.

Returns: int

getValue()

public int getValue()

Indicates if the control is checked or not.

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

isTripleState()

public boolean isTripleState()

Indicates how the specified control will display Null values.

| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Setting | Description                                                                                                                                     |
| True    | The control will cycle through states for Yes, No, and Null values. The control appears dimmed (grayed) when its Value property is set to Null. |
| False   | (Default) The control will cycle through states for Yes and No values. Null values display as if they were No values.                           |

|

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

setSpecialEffect(int value)

public void setSpecialEffect(int value)

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

Parameters:

Parameter Type Description
value int

setTransparent(boolean value)

public void setTransparent(boolean value)

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

Parameters:

Parameter Type Description
value boolean

setTripleState(boolean value)

public void setTripleState(boolean value)

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

Parameters:

Parameter Type Description
value boolean

setValue(int value)

public void setValue(int value)

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

Parameters:

Parameter Type Description
value int

setWidth(double value)

public void setWidth(double value)

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

Parameters:

Parameter Type Description
value double

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