Forms2OleControlType

Forms2OleControlType

Overview

Forms2OleControlType is an enum in Aspose.Words FOSS for Java.

Enumerates types of Forms 2.0 controls.

Edition status of its 20 listed members (a property and its accessor methods are listed separately, overloads once): 20 not yet exercised by a verified example.

This enum declares 4 methods for Forms2OleControlType objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
OPTION_BUTTONA radio button control.
LABELA control that displays text.
TEXTBOXA control that allows the user to enter text.
CHECK_BOXA control that allows the user to select or deselect an option.
TOGGLE_BUTTONA control that allows the user to toggle between two states.
SPIN_BUTTONA control that allows the user to increase or decrease a value.
COMBO_BOXA control that allows the user to select an item from a list.
FRAMEA control that groups other controls.
MULTI_PAGEA control that displays multiple pages of content.
TAB_STRIPA control that allows the user to switch between multiple pages of content.
COMMAND_BUTTONA button that triggers an action when clicked.
IMAGEA control that displays an image.
SCROLL_BARA control that allows the user to scroll through content.
FORMA container for other controls.
LIST_BOXA control that displays a list of items.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of Forms2OleControlType values.

Methods

SignatureDescription
getName(forms2OleControlType: int) → StringReturns JAVA_STYLE string representation of integer Forms2OleControlType value.
toString(forms2OleControlType: int) → StringReturns DotNetStyle string representation of integer Forms2OleControlType value.
fromName(forms2OleControlTypeName: String) → intReturns integer representation by Forms2OleControlType name.
getValues() → int[]Returns array of Forms2OleControlType values.

See Also