MorphDataControl
Overview
MorphDataControl is a class in Aspose.Words FOSS for Java.
Inherits from: Forms2OleControl.
The MorphDataControl structure is an aggregate of six controls: CheckBox, ComboBox, ListBox, OptionButton, TextBox, and ToggleButton.
Edition status of its 32 listed members (a property and its accessor methods are listed separately, overloads once): 32 not yet exercised by a verified example.
This class declares 20 methods for MorphDataControl objects in Java programs.
Available methods include: getBackColor, getCaption, getChildNodes, getEnabled, getForeColor, getGroupName, getHeight, getName, getType, getValue, getWidth, isForms2OleControl, and 8 additional methods.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: backColor, caption, childNodes, enabled, foreColor, forms2OleControl, and 6 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
caption | String | Read/Write | Gets or sets a Caption property of the control. |
value | String | Read | Gets underlying Value property which often represents control state. |
enabled | boolean | Read | Returns true if control is in enabled state. |
childNodes | Forms2OleControlCollection | Read | Gets collection of immediate child controls. |
type | int | Read | Gets the type. |
groupName | String | Read/Write | Gets or sets a string that specifies a group of mutually exclusive controls. |
foreColor | Color | Read/Write | Gets or sets a foreground color of the control. |
backColor | Color | Read/Write | Gets or sets a background color of the control. |
width | double | Read/Write | Gets or sets a width of the control in points. |
height | double | Read/Write | Gets or sets a height of the control in points. |
name | String | Read/Write | Gets or sets name of the ActiveX control. |
forms2OleControl | boolean | Read | Returns true if the control is a Forms2OleControl. |
Methods
| Signature | Description |
|---|---|
getCaption() → String | Gets or sets a Caption property of the control. |
setCaption(value: String) | Sets the caption value. |
getValue() → String | Gets underlying Value property which often represents control state. |
getEnabled() → boolean | Returns true if control is in enabled state. |
getChildNodes() → Forms2OleControlCollection | Gets collection of immediate child controls. |
getType() → int | Returns the type. |
getGroupName() → String | Gets or sets a string that specifies a group of mutually exclusive controls. |
setGroupName(value: String) | Sets the group name value. |
getForeColor() → Color | Gets or sets a foreground color of the control. |
setForeColor(value: Color) | Sets the fore color value. |
getBackColor() → Color | Gets or sets a background color of the control. |
setBackColor(value: Color) | Sets the back color value. |
getWidth() → double | Gets or sets a width of the control in points. |
setWidth(value: double) | Sets the width value. |
getHeight() → double | Gets or sets a height of the control in points. |
setHeight(value: double) | Sets the height value. |
getName() → String | Gets or sets name of the ActiveX control. |
setName(value: String) | Sets the name value. |
isForms2OleControl() → boolean | Returns true if the control is a Forms2OleControl. |
saveForUser(stream: Stream, attrSource: IShapeAttrSource) | Saves the embedded object data in a way that makes it a valid standalone file. |