public class SimpleRadioButton extends SimpleRadioButton implements HasResponsiveness, HasId, HasPull, HasFormValue, HasChangeHandlers
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledDEBUG_ID_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
SimpleRadioButton(InputElement element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
|
SimpleRadioButton(String name)
Creates a new radio associated with a particular group name.
|
| Modifier and Type | Method and Description |
|---|---|
HandlerRegistration |
addChangeHandler(ChangeHandler handler) |
protected void |
ensureDomEventHandlers() |
String |
getId()
Gets the ID of the widget
|
Pull |
getPull() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setHiddenOn(DeviceSize deviceSize)
Sets the devices that the element is hidden on
|
void |
setId(String id)
Sets the ID on the widget
|
void |
setPull(Pull pull) |
void |
setVisibleOn(DeviceSize deviceSize)
Sets the devices that the element is visible on
|
static SimpleRadioButton |
wrap(Element element)
Creates a SimpleRadioButton widget that wraps an existing <input
type='radio'> element.
|
addValueChangeHandler, asEditor, getFormValue, getName, getValue, isChecked, onUnload, setChecked, setFormValue, setName, setValue, setValueaddBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addFocusListener, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getFocusImpl, getTabIndex, onAttach, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey, setFocus, setTabIndexaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFormValue, setFormValuefireEvent@UiConstructor public SimpleRadioButton(String name)
name - the group name with which to associate the radio buttonprotected SimpleRadioButton(InputElement element)
element - the element to be usedpublic static SimpleRadioButton wrap(Element element)
RootPanel.detachNow(Widget).element - the element to be wrappedpublic HandlerRegistration addChangeHandler(ChangeHandler handler)
addChangeHandler in interface HasChangeHandlerspublic void setEnabled(boolean enabled)
setEnabled in interface HasEnabledsetEnabled in class SimpleCheckBoxpublic boolean isEnabled()
isEnabled in interface HasEnabledisEnabled in class FocusWidgetpublic void setVisibleOn(DeviceSize deviceSize)
setVisibleOn in interface HasResponsivenessdeviceSize - device sizeDeviceSizepublic void setHiddenOn(DeviceSize deviceSize)
setHiddenOn in interface HasResponsivenessdeviceSize - device sizesDeviceSizeprotected void ensureDomEventHandlers()
ensureDomEventHandlers in class SimpleCheckBoxCopyright © 2017. All rights reserved.