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
| Value | Description |
|---|---|
OPTION_BUTTON | A radio button control. |
LABEL | A control that displays text. |
TEXTBOX | A control that allows the user to enter text. |
CHECK_BOX | A control that allows the user to select or deselect an option. |
TOGGLE_BUTTON | A control that allows the user to toggle between two states. |
SPIN_BUTTON | A control that allows the user to increase or decrease a value. |
COMBO_BOX | A control that allows the user to select an item from a list. |
FRAME | A control that groups other controls. |
MULTI_PAGE | A control that displays multiple pages of content. |
TAB_STRIP | A control that allows the user to switch between multiple pages of content. |
COMMAND_BUTTON | A button that triggers an action when clicked. |
IMAGE | A control that displays an image. |
SCROLL_BAR | A control that allows the user to scroll through content. |
FORM | A container for other controls. |
LIST_BOX | A control that displays a list of items. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of Forms2OleControlType values. |
Methods
| Signature | Description |
|---|---|
getName(forms2OleControlType: int) → String | Returns JAVA_STYLE string representation of integer Forms2OleControlType value. |
toString(forms2OleControlType: int) → String | Returns DotNetStyle string representation of integer Forms2OleControlType value. |
fromName(forms2OleControlTypeName: String) → int | Returns integer representation by Forms2OleControlType name. |
getValues() → int[] | Returns array of Forms2OleControlType values. |