const classafBounce::RadioButton

sys::Obj
  afBounce::Element
    afBounce::RadioButton

(HTML Element) Represents a form <input> of type radio.

allButtons

Source

RadioButton[] allButtons()

Returns all radio buttons in the containing form that have the same name as this one.

checked

Source

Bool checked

Gets and sets the checked attribute. If setting to true, all other options are set to false.

checkedButton

Source

RadioButton? checkedButton()

Return the currently checked radio button. Returns null if no button is checked.

disabled

Source

Bool disabled

Gets and sets the disabled attribute.

enabled

Source

Bool enabled

Gets and sets the disabled attribute (inverted).

findByValue

Source

RadioButton? findByValue(Obj value)

Return the radio button with the given value. Returns null if a match could not be found.

makeFromCss

Source

new makeFromCss(Str cssSelector)

name

Source

Str? name()

Returns the name attribute.

value

Source

Str? value

Gets and sets the value attribute. Returns null if the value has not been set.

verifyChecked

Source

Void verifyChecked()

Verify the option is checked.

verifyNotChecked

Source

Void verifyNotChecked()

Verify the option is NOT checked.

verifyValueEq

Source

Void verifyValueEq(Obj expected)

Verify that the hidden element has the given value.