public class RadioButton extends Input
Input.Type| Constructor and Description |
|---|
RadioButton() |
| Modifier and Type | Method and Description |
|---|---|
RadioButton |
assignChecked(boolean checked)
Set "checked" property without script call.
|
void |
drawAttributes() |
protected Input.Type |
getType()
Specifies the type of an input element.
|
boolean |
isChecked()
Specifies that an input element should be preselected when the page loads
and state of the element.
|
RadioButton |
setChecked(boolean checked)
Set "checked" property and if element was draw call script at browser.
|
assignValue, getName, getPlaceholder, getValue, isDisabled, isReadOnly, setDisabled, setName, setPlaceholder, setReadOnly, setValueadd, addAllDropTargets, addDropTarget, addListener, addStyleClass, alert, assignText, callBack, callBack, callScript, clearDropTargets, clearElements, clearElements, confirm, confirm, drawAttribute, findElement, findParent, findViewElements, fireEvent, fireEvent, fireEventOnView, fireEventOnView, firePropertyChange, focus, getApplication, getBundle, getBundleObject, getCustomDragMove, getDir, getDragDropEventsOptions, getDropTargets, getElements, getElements, getEventListeners, getId, getLang, getParent, getStyle, getStyleClass, getTabIndex, getText, getTitle, insert, isChildrenSetChanged, isContenteditable, isDraggable, isDrawn, isEscapeText, isListening, isListening, isListening, print, prompt, prompt, remove, remove, removeAttribute, removeDropTarget, removeListener, removeListener, removeParent, removeStyleClass, replace, replaceStyleClass, retrieveListeners, retrieveListeners, setChangeChildrenSet, setContenteditable, setCustomDragMove, setDir, setDragDropEventsOptions, setDraggable, setDrawn, setEscapeText, setLang, setParent, setStyle, setStyleClass, setTabIndex, setText, setTitle, transformTagName@InitializeAttributes public void drawAttributes()
drawAttributes in class Inputprotected Input.Type getType()
Inputpublic boolean isChecked()
public RadioButton setChecked(boolean checked)
checked - the checked to set. Call set "checked" property of element at
browser.public RadioButton assignChecked(boolean checked)
checked - boolean if checked