Members for Control Class
The table lists the members for the Control class.
Control Class
Property | Return Value | Description | Read Only |
---|---|---|---|
className |
String | Returns custom CSS classnames set on the control. The value may be null, a single CSS classname, or a space-separated list of CSS classnames that are applied to the root level of the form. The value replaces any previously set classname. | |
controlType |
String | Returns the control type of this control (for example, com.tibco.forms.controls.textbox). | Y |
customComponentName |
String | Returns the fully-qualified control type name as defined in the component library for the given control. If the control is not a custom control, the method returns null. | Y |
enabled |
Boolean | Retrieves the enabled flag for this control. | |
form |
Form | Returns the form to which this control belongs. | Y |
hint |
String | Retrieves the hint for this control. | |
label |
String | Retrieves the label for this control. | |
link |
String | Returns the URL used by a hyperlink control. | |
linkText |
String | Returns the visible text rendered by a hyperlink control. | |
optionLabels |
String[] | Returns an array of choice labels displayed by a radiogroup or optionlist control. | |
optionValues |
String[] | Returns an array of choice values offered by a radiogroup or optionlist control. | |
name |
String | Returns the name of this control. | Y |
parent |
Pane | Returns the parent pane object to which this control belongs. | Y |
readOnly |
Boolean | Returns the read-only state of this control. | |
reallyEnabled |
Boolean | The enabled setting of a control is controlled both by its own enabled property, and the enabled properties of any of its ancestors. If the parent pane of a control is disabled, then reallyEnabled returns false for that control. The method returns true only if it's own enabled property is true and all of its ancestor's enabled properties are set to true. | Y |
reallyReadOnly |
Boolean |
The readOnly setting of a control is controlled both by its own readOnly property, and the readOnly properties of any of its ancestors. If the parent pane of a control is not read only, then reallyReadOnly returns false for that control. The method returns true everytime it's own readOnly property is true or any of its ancestor's readOnly property is true. |
Y |
reallyVisible |
Boolean | The visibility of a control is controlled both by its own visibility property, and the visibility properties of any of its ancestors. If the parent pane of a control is not visible, then reallyVisible returns false for that control. The method returns true only if it's own visibility property is true and all of its ancestor's visibility properties are set to true. | Y |
required |
Boolean | Retrieves or sets the required flag for this control. | |
tabIndex |
Number | Returns the tab index setting configured on the control, or 0 if it is not set. This is useful for custom controls that support the setting of the tab index in their HTML markup. | Y |
url |
String | Returns the URL used by an image control. | |
value |
Object | Retrieves the value of this control.
This is a native JavaScript Boolean, Date, String or Number value depending on the control type. Controls configured for list editing or multi-select drop-down lists return an array of the underlying control value type. Date, Time, and DateTime controls return a Date object. Checkbox controls return a Boolean. Numeric text input controls return a Number. All others return String. |
|
visible |
Boolean | Retrieves the visible flag for this control. |