public class AemRadioGroup extends Object implements Iterable<AemRadioOption>, Configurable
| Constructor and Description |
|---|
AemRadioGroup() |
| Modifier and Type | Method and Description |
|---|---|
AemRadioOption |
getSelected() |
String |
getSelectedValue() |
boolean |
isAnySelected() |
Iterator<AemRadioOption> |
iterator() |
AemRadioGroup |
selectByLabel(String label)
Searches for the option by the label and selects it.
|
AemRadioGroup |
selectByValue(String value)
Searches for the option by the option's value and selects it.
|
void |
setValue(String value)
Sets the value in AemElement.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic AemRadioOption getSelected()
public boolean isAnySelected()
public AemRadioGroup selectByLabel(String label)
label - radio group labelpublic AemRadioGroup selectByValue(String value)
value - option's valuepublic String getSelectedValue()
public Iterator<AemRadioOption> iterator()
iterator in interface Iterable<AemRadioOption>public void setValue(String value)
ConfigurablesetValue in interface Configurablevalue - configuration value to be setCopyright © 2016–2018 Cognifide Ltd.. All rights reserved.