com.aspose.words
Class Forms2OleControl

java.lang.Object
  extended by OleControl
      extended by com.aspose.words.Forms2OleControl

public abstract class Forms2OleControl 
extends OleControl

Represents Microsoft Forms 2.0 OLE control.

Property Getters/Setters Summary
java.lang.StringgetCaption()
           Gets Caption property of control. Default value is an empty string.
Forms2OleControlCollectiongetChildNodes()
           Gets collection of immediate child controls.
booleangetEnabled()
           Returns true if control is in enabled state.
booleanisForms2OleControl()→ inherited from OleControl
           Returns true if the control is a Forms2OleControl.
java.lang.StringgetName()→ inherited from OleControl
           Gets name of the ActiveX control.
intgetType()
           Gets type of Forms 2.0 control. The value of the property is Forms2OleControlType integer constant.
java.lang.StringgetValue()
           Gets underlying Value property which often represents control state. For example checked option button has '1' value while unchecked has '0'. Default value is an empty string.
 

Property Getters/Setters Detail

getCaption

public java.lang.String getCaption()
Gets Caption property of control. Default value is an empty string.

getChildNodes

public Forms2OleControlCollection getChildNodes()
Gets collection of immediate child controls. Returns null if this control can not have children.

getEnabled

public boolean getEnabled()
Returns true if control is in enabled state.

isForms2OleControl

→ inherited from OleControl
public boolean isForms2OleControl()
Returns true if the control is a Forms2OleControl.

getName

→ inherited from OleControl
public java.lang.String getName()
Gets name of the ActiveX control.

getType

public int getType()
Gets type of Forms 2.0 control. The value of the property is Forms2OleControlType integer constant.

getValue

public java.lang.String getValue()
Gets underlying Value property which often represents control state. For example checked option button has '1' value while unchecked has '0'. Default value is an empty string.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.