MorphDataControl

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

NameTypeAccessDescription
captionStringRead/WriteGets or sets a Caption property of the control.
valueStringReadGets underlying Value property which often represents control state.
enabledbooleanReadReturns true if control is in enabled state.
childNodesForms2OleControlCollectionReadGets collection of immediate child controls.
typeintReadGets the type.
groupNameStringRead/WriteGets or sets a string that specifies a group of mutually exclusive controls.
foreColorColorRead/WriteGets or sets a foreground color of the control.
backColorColorRead/WriteGets or sets a background color of the control.
widthdoubleRead/WriteGets or sets a width of the control in points.
heightdoubleRead/WriteGets or sets a height of the control in points.
nameStringRead/WriteGets or sets name of the ActiveX control.
forms2OleControlbooleanReadReturns true if the control is a Forms2OleControl.

Methods

SignatureDescription
getCaption() → StringGets or sets a Caption property of the control.
setCaption(value: String)Sets the caption value.
getValue() → StringGets underlying Value property which often represents control state.
getEnabled() → booleanReturns true if control is in enabled state.
getChildNodes() → Forms2OleControlCollectionGets collection of immediate child controls.
getType() → intReturns the type.
getGroupName() → StringGets or sets a string that specifies a group of mutually exclusive controls.
setGroupName(value: String)Sets the group name value.
getForeColor() → ColorGets or sets a foreground color of the control.
setForeColor(value: Color)Sets the fore color value.
getBackColor() → ColorGets or sets a background color of the control.
setBackColor(value: Color)Sets the back color value.
getWidth() → doubleGets or sets a width of the control in points.
setWidth(value: double)Sets the width value.
getHeight() → doubleGets or sets a height of the control in points.
setHeight(value: double)Sets the height value.
getName() → StringGets or sets name of the ActiveX control.
setName(value: String)Sets the name value.
isForms2OleControl() → booleanReturns 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.

See Also