Constructors
HtmlElement()
Methods
clearValue()
Clears any selected values from elements that support this property.getFieldValue(String)
Returns the value of a specific field.getNextTabIndex()
Increments the index counter and returns.The HTML tabindex attribute specifies the tab order of an element. It determines the sequence of entering fields with Tab or Shift+Tab.
getTabIndexString()
Retrieves the tabulator index string of the element A variant of <code>getTabIndexString()</code> that omits element ID if it is the 1st element.The HTML tabindex attribute specifies the tab order of an element. It determines the sequence of entering fields with Tab or Shift+Tab.
getTabIndexString(Bool)
Retrieves the tabulator index string of the element and omits element ID if it is the 1st element.The HTML tabindex attribute specifies the tab order of an element. It determines the sequence of entering fields with Tab or Shift+Tab.
getTypeName()
Returns the element type. For example, HtmlAnchorLine or HtmlGrid.Look up specific elements in the bLogic screen element reference.
isEmpty()
Returns true if the HtmlElement says it is empty.That an element is empty means different things depending on the element type. For example, a list element should be empty if it has no rows, but a code element should be empty if it contains no text.
setDisabled(Bool)
Toggles whether the element is visible or invisible.Commonly used in combination with role-based access.
setErrorMessage(String)
Sets an error message above the element if the form is posted.Used to inform users that something went wrong and attempt to help them out.
setFieldValue(String,Map)
Sets one or more field values on an element.setFromCgi()
Called when the element should find its values from the CGI variables.Commonly used for screens containing forms.
setInfoMessage(String)
Sets an info message above the element if the form is posted.Used to display the text of a purely informative nature.
setNotEditable(Bool)
Toggles whether the element can be edited (for those elements that support this property).Commonly used in combination with role-based access.Available from 3.1.8.36